Package: sysvinit-utils
Version: 2.88dsf-51
Severity: normal
File: /sbin/startpar

in a setup with a wheezy+backports lxc host and a jessie lxc guest,
booting a debootstrapped environment fails when the processes init (2x),
rc and startpar are running. strace shows that startpar is in a
`pselect6` system call from which it never returns.

if, as a workaround, i touch `etc/init.d/.legacy-bootordering` in the
container, everything boots up fine.

it's hard for me to pinpoint what is causing the bug, and even harder to
say what needs to be fixed, but as the only workaround i currently have
is in sysvinit's realm, i'm reporting it here.

my lxc config for reference (in practice, i'd place a
lxc.cgroup.devices.deny=a and other specific rules too, but for
debugging, i used this):

> lxc.utsname                             = prometheus-testcontainer.amsuess.com
> lxc.rootfs                              = /var/lib/lxc/testcontainer/rootfs
> lxc.arch                                = x86_64
> lxc.cgroup.cpu.shares                  = 1024
> lxc.cgroup.cpuset.cpus                 = 6
> lxc.cgroup.memory.limit_in_bytes       = 6G
> lxc.mount.entry                         = /dev/prometheus/testcontainer-root 
> /var/lib/lxc/testcontainer/rootfs ext4 defaults 0 0
> lxc.mount.entry                         = proc 
> /var/lib/lxc/testcontainer/rootfs/proc proc nodev,noexec,nosuid 0 0
> lxc.mount.entry                         = sysfs 
> /var/lib/lxc/testcontainer/rootfs/sys sysfs defaults,ro 0 0

best regards
chrysn

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to