History log of /systemd/src/login/logind-gperf.gperf
Revision Date Author Comments Expand
90558f315844ec35e3fd4f1a19ac38c8721c9354 13-Nov-2015 Lennart Poettering <lennart@poettering.net>

logind: add a new UserTasksMax= setting to logind.conf This new setting configures the TasksMax= field for the slice objects we create for each user. This alters logind to create the slice unit as transient unit explicitly instead of relying on implicit generation of slice units by simply starting them. This also enables us to set a friendly description for slice units that way.

9d10cbee89ca7f82d29b9cb27bef11e23e3803ba 06-Mar-2015 David Herrmann <dh.herrmann@gmail.com>

login: make hold-off timeout configurable This introduces 'HoldoffTimeoutSec' to logind.conf to make IGNORE_LID_SWITCH_{SUSPEND,STARTUP}_USEC configurable. Background: If an external monitor is connected, or if the system is docked, we want to ignore LID events. This is required to support setups where a laptop is used with external peripherals while the LID is closed. However, this requires us to probe all hot-plugged devices before reacting to LID events. But with modern buses like USB, the standards do not impose any timeout on the slots, so we have no chance to know whether a given slot is used or not. Hence, after resume and startup, we have to wait a fixed timeout to give the kernel a chance to probe devices. Our timeout has always been generous enough to support even the slowest devices. However, a lot of people didn't use these features and wanted to disable the hold-off timer. Now we provide a knob to do that.

3c56cab44150ad47323970cfadfb0257c6305a74 26-Aug-2014 Ben Wolsieffer <benwolsieffer@gmail.com>

logind: add HandleLidSwitchDocked= option to logind.conf + documentation https://bugs.freedesktop.org/show_bug.cgi?id=82485

66cdd0f2d0670b054bd27dad16fcb5838b11dde3 14-Mar-2014 Lennart Poettering <lennart@poettering.net>

logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out

1c231f56482546725c4dbd3303f70300bd3c63e9 04-Mar-2014 Lennart Poettering <lennart@poettering.net>

logind: make $XDG_RUNTIME_DIR a per-user tmpfs This way each user allocates from his own pool, with its own size limit. This puts the size limit by default to 10% of the physical RAM size but makes it configurable in logind.conf.

fb6becb4436ae4078337011b2017ce294e7361cf 02-Jul-2013 Lennart Poettering <lennart@poettering.net>

logind: port over to use scopes+slices for all cgroup stuff In order to prepare things for the single-writer cgroup scheme, let's make logind use systemd's own primitives for cgroup management. Every login user now gets his own private slice unit, in which his sessions live in a scope unit each. Also, add user@$UID.service to the same slice, and implicitly start it on first login.

7f602784de4fd378120e8ebfe6d830862b9cae03 03-Apr-2013 Lennart Poettering <lennart@poettering.net>

util: rename parse_usec() to parse_sec() sinds the default unit is seconds Internally we store all time values in usec_t, however parse_usec() actually was used mostly to parse values in seconds (unless explicit units were specified to define a different unit). Hence, be clear about this and name the function about what we pass into it, not what we get out of it.

23406ce58aa7142e8df3c5c9e5ac34a01e90e3e0 24-Dec-2012 Lennart Poettering <lennart@poettering.net>

logind: add support for automatic suspend/hibernate/shutdown on idle

8e7fd6ade44ce5dde0867ba748c7978ed1206865 21-Sep-2012 Lennart Poettering <lennart@poettering.net>

logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey= The kernel and X11 distuingish these two, and Thinkpad keys have both, hence we really should distinguish them too.

beaafb2ea6be591882aef21fe19b88e3b2461087 19-Sep-2012 Lennart Poettering <lennart@poettering.net>

logind: rework power key/suspend key/lid switch handling http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html https://bugzilla.gnome.org/show_bug.cgi?id=680689 This changes the meaning of the HandlePowerKey=/HandleSleepKey=/HandleLidSwitch= setting of logind.conf

98a77df5fe8591034c48e5d56d903ee268de37f9 17-Sep-2012 Lennart Poettering <lennart@poettering.net>

logind: make sure there's always a getty available on TTY6 Previously, if X allocated all 6 TTYs (for multi-session for example) no getty would be available anymore to guarantee console-based logins. With the new ReserveVT= switch in logind.conf we can now choose one VT (6 by default) that will always be subject to autovt-style activation, i.e. we'll always have a getty on TTY6, and X will never take possession of it.

069cfc85f876bb6966cb5a9bbe0235f5064622cd 30-May-2012 Lennart Poettering <lennart@poettering.net>

logind: optionally handle power, sleep and lid switch events This takes handling of chassis power and sleep keys as well as the lid switch over from acpid. This logic is enabled by default for power and sleep keys, but not for the lid switch. If a graphical session is in the foreground no action is taken under the assumption that the graphical session does this.

eecd1362f7f4de432483b5d77c56726c3621a83a 05-May-2012 Lennart Poettering <lennart@poettering.net>

logind: implement delay inhibitor locks in addition to block inhibitor locks This is useful to allow applications to synchronously save data before the system is suspended or shut down.

4bba9156da3e1df2cee24d10d7cd88c776ef4179 31-Dec-2011 Lennart Poettering <lennart@poettering.net>

logind: move logind into its own subdirectory