]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: don't fork at all when using upstart fix/upstart-stop 248/head
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 19:58:27 +0000 (21:58 +0200)
commit69bd70195d3a1442ef17fc8ce833dcbe0d000a9e
treeb90cd9cd656ae520c7241a4feb08143411e41c25
parent72f06a05d58f60ba958a33af124903fed3235883
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