control: affects -1 libvirtd-daemon-system

Hi,
On Thu, Apr 02, 2020 at 11:42:55AM +0200, Guido Günther wrote:
> Package: debhelper
> Version: 12.10
> Severity: normal
> 
> ```
> override_dh_installsystemd:
>         dh_installsystemd -p libvirt-daemon-system --restart-after-upgrade 
> libvirtd.service
> ```
> 
> But it generates
> 
> ```
> # Automatically added by dh_installsystemd/12.10
> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
> "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
>         if [ -d /run/systemd/system ]; then
>                 systemctl --system daemon-reload >/dev/null || true
>                 if [ -n "$2" ]; then
>                         _dh_action=restart
>                 else
>                         _dh_action=start
>                 fi
>                 deb-systemd-invoke $_dh_action 'libvirtd-ro.socket' 
> 'libvirtd.service' 'libvirtd.socket' 'virtlockd.socket' 'virtlogd.socket' 
> >/dev/null || true
>         fi
> fi
> # End automatically added section
> ```
> 
> although it should only do so for libvirtd.service itself.

I tried to exclude these using '-X' but that did not work either. They
seem to mostly match what libvird has listed in Wants/Requires:

Requires=virtlogd.socket
Requires=virtlockd.socket
# Use Wants instead of Requires so that users
# can disable these three .socket units to revert
# to a traditional non-activation deployment setup
Wants=libvirtd.socket
Wants=libvirtd-ro.socket
Wants=libvirtd-admin.socket

but libvirtd-admin.socket is missing. The reason i came across this is
#955483 where i'd like to avoid that the socket units are restarted at
all.

Cheers,
 -- Guido



> Cheers,
>  -- Guido
> 
> 
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), 
> (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, armhf
> 
> Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
> LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages debhelper depends on:
> ii  autotools-dev            20180224.1
> ii  dh-autoreconf            19
> ii  dh-strip-nondeterminism  1.5.0-1
> ii  dpkg                     1.19.7
> ii  dpkg-dev                 1.19.7
> ii  dwz                      0.13-1
> ii  file                     1:5.37-5
> ii  libdebhelper-perl        12.10
> ii  libdpkg-perl             1.19.7
> ii  man-db                   2.8.6.1-1
> ii  perl                     5.30.0-9
> ii  po-debconf               1.0.21
> 
> debhelper recommends no packages.
> 
> Versions of packages debhelper suggests:
> ii  dh-make  2.201802
> 
> -- no debconf information

Reply via email to