Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#61502 - Wrong path to PID in systemd service file
Attached to Project:
Community Packages
Opened by Stephan Huiser (huiser) - Tuesday, 22 January 2019, 13:40 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 22 January 2019, 20:44 GMT
Opened by Stephan Huiser (huiser) - Tuesday, 22 January 2019, 13:40 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 22 January 2019, 20:44 GMT
|
DetailsDescription:
From journal: jan 22 14:35:05 myhostname systemd[1]: /usr/lib/systemd/system/glusterd.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please update the unit file accordingly. Additional info: * package version: 1:5.2-2 Steps to fix: Change /usr/lib/systemd/system/glusterd.service: PIDFile=/run/glusterd.pid |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 22 January 2019, 20:44 GMT
Reason for closing: Upstream
Additional comments about closing: Please discuss with upstream in order to fix their service file and solve the *warning*.
Tuesday, 22 January 2019, 20:44 GMT
Reason for closing: Upstream
Additional comments about closing: Please discuss with upstream in order to fix their service file and solve the *warning*.
https://github.com/gluster/glusterfs/blob/master/extras/systemd/glustereventsd.service.in
Yes, it's configurable, but it really should be hardcoded to /run, not @localstatedir@/run.
1) a cpp macro -DDATADIR in order to set the location for DATADIR"/db/glusterd/" and DATADIR"/lib/glusterd/" and DATADIR"/log/glusterfs/"
2) "@localstatedir@/log/glusterfs" in a couple of *.in files
It doesn't seem at all safe to cheat the system and define localstatedir as /
...
Anyway, it doesn't make sense to apply downstream patches just to get rid of a warning, please discuss this with upstream.