[Pkg-libvirt-maintainers] Bug#1082640: Bug#1082640: libvirt-daemon: Sysvinit scripts are not executable

Andrea Bolognani eof at kiyuko.org
Sun Sep 29 17:31:26 BST 2024


On Mon, Sep 23, 2024 at 11:14:02PM +0300, Mikko Rasa wrote:
> After upgrading from 10.6.0-1 to 10.7.0-3 the scripts in /etc/init.d are not
> executable and libvirtd fails to start.  Easily rectified by doing chmod +x
> on the scripts, after which everything works.
> 
> Also affects libvirt-daemon-log (virtlogd), libvirt-daemon-common
> (libvirt-guests) and possibly others which I do not use.

This seems weird, since the executable bit is present in the package
itself:

  $ dpkg-deb -x libvirt-daemon_10.7.0-3_amd64.deb .
  $ ls -l etc/init.d/libvirtd 
  -rwxr-xr-x 1 abologna abologna 6136 Sep 16 21:41 etc/init.d/libvirtd

I have personally tested upgrades from 10.6.0-1 to 10.7.0-3 on hosts
using sysvinit and openrc instead of systemd to ensure that things
would work as expected in those scenarios, and I never encountered a
scenario like the one you're describing.

Did you customize the init scripts? We have some logic to carry
existing customizations over, and it might have gotten confused
somehow, though it should just move files around so I can't imagine
the executable bits getting lost in the process.

Any other local customizations that might be relevant?

-- 
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20240929/bcfa84a3/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list