[Bug 1300481] [NEW] cgroups-umount must ignore rmdir failure

Serge Hallyn 1300481 at bugs.launchpad.net
Mon Mar 31 22:18:59 UTC 2014


Public bug reported:

when cgroup-lite is uninstalled or stopped, it runs cgroups-umount.
This unmounts /sys/fs/cgroup/$controller and tries to rmdir it.  However
if any task has unshared the mounts namespace after cgroup-lite started,
it will continue to have /sys/fs/cgroup/$controller mounted, preventing
the rmdir.

The rmdir should simply be ignored, as the directory will simply go away
after the next reboot, and is harmless in the meantime.

** Affects: cgroup-lite (Ubuntu)
     Importance: High
     Assignee: Serge Hallyn (serge-hallyn)
         Status: Triaged

** Changed in: cgroup-lite (Ubuntu)
   Importance: Undecided => High

** Changed in: cgroup-lite (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cgroup-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1300481

Title:
  cgroups-umount must ignore rmdir failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1300481/+subscriptions



More information about the Ubuntu-server-bugs mailing list