Note that this issue is lifted in the next patch which uses daemon(0,0) where there is no grand-parent in linux (systemd) systems.