]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: don't enable ProtectSystem by default
authorVincent Bernat <vincent@bernat.ch>
Fri, 30 Nov 2018 21:48:36 +0000 (22:48 +0100)
committerVincent Bernat <vincent@bernat.ch>
Fri, 30 Nov 2018 21:50:33 +0000 (22:50 +0100)
commitd39a304d0b68e68605908c04a6b23c6167344842
treef904c881ecabf39f1ba9f0c99b9afde62e8a9c9a
parent2f4ff3072b954752ad53254a0c624ac5a46e2f89
daemon: don't enable ProtectSystem by default

If the chroot is in `/usr` (like `/usr/local/var/run/lldpd` which is
the default), neither systemd nor lldpd will be able to create and
write to it. This may be solved with `ReadWritePaths` (unsure if it
would create the directory), but this doesn't exist in older versions
of systemd.

Just comment the directive to let people know it exists and should
work in most cases.

Fix #308
src/daemon/lldpd.service.in