[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: musings on session service mgmt
- From: Colin Walters <walters redhat com>
- To: Discussions about development for the Fedora desktop <fedora-desktop-list redhat com>
- Subject: Re: musings on session service mgmt
- Date: Tue, 08 Jan 2008 12:24:45 -0500
On Tue, 2008-01-08 at 10:05 +0100, Alexander Larsson wrote:
> SIGHUP already have a defined meaning, and is normally sent when the
> controlling tty disappears.
Right.
> In an X session this would be when the
> terminal app dies. I'm not sure that extending/changing this will work
> well.
It seems analogous to me to send SIGHUP to the process group when the
desktop session ends. ConsoleKit adds a new notion of "session" defined
by the XDG_SESSION_COOKIE which includes even processes which
disassociate themselves from the initial login process group. That's
fine and should make things more robust, though I would still argue that
processes launched as part of the "normal" desktop which setsid (or more
generally "daemonize") are wrong.
Anyways, I think if David changes ConsoleKit to send SIGHUP instead of
SIGTERM/SIGKILL as he said he would, we're all happy. "nohup" etc.
continue to work unmodified.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]