[Pkg-libvirt-maintainers] Bug#1153719: Convert hooks into run-parts directories
martin f. krafft
madduck at madduck.net
Wed Nov 11 09:31:04 GMT 2026
Package: libvirt-daemon-common
Version: 12.9.0-1
Severity: wishlist
Tags: patch
`libvirtd` only provides for single hooks under `/etc/libvirt/hooks`,
e.g. `/etc/libvirt/hooks/network`.
Please find attached a simple script that you could include as
`/etc/libvirt/hooks/libvirt-hook.sh` or under `examples`… The idea is
that an admin can now symlink that script to
`/etc/libvirt/hooks/network` and forthwith,
`/etc/libvirt/hooks/network.d/` will be run with `run-parts`.
You could of course also just install all the symlinks and directories,
hardly a big performance hit…
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.2.8+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvirt-daemon-common depends on:
ii dmidecode 3.7-1
ii gettext-base 1.0-5
ii iproute2 7.2.0-1
ii kmod 34.2-2+b2
ii libacl1 2.4.0-1
ii libc6 2.43-6
ii libgcc-s1 16.2.0-3
ii libglib2.0-0t64 2.90.0-1
ii libreadline8t64 8.3-4
ii libvirt-common 12.9.0-1
ii libvirt0 12.9.0-1
ii polkitd 127-3
ii sensible-utils 0.0.26
ii systemd [systemd-sysusers] 262-1
Versions of packages libvirt-daemon-common recommends:
ii netcat-openbsd 1.238-1
Versions of packages libvirt-daemon-common suggests:
ii apparmor 4.1.8-2
pn auditd <none>
pn systemtap <none>
-- Configuration Files:
/etc/default/libvirt-guests changed [not included]
-- debconf-show failed
--
martin krafft | https://matrix.to/#/#madduck:madduck.net
stupidity management for the superuser
is a user space issue in unix systems.
-- alan cox
{: .blockquote }
spamtraps: madduck.bogus at madduck.net
{: .hidden }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20261111/8619ca47/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-hook.sh
Type: application/x-sh
Size: 360 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20261111/8619ca47/attachment.sh>
More information about the Pkg-libvirt-maintainers
mailing list