Hallo erstmal,
guckt doch mal bitte ob ihr auch in den dmesg Meldungen Mecker von systemd habt. Es ist offensichtlich auch kein reines Ubuntu Problem. Vielmehr scheint es so zu sein, dass mit der Entscheidung künftig /run anstatt /var/run zu nutzen distributionsübergreifend Konfigurationsdateien diese Änderungen nicht hinreichend nachvollzogen haben.
Da sieht es dann beispielsweise so aus:
dmesg | grep var [ 0.002783] MTRR variable ranges enabled: [ 28.531808] systemd[1]: /lib/systemd/system/auditd.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/auditd.pid → /run/auditd.pid; please update the unit file accordingly. [ 28.570268] systemd[1]: /lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly. [ 28.646001] systemd[1]: /lib/systemd/system/spice-vdagentd.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/spice-vdagentd/spice-vdagentd.pid → /run/spice-vdagentd/spice-vdagentd.pid; please update the unit file accordingly. [ 219.130334] systemd[1]: /lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly. [ 219.144283] systemd[1]: /lib/systemd/system/auditd.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/auditd.pid → /run/auditd.pid; please update the unit file accordingly. [ 219.148340] systemd[1]: /lib/systemd/system/spice-vdagentd.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/spice-vdagentd/spice-vdagentd.pid → /run/spice-vdagentd/spice-vdagentd.pid; please update the unit file accordingly.
Sucht man im Internet, so finden sich Hinweise dass dies kein Einzelfall sei. Distributionsübergreifend nicht nur bei Ubuntu und Debian. Selbst bei Red Hat als Initator von systemd findet sich derartiges. Eigentlich sollte das ändern von "/var/run/<PROBLEMPAKETNAME>" in "/run<PROBLEMPAKETNAME>" in der jeweiligen Konfigurationsdatei schon reichen.
Am Beispiel mal beim spice-vdagent von:
/usr/lib/tmpfiles.d/spice-vdagentd.conf # spice-vdagentd needs this and does not create it itself d /var/run/spice-vdagentd 0755 root root -
in:
/usr/lib/tmpfiles.d/spice-vdagentd.conf # spice-vdagentd needs this and does not create it itself d /run/spice-vdagentd 0755 root root -
Korrigiert mich bitte, sollte ich da falsch liegen.
Mehr Lesestoff für Informationshungrige: https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html