[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installinit



On Wed, Nov 07, 2007 at 08:59:00PM +0100, Sylvain Garcia wrote:
> Selon Russ Allbery <rra@debian.org>:
> > Sylvain Garcia <sylvain.garcia@aliasource.fr> writes:
> > > I would like package an application for debian and use dh_installinit
> > > for install init script, but I have problem.
> >
> > > dh_installinit has add installation script at the of postint, but when i
> > > want install my .deb the postinst script take a pause when invoke-rc.d
> > > start the init script.
> >
> > > If I want continu I must make "Ctrl + c"
> >
> > Sounds like a bug in the init script.  In particular, it sounds like the
> > init script is starting some program that's waiting for input on standard
> > input.  This would be bad when the init script is run during system boot
> > as well.
> >
> How verify if the the program start by init script wait an entry on standard
> input; because when use init y hand this script work perfectly.

When the script has run and hung, is the process started by the script
running? Then you can get its pid, check in /proc/<pid>/fd and see what
file descriptors are open.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: