[Pkg-libvirt-maintainers] Bug#694393: Bug#694393: libvirt-bin: error: Unable to create cgroup

Guido Günther agx at sigxcpu.org
Thu Nov 29 06:44:00 UTC 2012


retitle 694393: Not stopped properly on ugrades when switching from sysvinit to systemd
thanks

On Thu, Nov 29, 2012 at 12:51:38AM +0000, brian m. carlson wrote:
> On Tue, Nov 27, 2012 at 07:31:42PM +0100, Guido Günther wrote:
> > We should figure out which part of the cgroup hierachy is missing. Could
> > you install debugging symbols, attach to libvirtd and break at
> > cgroup.c::virCgroupForDomain? Alternatively you can run libvirtd as
> > documented on the wiki. This will also print out the names of the
> > cgroups it tries to create. Once you got the cgroups name you should be
> > able to check which part in the cgroup hierachy is missing.
> 
> I think the issue here is that libvirtd didn't die properly when I ran
> service libvirt-bin stop.  As a consequence, I had to kill it off with
> /bin/kill and when I started it manually using the formula from the
> wiki, it worked fine.  Since the process ID was 1355, and I have the max
> process ID set to 1048575, the service almost certainly had not been
> restarted since I originally booted my laptop, which was before the
> libvirt-bin upgrade.  For some reason, libvirtd is not being stopped and
> restarted properly.

I adjusted the bugs title. Is it possible that you started libvirt with
sysvinit, switched to systemd and then upgraded libvirt? In this case
libvirt might indeed have little chance to get stopped properly.
Cheers,
 -- Guido

> 
> If this is a bug in systemd, please feel free to reassign it there.
> 
> -- 
> brian m. carlson / brian with sandals: Houston, Texas, US
> +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
> OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187



More information about the Pkg-libvirt-maintainers mailing list