[Pkg-sysvinit-devel] Bug#756114: Bug#756114: invoke-rc.d gets stuck when run from postinst for gnukhata-core-engine

Petter Reinholdtsen pere at hungry.com
Sat Jul 26 18:41:19 UTC 2014


[Praveen Arimbrathodiyil]
> Installation never completes when 'invoke-rc.d gnukhata-core-engine
> start' is run from the terminal. It works fine on sid with systemd.
> Same issue was reported on Ubuntu
> https://bugs.launchpad.net/bugs/1348757 but Steve don't think it is
> a sysvinit bug. It is likely a bug in packaging (in that case
> consider this as RFH), can you help me fix it?

It sound like the daemon started by gnukhata-core-engine fail to close
all file descriptors.  It is known to cause the sympthoms you
describe.  To check if that is the case, have a look at
/proc/<pid>/fd/ of the daemon process, to see if it inherited some
file handles from the parent process.  Does it help to run
'invoke-rc.d gnukhata-core-engine start < /dev/null'?  In that case,
the problem is stdin not being closed.  I've also seen the problem
with packages using debconf together with daemons not closing all file
descriptors on daemonization.  In this case, db_stop can help.

If this prove to be the issue, please reassign this bug to the
gnukhata package. :)

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list