User bus conclusion

David Zeuthen zeuthen at gmail.com
Tue Nov 9 18:29:24 PST 2010


Hi,

On Tue, Nov 9, 2010 at 9:08 PM, Havoc Pennington <hp at pobox.com> wrote:
> What you're doing is changing
> how the OS will define a session. The bus still corresponds to a
> session.

Really depends on what you mean by session. FWIW, the OS will still
need to be able to enumerate all user logins (roughly corresponding to
the existing session bus type) in addition to groups of logins
(corresponding to the newly proposed bus type)

 UserOnHost(user=alice)
   LoginSession1(ssh)
   LoginSession2(LocalMonitor0, active)
 UserOnHost(user=bob)
   LoginSession3(ssh)
   LoginSession4(LocalMonitor0, inactive)
 UserOnHost(user=mallory)
   LoginSession5(LocalMonitor1)

to handle e.g. authorization and other bookkeeping.

FWIW, I don't think it's helpful changing the session bus scope -
especially not as it's already defined in the D-Bus spec (as being
one-to-one with the (X server instance, uid) pairs).

     David


More information about the dbus mailing list