G' day it seems like while librc (a part of openrc) has been moved from /lib into /usr/lib git-daemon doesn't address this issue, so in short with baselayout-2 git-daemon fail to startup silently and start-stop-daemon provide something cryptic like 'fatal: cannot handle daemon internally'. IIUC this is because of --name parameter provided to start-stop-daemon by init script i.e: [ -e /lib/librc.so ] || BL1_COMPAT="--name git-daemon" hmm... so if start-stop-daemon so sensible to 'name' let's provide a correct way to librc --- --- git-daemon.orig 2009-05-28 17:51:29.631561881 +0400 +++ git-daemon 2009-05-28 17:51:11.617024817 +0400 @@ -11,7 +11,7 @@ depend() { } start() { - [ -e /lib/librc.so ] || BL1_COMPAT="--name git-daemon" + [ -e /usr/lib/librc.so ] || BL1_COMPAT="--name git-daemon" ebegin "Starting git-daemon" start-stop-daemon --start --quiet --background \ --pidfile ${PIDFILE} ${BL1_COMPAT} \
Not a full duplicate, but close enough. *** This bug has been marked as a duplicate of bug 270646 ***