/etc/subuid и /etc/subgid, что вызвало сбой при старте контейнера.
Problem Title: Brief description of the problem: Describe the scenario where a specific operation is performed that leads to the occurrence of the problem (try to use positive expression form)
Environment Details:
Android
Steps to Reproduce Problem:
visual run -tid --user-remap xxxx:xxxx:65535 --system-container --external-rootfs xxxx none xxxx
Reproducibility: always
Expected Result:
Successful container launch
Actual Result:
Container does not start
Error opening file /etc/subuid in utils.c:lcr_util_atomic_write_file:1242
Mitigation:
In an Android environment, files /etc/subuid and /etc/subgid are missing. Handling subid in the function trans_one_oci_id_mapping in conf.c can be enclosed in the macro ANDROID, which resolves this issue.
Вход Перед тем как оставить комментарий