FS#76477 - [munge] update PIDFile?

Attached to Project: Community Packages
Opened by Min Xu (minxu) - Monday, 07 November 2022, 19:57 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 20 April 2023, 10:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I see this error in the syslog:

```
Nov 07 11:50:57 3090b systemd[1]: /usr/lib/systemd/system/munge.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/munge/munged.pid → /run/munge/munged.pid; please update the unit file accordingly.
```

Maybe it is just updating the default service file below to make that warning go away?

```
cat /usr/lib/systemd/system/munge.service ░▒▓ ✔  11:51:33  
[Unit]
Description=MUNGE authentication service
Documentation=man:munged(8)
Wants=network-online.target
After=network-online.target
After=time-sync.target

[Service]
Type=forking
EnvironmentFile=-/etc/default/munge
ExecStart=/usr/bin/munged $OPTIONS
PIDFile=/var/run/munge/munged.pid
RuntimeDirectory=munge
RuntimeDirectoryMode=0755
User=munge
Group=munge
Restart=on-abort

[Install]
WantedBy=multi-user.target
```
Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 20 April 2023, 10:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  munge 0.5.15-5
Comment by Toolybird (Toolybird) - Monday, 07 November 2022, 21:11 GMT
It simply needs `--runstatedir=/run' added to ./configure invocation in PKGBUILD.

Loading...