Comment 4 for bug 827279

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: Several problems with maintainer scripts when uninstalling

There are at least two problems in cgclear. One is that it bails if
moving a task to root cgroup returns 'no such process'. But of course
that's just a race condition (task has exited) which should be ignored.

When that is fixed I have also seen:
rmdir("/sys/fs/cgroup/memory/./sysdefault/") = -1 EBUSY (Device or resource busy)

Which is absolutely wrong. sysdefault is a directory and can't be
umounted. I have not yet found the root cause for this.