gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Warning: upcoming systemd issue: /var/run


From: Charles Curley
Subject: Warning: upcoming systemd issue: /var/run
Date: Wed, 10 Jun 2020 18:14:33 -0600

Gary, you can stop reading here. Thank you. :-)

I hit a warning that could become an issue in the future. The
gpsd.socket systemd unit has

ListenStream=/var/run/gpsd.sock

Which works even on Debian. However, Debian, starting with Debian 10
(Buster) has moved /var/run to /run. Old software is supported because
Debian provides a symlink. However, that symlink will go away some time
in the future.

Also, systemd adjusts the path for you. From my logs:

... systemd[1]: /etc/systemd/system/gpsd.socket:4: ListenStream= references a 
path below legacy directory /var/run/, updating /var/run/gpsd.sock → 
/run/gpsd.sock; please update the unit file accordingly.

How long systemd will do that I do not know.

So for Debian, and possibly some Ubuntus, it may be worthwhile some
time in the future to change that line to refer to /run.

This is probably a candidate for the systemd troubleshooting section.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]