On 10/25/13 08:05 AM, k...@hot.ee wrote:
Hello,
Apparently xserver does not signal the parent if ppid == 1. (Launch from init
is assumed?)
Excerpt from NotifyParentProcess() in ./os/connection.c:
if (RunFromSmartParent) {
if (ParentProcess > 1) {
kill(ParentProcess, SIGUSR1);
}
}
This means startup is slow (a timeout) if xinit happens to be pid 1.
On linux, this is the case when xinit is launched into a new PID namespace.
Other than that, xinit will happily reap zombies ie be of some use.
Suggested fix: s/1/0/.
Is there any way to tell when a new PID namespace is in use? Because
if someone started the X server from inittab, killing init would be bad.
Either way, that would be #ifdef linux since I don't know of such support
in any other OS'es X runs on.
PS. Fix your mail headers to not send replies to "sokos@KLF.private"
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel