** Description changed:

- Since libvirt-daemon-hwe have the same dynamic conffiles (systemd links,
- apparmor local) than libvirt-daemon-hwe
+ Since libvirt-daemon-log-hwe have the same dynamic conffiles (systemd
+ links, apparmor local) than libvirt-daemon-log
  
- When libvirt-daemon-hwe is installed, purging libvirt-daemon might break
- libvirt-daemon-hwe by removing the systemd unit links
+ When libvirt-daemon-log-hwe is installed, purging libvirt-daemon-log
+ might break libvirt-daemon-log-hwe by removing the systemd unit links
  (/etc/systemd/system/** -> /usr/lib/).
  
- Here is the list of purge actions done by dh-helper for libvirt-daemon
- in the postrm maintscript:
+ Other packages are also affected, for example libvirt-daemon.
+ 
+ Here are the purge actions done by dh-* for libvirt-daemon in the postrm
+ maintscript:
  
  ...
  update-rc.d libvirtd remove
  deb-systemd-helper purge 'libvirtd-admin.socket' 'libvirtd-ro.socket' 
'libvirtd.socket'
  deb-systemd-helper purge 'libvirtd.service' >/dev/null
  
  rm -f "/etc/apparmor.d/disable/usr.sbin.libvirtd" || true
  rm -f "/etc/apparmor.d/force-complain/usr.sbin.libvirtd" || true
  rm -f "/etc/apparmor.d/local/usr.sbin.libvirtd" || true
  rm -f /var/cache/apparmor/*/"usr.sbin.libvirtd" || true
  rmdir /etc/apparmor.d/disable 2>/dev/null || true
  rmdir /etc/apparmor.d/local   2>/dev/null || true
  rmdir /etc/apparmor.d         2>/dev/null || true
  
- 
- Reproduce
+ Steps to reproduce
  ---
  
- $ apt install libvirt-daemon
- $ apt install libvirt-daemon-hwe
- $ apt purge libvirt-daemon
+ $ apt install libvirt-daemon-log
+ $ apt install libvirt-daemon-log-hwe
+ $ apt purge libvirt-daemon-log
  
- $ systemci status libvirtd
-  -> service disabled
+ $ systemci status virtlogd
+ ● virtlogd.service - libvirt logging daemon
+      Loaded: loaded (/usr/lib/systemd/system/virtlogd.service; disabled; 
preset: enabled)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164849

Title:
  purging libvirt-daemon when libvirt-daemon-hwe is installed breaks
  libvirt-daemon-hwe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-hwe/+bug/2164849/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to