On Sun, 4 Feb 2018 15:41:37 +0000 Simon Kelley <si...@thekelleys.org.uk> wrote:
> With my dnsmasq maintainer hat on, the current arrangement looks like this. > > 1) /run/dnsmasq is a directory owned by dnsmasq:nogroup > 2) /run/dnsmasq/dnsmasq.pid gets written by dnsmasq before it drops > root, so is root:root > 3) The reason /run/dnsmasq is owned by dnsmasq is so that dnsmasq can > unlink the pidfile at shutdown, after it has dropped root and is running > as 'dnsmasq' Does dnsmasq need a PIDfile when running under systemd? Can't it just not double fork, stay in the foreground using a Type=simple systemd unit? That way the whole problem could be avoided all together. Grüße, Sven.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers