[systemd-devel] (no subject)

Lennart Poettering lennart at poettering.net
Tue Sep 11 23:34:39 PDT 2012


On Mon, 03.09.12 23:46, Colin Guthrie (colin at mageia.org) wrote:

> Hi,

Heya,
> 
> OK, so these are the changes I'd propose to fix the issues mentioned
> in this thread. I've not tested them so this is more for general
> feedback as to whether this approach is generally a good one or not.
> 
> The initial patch is just extra debugging I added to try and work out
> why my gdm session is not marked with type=greeter so seems like a
> generally useful change when in debug mode.

I merged all your patches. Thanks!

I made one little change though: the require_active parameter now is a
tree state:

< 0   -- return *all* sessions/seats of a user
== 0  -- return online/active sessions/seats of a user
> 0   -- return active sessions/seats of a user

I think this is the nicest way to model this. It does change a bit the
meaning of the param from before but one could argue that this change
actually unbreaks PA without making any changes necessary in PA, right? 

(I update the man page accordingly)

Thanks for the thorough investigation of the problem and the flawless
patches!

Thanks,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list