Systemd/src/login
Zbigniew Jędrzejewski-Szmek 2841493927 Use a dash-truncated drop-in for user-%j.slice configuration
This removes the UserTasksMax= setting in logind.conf. Instead, the generic
TasksMax= setting on the slice should be used. Instead of a transient unit we
use a drop-in to tweak the default definition of a .slice. It's better to use
the normal unit mechanisms instead of creating units on the fly. This will also
make it easier to start user@.service independently of logind, or set
additional settings like MemoryMax= for user slices.

The setting in logind is removed, because otherwise we would have two sources
of "truth": the slice on disk and the logind config. Instead of trying to
coordinate those two sources of configuration (and maintainer overrides to
both), let's just convert to the new one fully.

Right now now automatic transition mechanism is provided. logind will emit a
hint when it encounters the setting, but otherwise it will be ignored.

Fixes #2556.
2018-04-25 16:18:45 +02:00
..
70-power-switch.rules Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
70-uaccess.rules rules: add a missing comma in 70-uaccess.rules since it improves readability 2018-02-27 14:37:01 +01:00
71-seat.rules.in Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
73-seat-late.rules.m4 login/meson.build: require ACL for uaccess rules 2018-01-27 10:55:32 +01:00
inhibit.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
loginctl.c loginctl: port loginctl to format-table.[ch] 2018-04-18 12:51:15 +02:00
logind-acl.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-acl.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-action.c Merge pull request #8700 from keszybz/hibernation 2018-04-11 10:26:27 +02:00
logind-action.h Merge pull request #8700 from keszybz/hibernation 2018-04-11 10:26:27 +02:00
logind-button.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-button.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-core.c logind: move two functions to logind_core utility lib 2018-04-24 09:59:03 +02:00
logind-dbus.c Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind-device.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-device.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-gperf.gperf Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind-inhibit.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-inhibit.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-seat-dbus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-seat.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-seat.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-session-dbus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-session-device.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-session-device.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-session.c tree-wide: drop spurious newlines (#8764) 2018-04-19 12:13:23 +02:00
logind-session.h logind: enable limiting of user session scopes using pam context objects (#8397) 2018-04-17 16:42:44 +02:00
logind-user-dbus.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind-user.c Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind-user.h Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind-utmp.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
logind.c logind: move two functions to logind_core utility lib 2018-04-24 09:59:03 +02:00
logind.conf.in Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind.h Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
meson.build logind: move two functions to logind_core utility lib 2018-04-24 09:59:03 +02:00
org.freedesktop.login1.conf Rename suspend-to-hibernate to suspend-then-hibernate 2018-03-28 15:11:10 -05:00
org.freedesktop.login1.policy meson: drop unnecessary "transformation" of policy files 2018-02-16 13:01:12 +01:00
org.freedesktop.login1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
pam_systemd.c logind: enable limiting of user session scopes using pam context objects (#8397) 2018-04-17 16:42:44 +02:00
pam_systemd.sym Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
sysfs-show.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
sysfs-show.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
systemd-user.m4 pam: include pam_keyinit.so in our PAM fragments 2016-12-13 20:59:36 +01:00
test-inhibit.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
test-login-shared.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
test-login-tables.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00