Opened 3 months ago
Last modified 3 months ago
#2429 new defect
Ship FHS compliant packages (/var/run > /run)
|Reported by:||Owned by:|
In 2015 Linux FHS was updated.
And recently systemd started complaining about this on newer distro releases like RHEL 9.X.
I inspected official stable and mainline RPM package and found that it still uses /var/run. It should switch to /run for Linux distro packages. This is not actually a nginx issue but rather packaging issue. So pardon me if I mislabeled any components.
Change History (2)
comment:1 by , 3 months ago
comment:2 by , 3 months ago
Just for the record, changing
/run/nginx.pid in nginx configuration will break configuration reload (till nginx restart or upgrade) on systems using symlinks from
/run/ or vice versa, see ticket #796.
Sorry I couldn't add many links TRAC detecting it as spam. Here is a Ubuntu reference.
So anything that ships with systemd should update. Other than that it's Linux FHS.