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

Re: dh_installinit

This one time, at band camp, Sylvain Garcia said:
> 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.

strace the process - if it is waiting on input, it will be stuck in a
read on an fd.  Compare that fd to the list /proc/$pid/fd - it will
likely just be stdin.
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |

Attachment: signature.asc
Description: Digital signature

Reply to: