<!DOCTYPE html>

<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
</head>
<body style="font-family: Lato, Calibri, Tahoma, sans-serif; max-width: 32em">
<p style="text-align: justify; text-justify: auto">Package: libvirt-daemon-common<br/>
Version: 12.9.0-1<br/>
Severity: wishlist<br/>
Tags: patch</p>
<p style="text-align: justify; text-justify: auto"><code>libvirtd</code> only provides for single hooks under <code>/etc/libvirt/hooks</code>, e.g. <code>/etc/libvirt/hooks/network</code>.</p>
<p style="text-align: justify; text-justify: auto">Please find attached a simple script that you could include as <code>/etc/libvirt/hooks/libvirt-hook.sh</code> or under <code>examples</code>… The idea is that an admin can now symlink that script to <code>/etc/libvirt/hooks/network</code> and forthwith, <code>/etc/libvirt/hooks/network.d/</code> will be run with <code>run-parts</code>.</p>
<p style="text-align: justify; text-justify: auto">You could of course also just install all the symlinks and directories, hardly a big performance hit…</p>
<p style="text-align: justify; text-justify: auto">– System Information:<br/>
Debian Release: forky/sid<br/>
  APT prefers unstable<br/>
  APT policy: (500, ‘unstable’), (1, ‘experimental’)<br/>
Architecture: amd64 (x86_64)</p>
<p style="text-align: justify; text-justify: auto">Kernel: Linux 7.2.8+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)<br/>
Kernel taint flags: TAINT_WARN<br/>
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en<br/>
Shell: /bin/sh linked to /usr/bin/dash<br/>
Init: systemd (via /run/systemd/system)<br/>
LSM: AppArmor: enabled</p>
<p style="text-align: justify; text-justify: auto">Versions of packages libvirt-daemon-common depends on:<br/>
ii  dmidecode                   3.7-1<br/>
ii  gettext-base                1.0-5<br/>
ii  iproute2                    7.2.0-1<br/>
ii  kmod                        34.2-2+b2<br/>
ii  libacl1                     2.4.0-1<br/>
ii  libc6                       2.43-6<br/>
ii  libgcc-s1                   16.2.0-3<br/>
ii  libglib2.0-0t64             2.90.0-1<br/>
ii  libreadline8t64             8.3-4<br/>
ii  libvirt-common              12.9.0-1<br/>
ii  libvirt0                    12.9.0-1<br/>
ii  polkitd                     127-3<br/>
ii  sensible-utils              0.0.26<br/>
ii  systemd [systemd-sysusers]  262-1</p>
<p style="text-align: justify; text-justify: auto">Versions of packages libvirt-daemon-common recommends:<br/>
ii  netcat-openbsd  1.238-1</p>
<p style="text-align: justify; text-justify: auto">Versions of packages libvirt-daemon-common suggests:<br/>
ii  apparmor   4.1.8-2<br/>
pn  auditd     <none><br/>
pn  systemtap  <none></none></none></p>
<p style="text-align: justify; text-justify: auto">– Configuration Files:<br/>
/etc/default/libvirt-guests changed [not included]</p>
<p style="text-align: justify; text-justify: auto">– debconf-show failed</p>
<div id="signature" style="font-family: Lato, Calibri, Tahoma, sans-serif; max-width: 32em"><span class="sig_separator" style="display: none">-- </span>
<p style="text-align: justify; text-justify: auto">martin krafft | <a href="https://matrix.to/#/#madduck:madduck.net">https://matrix.to/#/#madduck:madduck.net</a></p>
<p class="blockquote" style="text-align: justify; text-justify: auto; padding: 0 0.5em; margin: 0; font-style: italic; border-left: 2px solid #666">stupidity management for the superuser<br/>
is a user space issue in unix systems.<br/>
                                                         – alan cox<br/></p>
<p class="hidden" style="text-align: justify; text-justify: auto; display: none">spamtraps: <a href="mailto:madduck.bogus@madduck.net">madduck.bogus@madduck.net</a><br/></p>
</div>
</body>
</html>