Hello William, I am currently investigating boot speed improvements, and one particular item is that gdm hangs half a second in ConsoleKit.OpenSession(). The reason is that it synchronously calls all run-seat.d/* scripts, which includes udev-acl.ck. I'm working on speeding up udev-acl.ck, but I need to discuss that with Kay Sievers first. However, I wondered why it is synchronous in the first place: The hooks are called with a couple of environment variables, but CK does not read any kind of result from them. In other words, the scripts can't influence session properties, nor abort the creation of a session. Is there a particular reason for CK to wait on all the hooks? If not, I'm happy to work on a patch to call those in the background. The only thing to watch out for, as far as I can see, is that a call to the hooks must not overlap with the next seat change, so this requires some locking. Thank you, and Merry Christmas, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Attachment:
signature.asc
Description: Digital signature