[Buildroot] [PATCH v2] package/{bandwithd, dhcpcd, htpdate, minidlna, nginx, nss-pam-ldapd, openvmtools}: use PIDFile=/run in systemd services

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Sep 16 06:45:36 UTC 2020


Hello,

On Tue, 15 Sep 2020 23:56:45 +0200
Michael Nosthoff via buildroot <buildroot at busybox.net> wrote:

> Fixes:
> 
> systemd[1]: /usr/lib/systemd/system/nginx.service:7: PIDFile= references
> a path below legacy directory /var/run/, updating /var/run/nginx.pid →
> /run/nginx.pid; please update the unit file accordingly.
> 
> Details:
>  - https://github.com/systemd/systemd/pull/10712
> 
> Signed-off-by: Michael Nosthoff <buildroot at heine.tech>

I think we would normally prefer one patch for each. For example, for
htpdate, we also need to fix the PIDFile path so that it has a .pid
extension.

Also, is there something that needs to be done with Postgresql:

package/postgresql/postgresql.service:PIDFile=/var/lib/pgsql/postmaster.pid

is it expected to have the PIDFile in /var/lib ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list