Re: непривелигерованный контейнер lxc в бустер
Привет
не помогло
В Thu, 11 Feb 2021 15:08:43 +0700
Andrey Lu <a2l@ngs.ru> пишет:
> А так работает:
> $ lxc-create -n cname -t download -- -r buster -d debian -a amd64
...
> Попробуй вызвать lxc-create c --logfile и --logpriority
$ lxc-create --logfile=lxc.log --logpriority=DEBUG -n cname -t download -- -r buster -d debian -a amd64
lxc-create: cname: conf.c: chown_mapped_root: 3250 lxc-usernsexec failed: No such file or directory - Failed to open ttyNo such file or directory - Failed to open ttyNo space left on device - Failed to unshare mount and user namespac
lxc-create: cname: tools/lxc_create.c: main: 327 Failed to create container cname
$ cat lxc.log
lxc-create cname 20210216212727.879 INFO confile - confile.c:set_config_idmaps:1605 - Read uid map: type u nsid 0 hostid 296608 range 65536
lxc-create cname 20210216212727.879 INFO confile - confile.c:set_config_idmaps:1605 - Read uid map: type g nsid 0 hostid 296608 range 65536
lxc-create cname 20210216212727.879 DEBUG conf - conf.c:chown_mapped_root:3190 - trying to chown "/home/lxcuser/.local/share/lxc/cname" to 1003
lxc-create cname 20210216212727.908 ERROR conf - conf.c:chown_mapped_root:3250 - lxc-usernsexec failed: No such file or directory - Failed to open ttyNo such file or directory - Failed to open ttyNo space left on device - Failed to unshare mount and user namespac
lxc-create cname 20210216212727.908 ERROR lxc_create -
tools/lxc_create.c:main:327 - Failed to create container cname
Настораживает "No space left on device" - место вполне есть
--
С уважением, Сергей Спиридонов
Reply to: