Sorry I'll do this today. -A
On Mon, Jul 9, 2012 at 11:06 PM, Sebastien Bacher <seb...@ubuntu.com> wrote: > Could somebody with a setup to test the update check if it's indeed > resolving the issue so it can be moved to -updates? > > -- > You received this bug notification because you are a member of Goobuntu > Team, which is subscribed to the bug report. > https://bugs.launchpad.net/bugs/985884 > > Title: > cgroup lite postinst fails (init script doesn't start) > > Status in “cgroup-lite” package in Ubuntu: > Fix Released > Status in “cgroup-lite” source package in Precise: > Fix Committed > Status in “cgroup-lite” source package in Quantal: > Fix Released > > Bug description: > ============================================ > SRU Justification: > 1. Impact: Customized installations which mount cgroups in nonstandard > locations may cause cgroup-lite to fail to start correctly > 2. Development fix: have cgroup-lite do nothing if cgroups are found mounted > anywhere at all > 3. Stable fix: same as development fix. > 4. Test case: > Create an upstart job: > {{{ > start on starting cgroup-lite > pre-start script > mkdir -p /mnt2 > mount -t cgroup -o freezer freezer /mnt2 > end script > }}} > reboot and check whether cgroup-lite is working. Manually try > {{{ > stop cgroup-lite; start cgroup-lite > }}} > and check for errors > 5. Regression potential: If a system has a mount with 'cgroup' in the > name which is not a cgroup mount, cgroup-lite will no longer mount cgroups. > > ============================================ > > Similar symptom to https://bugs.launchpad.net/ubuntu/+source/cgroup- > lite/+bug/929381, but obviously a different issue: > > $ sudo apt-get install cgroup-lite > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following NEW packages will be installed: > cgroup-lite > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 0 B/3,490 B of archives. > After this operation, 46.1 kB of additional disk space will be used. > Selecting previously unselected package cgroup-lite. > (Reading database ... 241656 files and directories currently installed.) > Unpacking cgroup-lite (from .../cgroup-lite_1.1_all.deb) ... > Processing triggers for ureadahead ... > Setting up cgroup-lite (1.1) ... > start: Job failed to start > invoke-rc.d: initscript cgroup-lite, action "start" failed. > dpkg: error processing cgroup-lite (--configure): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > cgroup-lite > E: Sub-process /usr/bin/dpkg returned an error code (1) > > $ sudo start cgroup-lite > start: Job failed to start > > $ ls -ld /usr/bin/cgroups-mount > -rwxr-xr-x 1 root root 850 Feb 9 00:56 /usr/bin/cgroups-mount > > $ ls -ld /sys/fs/cgroup > drwxr-xr-x 2 root root 0 Apr 19 13:37 /sys/fs/cgroup > > $ sudo /usr/bin/cgroups-mount > mount: cgroup already mounted or /sys/fs/cgroup/cpu busy > mount: according to mtab, cgroup is mounted on /sys/fs/cgroup > > $ echo $? > 32 > > $ mount | grep cgroup > none on /dev/cgroup/cpu type cgroup (rw,cpu,cpuacct) > none on /dev/cgroup/devices type cgroup (rw,devices) > cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755) > > $ sudo /usr/bin/cgroups-umount > umount: cpu: not mounted > umount: cpuacct: not found > umount: memory: not found > umount: devices: not found > umount: freezer: not found > umount: net_cls: not found > umount: perf_event: not found > > $ mount | grep cgroup > none on /dev/cgroup/cpu type cgroup (rw,cpu,cpuacct) > none on /dev/cgroup/devices type cgroup (rw,devices) > > $ sudo /usr/bin/cgroups-mount > mount: cgroup already mounted or /sys/fs/cgroup/cpu busy > mount: according to mtab, cgroup is mounted on /sys/fs/cgroup > > $ echo $? > 32 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/985884/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/985884 Title: cgroup lite postinst fails (init script doesn't start) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/985884/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs