Your message dated Thu, 12 Oct 2017 14:36:36 +0200
with message-id <[email protected]>
and subject line Re: Bug#694393: [Pkg-libvirt-maintainers] Bug#694393: 
libvirt-bin: error: Unable to create cgroup
has caused the Debian Bug report #694393,
regarding Not stopped properly on ugrades
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
694393: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694393
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt-bin
Version: 1.0.0-1
Severity: important

I have a single VM set up with libvirt.  When I try to start it, I get
the following:

  vauxhall ok % sudo virsh start azure
  error: Failed to start domain azure
  error: Unable to create cgroup for azure: No such file or directory

I get a similar error with virt-manager.  cgroup-bin is not installed,
but installing it has no effect.  If it matters, I am using systemd as
my init system.  Please let me know if you need more information.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser             3.113+nmu3
ii  gettext-base        0.18.1.1-9
ii  libaudit0           1:1.7.18-1.1
ii  libavahi-client3    0.6.31-1
ii  libavahi-common3    0.6.31-1
ii  libblkid1           2.20.1-5.2
ii  libc6               2.13-37
ii  libcap-ng0          0.7.3-1
ii  libdbus-1-3         1.6.8-1
ii  libdevmapper1.02.1  2:1.02.74-5
ii  libgcrypt11         1.5.0-3
ii  libgnutls26         2.12.20-2
ii  libnetcf1           0.2.2-2
ii  libnl-3-200         3.2.7-4
ii  libnl-route-3-200   3.2.7-4
ii  libnuma1            2.0.8-1
ii  libparted0debian1   2.3-11
ii  libpcap0.8          1.3.0-1
ii  libpciaccess0       0.13.1-2
ii  libreadline6        6.2-9
ii  libsasl2-2          2.1.25.dfsg1-6
ii  libudev0            175-7.1
ii  libvirt0            1.0.0-1
ii  libxenstore3.0      4.1.3-4
ii  libxml2             2.8.0+dfsg1-6
ii  libyajl2            2.0.4-2
ii  logrotate           3.8.3-3

Versions of packages libvirt-bin recommends:
ii  bridge-utils    1.5-6
ii  dmidecode       2.11+20120326-2
ii  dnsmasq-base    2.63-4
ii  ebtables        2.0.10.4-1
ii  gawk            1:4.0.1+dfsg-2
ii  iproute         20120521-3
ii  iptables        1.4.16.3-4
ii  libxml2-utils   2.8.0+dfsg1-6
ii  netcat-openbsd  1.105-7
ii  parted          2.3-11
ii  pm-utils        1.4.1-9
ii  qemu            1.1.2+dfsg-2
ii  qemu-kvm        1.1.2+dfsg-2

Versions of packages libvirt-bin suggests:
pn  auditd       <none>
ii  policykit-1  0.105-1
pn  radvd        <none>
pn  systemtap    <none>

-- Configuration Files:
/etc/libvirt/qemu/networks/default.xml [Errno 13] Permission denied: 
u'/etc/libvirt/qemu/networks/default.xml'

-- no debconf information

-- 
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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: libvirt/3.0.0-4

Hi,
On Thu, Nov 29, 2012 at 09:48:35AM +0100, Guido Günther wrote:
> retitle 694393 Not stopped properly on ugrades 
> thanks
> 
> On Thu, Nov 29, 2012 at 07:44:00AM +0100, Guido Günther wrote:
> > 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.
> 
> Scratch that. We started to ship systemd service files in 0.9.13 not
> 0.9.12. Sorry for the noise.

There were cgroup related fixes in the 2.x cycle so closing this one as
well since I've not seen cgroup related issues since then.
Cheers,
 -- Guido

> 
> > 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
> > 
> > 

--- End Message ---

Reply via email to