Package: lxc
Version: 0.7.5-12
Severity: normal
Tags: sid

Hi,
I created an squeeze container using lxc-debian template from latest sid. The
generated config includs a cap-driver setting.

With this setting enabled, the container didn't came up cleanly:
root@thinkpad:# grep cap squeeze-debian/config
lxc.cap.drop                            = sys_admin sys_module mac_admin
mac_override
root@thinkpad:# lxc-start -n squeeze-debian
Mount failed for selinuxfs on /selinux:  Operation not permitted
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
mount: permission denied
mkdir: cannot create directory `/lib/init/rw/sendsigs.omit.d/': File exists
mount: permission denied
hostname: you must be root to change the host name
[...]

WithOUT this entry, the container "booted" as expected:
root@thinkpad:# grep cap squeeze-debian/config
#lxc.cap.drop                            = sys_admin sys_module mac_admin
mac_override
root@thinkpad:/home/ossy/lxcontainer# lxc-start -n squeeze-debian
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Cleaning up ifupdown....
Setting up networking....
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
[..]

The linux-container package was successfully installed inside the squeeze
container via chroot.



-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-bpo.2-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  libcap2-bin              1:2.19-3        basic utility programs for using c

Versions of packages lxc suggests:
pn  lxctl                         <none>     (no description available)

-- debconf information:
  lxc/shutdown: stop
  lxc/directory: /var/lib/lxc
  lxc/title:
  lxc/auto: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to