[Pkg-libvirt-maintainers] Bug#810141: [Fwd: Re: Bug#810141: libvirt-daemon-system postinst tries to touch files in nonexistent dirs]

Nick Phillips nick.phillips at otago.ac.nz
Thu Jan 7 20:16:23 UTC 2016


Sorry, accidentally sent this only to Guido and not to the bug...

-------- Forwarded Message --------
From: Nick Phillips <nick.phillips at otago.ac.nz>
To: Guido Günther <agx at sigxcpu.org>
Subject: Re: [Pkg-libvirt-maintainers] Bug#810141: libvirt-daemon
-system postinst tries to touch files in nonexistent dirs
Date: Fri, 8 Jan 2016 09:15:19 +1300

On Thu, 2016-01-07 at 18:15 +0100, Guido Günther wrote:
> Hi,
> On Thu, Jan 07, 2016 at 09:42:08AM +1300, Nick Phillips wrote:
> > Package: libvirt-daemon-system
> > Version: 1.2.9-9+deb8u1
> > Severity: normal
> > 
> > On upgrade from wheezy to jessie, libvirt-daemon-system failed to
> > complete
> > installation - postinst was trying to touch
> > /var/log/libvirt/uml/.placeholder
> > and /var/log/libvirt/lxc/.placeholder - when neither of those
> > directories
> > exist.
> > 
> > Had to manually create dirs in order for postinst to complete.
> 
> The dirs are created by the package itself, e.g.
> 
>     dpkg -S /var/log/libvirt/uml
> 
> So if that failed, dpkg did not create the dirs (e.g. due to some
> --path-exclude pattern).
> 
> We'd need more logs to tell. We had lots of successful upgrades from
> wheezy to jessie already, can you think of s.th. that could be
> different
> on your system?
> Cheers,
>  -- Guido

No, I can't. It was odd though, that I also had messages complaining
about failing to register a libvirt service as one was already being
provided by a different package (I think removing libvirt-bin manually
fixed that). Is it possible that removing that package removed them for
some reason?


Cheers,


Nick
-- 
Nick Phillips / +64 3 479 4195 / nick.phillips at otago.ac.nz
Faculty of Medicine, University of Otago



More information about the Pkg-libvirt-maintainers mailing list