Ah yes. We do have something that has already mounted them. So it seems
that the start script should make sure things are mounted properly, but not
fail because they are already mounted...unless it's in the wrong place, or
in a conflicting manner. I don't think that's the case here, however.
On Apr 19, 2012 10:40 PM, "Steve Langasek" <steve.langa...@canonical.com>
wrote:

> Hi Thomas,
>
> Does this mean something else on your system had already mounted
> cgroups?
>
> --
> 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:
>  New
>
> Bug description:
>  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

Reply via email to