cgroup-bin (deleted) init scripts stick around
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcgroup (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
=======
SRU Justification
1. Impact: cgroups can be wrongly set up, preventing lxc (and juju-lxc, etc) from working
2. Development fix: properly remove the upstart jobs from older cgroup-bin.
3. Stable fix: same as development fix
4. Test case: install precise's libcgroup1 and cgroup-bin (quick to build from the precise source). check that /etc/cgred.conf exists. Install the new versions, and do 'apt-get install -f' to have cgroup-lite (a new dependency) be installed. Check for /etc/cgred.conf - with the fix, it should have been removed.
5. Regression potential: there should be none.
=======
$ sudo lxc-start -n lucid-test-lp -lDEBUG
lxc-start: No cgroup mounted on the system
lxc-start: failed to spawn 'lucid-test-lp'
robertc@
/dev/mapper/
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,
cgroup on /sys/fs/
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
binfmt_misc on /proc/sys/
gvfsd-fuse on /run/user/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lxc 0.8.0~rc1-4ubuntu39
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Mon Jan 7 19:14:58 2013
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_NZ:en
TERM=screen
PATH=(custom, no user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to quantal on 2012-10-30 (69 days ago)
Changed in libcgroup (Ubuntu): | |
status: | New → In Progress |
no longer affects: | lxc (Ubuntu) |
Changed in libcgroup (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
summary: |
- error 'No cgroup mounted on the system' but cgroup mounted + cgroup-bin (deleted) init scripts stick around |
description: | updated |
Changed in libcgroup (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
I can't reproduce this on 12.10.
could you do
sudo lxc-start -n containername -l info -o outout
then attach outout here?