[lxc-users] lxc-start: cgroups/cgfs.c: do_setup_cgroup_limits: 2037 No such file or directory - Error setting devices.deny to a for jessie1
Serge E. Hallyn
serge at hallyn.com
Fri May 12 13:59:18 UTC 2017
Quoting Harald Dunkel (harald.dunkel at aixigo.de):
> Hi folks,
>
> my LXCs don't start anymore:
Odd, do_setup_cgroup_limits() seems to be called twice.
First time is sucessful,
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.deny' set to 'a'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c *:* m'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'b *:* m'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 1:3 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 1:5 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 1:7 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 5:0 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 5:1 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 5:2 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 1:8 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 1:9 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 136:* rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 10:229 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 254:0 rm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 10:200 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 10:228 rwm'
> lxc-start 20170511140840.901 DEBUG lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2042 - cgroup 'devices.allow' set to 'c 10:232 rwm'
> lxc-start 20170511140840.901 INFO lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2046 - cgroup has been setup
> lxc-start 20170511140840.930 DEBUG lxc_conf - conf.c:lxc_assign_network:3185 - move 'veth59JIW0'/'(null)' to '4419': .
> lxc-start 20170511140840.966 DEBUG lxc_conf - conf.c:lxc_assign_network:3185 - move 'vethTIN4QF'/'(null)' to '4419': .
...
> lxc-start 20170511140841.710 ERROR lxc_cgfs - cgroups/cgfs.c:do_setup_cgroup_limits:2037 - No such file or directory - Error setting devices.deny to a for jessie1
> lxc-start 20170511140841.710 ERROR lxc_start - start.c:lxc_spawn:1236 - Failed to setup the devices cgroup for container "jessie1".
Second time fails.
Can you tell us the old (working) and new (nonworking) lxc versions?
More information about the lxc-users
mailing list