]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: don't fork at all when using upstart
authorVincent Bernat <vincent@bernat.im>
Mon, 2 Oct 2017 19:52:33 +0000 (21:52 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 2 Oct 2017 20:00:15 +0000 (22:00 +0200)
commit1602c2246fbb01f50ace2e6f83b4e76d20d95adc
treeb90cd9cd656ae520c7241a4feb08143411e41c25
parent7a730affb9ff35caf779f2cd5e4fd96ffa72842a
daemon: don't fork at all when using upstart

It seems there is a bug in Upstart state machine. If the process fail
before daemonizing, Upstart says the process will be respawned but that's
not the case. Moreover, Upstart has difficulty to correctly track
daemonization of lldpd (it is confused by the additional process
spawning after initial daemonization, for some reason?).

Fix #245 (for real)
debian/lldpd.upstart