Dear Maintainer.

I tested the `xfce4-terminal` package with piuparts and saw that `systemd`
does not remove some directories after removing the package:
1m58.8s ERROR: FAIL: Package purging left files on system:
  /etc/default/locale -> ../locale.conf  not owned
  /etc/vconsole.conf -> default/keyboard         not owned
  /root/.ssh/    not owned
  /var/cache/private/    not owned
  /var/lib/private/      not owned
  /var/lib/systemd/coredump/     not owned
  /var/lib/systemd/ephemeral-trees/      not owned
  /var/lib/systemd/network/      not owned
  /var/lib/systemd/pstore/       not owned
  /var/log/private/      not owned

I think these directories can be deleted:
+        rm -rf /var/lib/systemd/network/
+        rm -rf /var/lib/systemd/pstore/
+        rm -rf /var/lib/systemd/coredump/

Thank you

---
Kirill Rekhov
diff --color -ruN orig/systemd-256.6/debian/systemd.postrm systemd-256.6/debian/systemd.postrm
--- orig/systemd-256.6/debian/systemd.postrm	2024-08-28 12:33:19.000000000 +0300
+++ systemd-256.6/debian/systemd.postrm	2024-09-16 14:54:58.381827834 +0300
@@ -25,6 +25,9 @@
         rm -rf /var/lib/systemd/backlight/
         rm -rf /var/lib/systemd/rfkill/
         rm -rf /var/lib/systemd/timesync/
+        rm -rf /var/lib/systemd/network/
+        rm -rf /var/lib/systemd/pstore/
+        rm -rf /var/lib/systemd/coredump/
 
         rm -f /var/lib/systemd/random-seed
 

Reply via email to