[systemd-devel] Failed to destroy cgroup /system.slice/plymouth-start.service: Device or resource busy

Cristian Rodríguez crrodriguez at opensuse.org
Sat Jul 6 16:44:03 PDT 2013


Hi:

With v205, I sometimes get at boot time:

Failed to destroy cgroup /system.slice/plymouth-start.service: Device or 
resource busy

void unit_destroy_cgroup(Unit *u) {..

r = cg_trim_with_mask(u->cgroup_mask, u->cgroup_path, true); ...

calls:

cg_trim(SYSTEMD_CGROUP_CONTROLLER, path, delete_root); -->delete_root is 
true..

int cg_trim(const char *controller, const char *path, bool delete_root) {
...

if (delete_root) {
     if (rmdir(fs) < 0 && errno != ENOENT) --> here rmdir() fails with 
EBUSY because "path" is currently in use..
        return -errno;
}








More information about the systemd-devel mailing list