Activity log for bug #827279

Date Who What changed Old value New value Message
2011-08-16 11:15:40 Jamie Strandboge bug added bug
2011-08-16 11:17:39 Jamie Strandboge description On an up to date Oneiric, I tried to start a virtual machine via libvirt and got: error: Failed to start domain sec-hardy-amd64 error: Unable to create cgroup for sec-hardy-amd64: No such file or directory This may or may not be bug #795905, but since I was only playing around with cgroups and don't actually use them, I decided to simply remove the cgroup packages, so I did: $ sudo apt-get remove --purge libcgroup1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: cgroup-bin* libcgroup1* 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 487 kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 289248 files and directories currently installed.) Removing cgroup-bin ... cgred stop/waiting stop: Job failed while stopping invoke-rc.d: initscript cgconfig, action "stop" failed. dpkg: error processing cgroup-bin (--purge): subprocess installed pre-removal script returned error exit status 1 cgconfig start/running libvirt-cgred-wait stop/waiting dpkg: libcgroup1: dependency problems, but removing anyway as you requested: cgroup-bin depends on libcgroup1. Removing libcgroup1 ... Purging configuration files for libcgroup1 ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: cgroup-bin E: Sub-process /usr/bin/dpkg returned an error code (1) I then had to perform the following two times (the first fails similarly as above): $ sudo apt-get remove --purge cgroup-bin On an up to date Oneiric, I tried to start a virtual machine via libvirt and got: error: Failed to start domain sec-hardy-amd64 error: Unable to create cgroup for sec-hardy-amd64: No such file or directory This may or may not be bug #795905, but since I was only playing around with cgroups and don't actually use them, I decided to simply remove the cgroup packages, so I did: $ sudo apt-get remove --purge libcgroup1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED:   cgroup-bin* libcgroup1* 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 487 kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 289248 files and directories currently installed.) Removing cgroup-bin ... cgred stop/waiting stop: Job failed while stopping invoke-rc.d: initscript cgconfig, action "stop" failed. dpkg: error processing cgroup-bin (--purge):  subprocess installed pre-removal script returned error exit status 1 cgconfig start/running libvirt-cgred-wait stop/waiting dpkg: libcgroup1: dependency problems, but removing anyway as you requested:  cgroup-bin depends on libcgroup1. Removing libcgroup1 ... Purging configuration files for libcgroup1 ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing:  cgroup-bin E: Sub-process /usr/bin/dpkg returned an error code (1) I then had to perform the following two times (the first fails similarly as above): $ sudo apt-get remove --purge cgroup-bin Once I removed cgroup-bin, I still had to stop then start libvirt to use my VMs with: $ sudo stop libvirt-bin $ sudo start libvirt-bin
2011-08-16 11:18:10 Jamie Strandboge summary Failed to uninstall cgroup-bin Several problems with maintainer scripts when uninstalling
2011-08-16 19:42:40 Serge Hallyn libcgroup (Ubuntu): status New Confirmed
2011-08-16 19:42:44 Serge Hallyn libcgroup (Ubuntu): importance Undecided Medium
2011-08-16 23:17:41 Serge Hallyn attachment added proposed debdiff which appears to fix the problems https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/827279/+attachment/2284275/+files/libcgroup.debdiff
2011-08-16 23:18:04 Serge Hallyn summary Several problems with maintainer scripts when uninstalling Several problems in cgclear
2011-08-16 23:31:56 Serge Hallyn libcgroup (Ubuntu): status Confirmed In Progress
2011-08-16 23:42:19 Serge Hallyn nominated for series Ubuntu Lucid
2011-08-16 23:42:19 Serge Hallyn nominated for series Ubuntu Maverick
2011-08-16 23:42:19 Serge Hallyn nominated for series Ubuntu Natty
2011-08-17 13:52:55 Serge Hallyn libcgroup (Ubuntu): assignee Jon Bernard (jbernard)
2011-08-17 17:30:52 Brian Murray bug added subscriber Ubuntu Review Team
2011-08-17 17:30:53 Brian Murray tags patch
2013-10-31 00:08:02 Jon Bernard libcgroup (Ubuntu): assignee Jon Bernard (jbernard)
2015-04-17 22:10:48 Ken Sharp tags patch oneiric patch