[systemd-devel] 'PIDFile=' warning and override.conf

Chuck Wolber chuckwolber at gmail.com
Wed Aug 26 00:10:54 UTC 2020


You did not post your override.conf file for inspection, so it is hard to
tell.

Did you remember to do a systemctl daemon-reload after you added your
override.conf?

..Ch:W..

On Tue, Aug 25, 2020 at 4:27 PM Richard Hector <richard at walnut.gen.nz>
wrote:

> Hi all,
>
> I've got the common warning:
>
> /lib/systemd/system/fail2ban.service:12: PIDFile= references path below
> legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid →
> /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
>
> I made the change in the relevant override.conf file, but that doesn't
> seem to work. Changing the 'real' one in /lib/systemd/system works.
>
> Is that how it's supposed to be?
>
> I'm using debian buster, with systemd package version 241-7~deb10u4
>
> Cheers,
> Richard
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


-- 
*"Perfection must be reached by degrees; she requires the slow hand of
time." - Voltaire*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200825/1f10bf29/attachment.htm>


More information about the systemd-devel mailing list