[ConsoleKit] [Patch] console-kit-daemon restart when receiving SIGPOLL on Solaris

Ray Strode halfline at gmail.com
Thu Oct 15 19:01:09 PDT 2009


Hi,

> This is Solaris specific patch, won't affect other platform, I'd like to
> check in to master.
You're the maintainer of all the existing ifdef __sun solaris specific
code in ConsoleKit I believe...

> console-kit-daemon will receive SIGPOLL when VT is switched, this will
> cause c-k-d exit. It is because the process does not go into
> handle_vt_active() as we wish.
>
> We found that using signal() rather than sigaction() fix this issue.
That's odd.  Kernel bug? I know for SIGIO you need to do F_SETOWN fcntl,
maybe that applies here too?

--Ray


More information about the ConsoleKit mailing list