solaris /dev/console patch

Rémi Cardona remi.cardona at free.fr
Thu Apr 27 12:45:57 PDT 2006


Robert McQueen wrote:
> bJohn (J5) Palmieri wrote:
>> Actually I wouldn't mind moving to the active TTY semantics.  
> 
> I'm CCing Matthew Garrett on this thread, he wrote the patch and the
> pam_foreground stuff for Ubuntu, so can hopefully comment better about
> how we can get this stuff unified, and obviously the Ubuntu D-Bus
> maintainer is keen to reduce their delta from upstream. The patch adds a
> SUID helper program which is used to make the ioctl to find the current
> foreround console, and then checks for the existence of per-user
> per-console lockfiles created by their PAM module.
> 
> Similar to Havoc's suggestions for implementing system-specific policies
> for looking up the location of existing buses, a simple idea could be
> just to say that the at console policy is always implemented by a helper
> program. Then we could avoid too many conditional compilations within
> the code itself, and just have our configure script choose which one to
> compile and install based on which system we're on. How does this sound?

What about a distro-specific backend à la NetworkManager with a 
--with-distro option during ./configure ? What would be the drawbacks 
for dbus ?

Rémi Cardona


More information about the dbus mailing list