Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated path /var/run being used for PIDfile in systemd unit and other places #1805

Open
sanvila opened this issue Jan 28, 2022 · 3 comments

Comments

@sanvila
Copy link

sanvila commented Jan 28, 2022

My videobridge instances show warning messages like this in the logs:

systemd[1]: /lib/systemd/system/jitsi-videobridge2.service:13: PIDFile=
references path below legacy directory /var/run/, updating /var/run/jitsi-videobridge/jitsi-videobridge.pid →
/run/jitsi-videobridge/jitsi-videobridge.pid; please update the unit file accordingly.

I believe a fix would involve locating all occurrences of var/run in the code:

rgrep var/run

and just replacing them by /run. I would do this myself because it's trivial to do, but unfortunately I don't have the resources to test it extensively. I believe that upgrades should be seamless in either case because /var/run is a symlink to /run anyway.

Thanks.

Note: The warnings have been appearing at least since Debian 10.

@damencho
Copy link
Member

/var/run is a symlink to /run anyway

For which Debian and Ubuntu versions is this?

@sanvila
Copy link
Author

sanvila commented Jan 28, 2022

Good question. The symlink was already there in Debian 9, released in June 2017. For Ubuntu, I believe it was already there in Ubuntu 18.04 (just checked right now using a virtual machine from Hetzner, they don't have older images to check).

@damencho
Copy link
Member

Thanks for checking, I wonder how would the upgrade go when changing it, but this I can test.
18.04 is good enough, its the oldest we support in the moment with small adjustments before installing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants