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 <e...@kiyuko.org>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature

Reply via email to