]> git.ipfire.org Git - thirdparty/lldpd.git/commit
privsep: put /etc/localtime in chroot
authorVincent Bernat <bernat@luffy.cx>
Wed, 23 Oct 2013 08:01:12 +0000 (10:01 +0200)
committerVincent Bernat <bernat@luffy.cx>
Wed, 23 Oct 2013 08:02:22 +0000 (10:02 +0200)
commitb6312220edf577198716775a82ff96280b07b545
treeca0be0bfbf82dab29356bd07fbddb7c3643eafd3
parent4006b64e3a92f3e7168873588409283a4d6625fc
privsep: put /etc/localtime in chroot

The chroot directory was created by lldpd if missing. We also copy
`/etc/localtime` in it if not already present. This allows us to
remove duplicate code in many init scripts. Since this file is not
essential, we don't make a fuzz for some edge cases.
NEWS
debian/lldpd.init.d
debian/lldpd.upstart
redhat/lldpd.init
redhat/lldpd.init.suse
src/daemon/lldpd.c
src/daemon/lldpd.service.in
src/daemon/priv.c