Learn more about these different git repos.
Other Git URLs
c2687bd
@@ -4,9 +4,9 @@
[Service]
Type=dbus
- PIDFile=/var/run/certmonger.pid
+ PIDFile=/run/certmonger.pid
EnvironmentFile=-/etc/sysconfig/certmonger
- ExecStart=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS
+ ExecStart=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS
BusName=@CM_DBUS_NAME@
[Install]
Fixes: /usr/lib/systemd/system/certmonger.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/certmonger.pid → /run/certmonger.pid; please update the unit file accordingly.
Code looks good. Can you add a reference to the commit that this change is required because of systemd 239 so we'll have more context in the future? And add a reference to the ticket that someone else opened on this issue as well?
My suggestion would be:
Change /var/run -> /run in systemd service file
systemd 239 complains about the legacy of certmonger's tmpfiles which are located on /var/run.
https://pagure.io/certmonger/issue/111
rebased onto 89bc23f346437f35f9d533fcfcf5b022e02ba1d6
Thanks, changed.
Ah crap, sorry, I conflated two separate issues. There is a separate problem with tmpfiles.d but that is controlled by how certmonger is configured, --with-tmpdir, which in Fedora is /var/run/certmonger and needs to be made downstream.
That is a different but similar error from what you are fixing here, the systemd PID directory.
So, sorry for the churn, but can you change the commit message one last time to something like:
systemd 239 complains about the legacy of certmonger's PID file which is located in /var/run.
Signed-off-by: Orion Poplawski orion@nwra.com
Basically slight re-wording of the systemd message and drop the ticket #.
rebased onto c2687bd
No worries. Done.
Thanks, ack.
Pull-Request has been merged by rcritten
Fixes: /usr/lib/systemd/system/certmonger.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/certmonger.pid → /run/certmonger.pid; please update the unit file accordingly.