Привет! Я точно следовал руководству по bind mounts, шаг за шагом, ссылка: , но получаю такую ошибку: lxc-start -F -n 100 lxc-start: 100: ../src/lxc/idmap_utils.c: lxc_map_ids: 245 newuidmap failed to write mapping "newuidmap: write to uid_map failed: Invalid argument": newuidmap 34361 0 100000 1005 0 100000 1005 lxc-start: 100: ../src/lxc/start.c: lxc_spawn: 1795 Failed to set up id mapping. lxc-start: 100: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "100" lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start lxc-start: 100: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options Кажется, проблема с UID-разрешениями. Вот мой полный конфигурационный файл: # uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s> # мы отображаем 1 UID, начиная с UID 1005, на 1005, так 1005 %E2%86%92 1005 # мы отображаем остальные 65535 от 1006 до 101006, так 1006..65535 %E2%86%92 101006..165535 # uid map%3A from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), s> # мы отображаем 1 UID, начиная с UID 1005, на 1005, так 1005 %E2%86%92 1005 # мы отображаем остальные 65535 от 1006 до 101006, так 1006..65535 %E2%86%92 101006..165535 arch: amd64 cores: 1 features: nesting=1 hostname: CT100 memory: 2048 mp0: /mnt/big_bertha/samba/movie_share,mp=/mnt/movie_share net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:46:29:C8,ip=dhcp,ip6=dhcp,type=veth ostype: archlinux rootfs: big_bertha:100/vm-100-disk-0.raw,size=8G swap: 2048 tags: jellyfin unprivileged: 1 lxc.idmap: u 0 100000 1005 lxc.idmap: g 0 100000 1005 lxc.idmap: u 1005 1005 1 lxc.idmap: g 1005 1005 1 lxc.idmap: u 1006 101006 64530 lxc.idmap: g 1006 101006 64530
[РЕШЕНО][РЕШЕНО] Разрешения для bind mount не работают., Proxmox Виртуальная Среда
|
29.05.2025 11:15:00
|
|
|
|
|
|
29.05.2025 18:11:00
Вверх!
|
|
|
|
|
|
31.05.2025 23:44:00
Я это исправил, случайно пропустил часть вики.
|
|
|
|
|
|
05.06.2025 00:25:00
Я на самом деле использую совершенно другой метод, который даже проще, на будущее, если кто-то найдёт эту тему:
|
||||
|
|
|
|||
Читают тему
