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

Re: Bug#222076: /etc/init.d/xdm: if stop from within, cannot start again



tag 222076 + wontfix
retitle 222076 xdm: init script's execution can be terminated prematurely if invoke-rc.d run from child process of xdm
thanks

On Sun, Nov 23, 2003 at 05:09:38AM +0800, Dan Jacobson wrote:
> Package: xdm
> Version: 4.2.1-13
> Severity: important
> File: /etc/init.d/xdm
> 
> If one issues
> # invoke-rc.d xdm stop
> from a shell _inside xdm_, PIDFILE is not cleaned up before our shell
> process is killed, therefore any subsequent
> # invoke-rc.d xdm start
> will fail, [even though on the tty it just says 'starting', the bad
> news only going into the log.]
> 
> The user will probably have to nohup the stop command, or do it from
> outside the xdm process tree (e.g. go to tty1)

To be solved properly this would require some sort of signaling
mechanism detacted from most of the normal process hierarchy; say, an
"invoke-rc.dd" (daemon) with which invoke-rc.d communicated.

The problem described is far more general and does not apply only to
xdm.

Tagging wontfix.  Someday this may get reassigned to an init package.

-- 
G. Branden Robinson                |    Humor is a rubber sword - it allows
Debian GNU/Linux                   |    you to make a point without drawing
branden@debian.org                 |    blood.
http://people.debian.org/~branden/ |    -- Mary Hirsch

Attachment: signature.asc
Description: Digital signature


Reply to: