summaryrefslogtreecommitdiff
path: root/man/logind.conf.xml
Commit message (Collapse)AuthorAgeFilesLines
* doc: spell out handle-* options, use <literal> syntax (#5673)Michael Biebl2017-03-311-4/+6
|
* man: clarify that handle-lid-switch is a low level inhibitor lock (#5662)Michael Biebl2017-03-301-1/+2
| | | | | | | … like the other handle-*-key inhibitor locks. Follow-up for 05b2a8fd7a0533758d2f532df798cabc3c442683 Fixes: #5647
* man: typo fixesThomas Hindoe Paaboel Andersen2016-10-121-1/+1
| | | | A mix of fixes for typos and UK english
* Merge pull request #3961 from keszybz/pr/3924Lennart Poettering2016-08-191-16/+26
|\ | | | | Add documentation to #3924
| * man: explain that *KeyIgnoreInhibited only apply to a subset of locksZbigniew Jędrzejewski-Szmek2016-08-141-16/+26
| | | | | | | | Follow-up for #3924.
* | logind: update empty and "infinity" handling for [User]TasksMax (#3835)Tejun Heo2016-08-181-2/+3
|/ | | | | | | | | | | | | | | | The parsing functions for [User]TasksMax were inconsistent. Empty string and "infinity" were interpreted as no limit for TasksMax but not accepted for UserTasksMax. Update them so that they're consistent with other knobs. * Empty string indicates the default value. * "infinity" indicates no limit. While at it, replace opencoded (uint64_t) -1 with CGROUP_LIMIT_MAX in TasksMax handling. v2: Update empty string to indicate the default value as suggested by Zbigniew Jędrzejewski-Szmek. v3: Fixed empty UserTasksMax handling.
* logind: change TasksMax= value for user logins to 33%Lennart Poettering2016-07-221-5/+4
| | | | | | | | | | | | | | | | | | | | Let's change from a fixed value of 12288 tasks per user to a relative value of 33%, which with the kernel's default of 32768 translates to 10813. This is a slight decrease of the limit, for no other reason than "33%" sounding like a nice round number that is close enough to 12288 (which would translate to 37.5%). (Well, it also has the nice effect of still leaving a bit of room in the PID space if there are 3 cooperating evil users that try to consume all PIDs... Also, I like my bikesheds blue). Since the new value is taken relative, and machined's TasksMax= setting defaults to 16384, 33% inside of containers is usually equivalent to 5406, which should still be ample space. To summarize: | on the host | in the container old default | 12288 | 12288 new default | 10813 | 5406
* logind: enforce a limit on inhibitors we hand outLennart Poettering2016-05-051-0/+7
| | | | | | | | For similar reasons as the recent addition of a limit on sessions. Note that we don't enforce a limit on inhibitors per-user currently, but there's an implicit one, since each inhibitor takes up one fd, and fds are limited via RLIMIT_NOFILE, and the limit on the number of processes per user.
* logind: enforce a limit on current user sessionsLennart Poettering2016-05-051-0/+9
| | | | | | | | | | | We really should put limits on all resources we manage, hence add one to the number of concurrent sessions, too. This was previously unbounded, hence set a relatively high limit of 8K by default. Note that most PAM setups will actually invoke pam_systemd prefixed with "-", so that the return code of pam_systemd is ignored, and the login attempt succeeds anyway. On systems like this the session will be created but is not tracked by systemd.
* treewide: fix typos (#3092)Torstein Husebø2016-04-221-1/+1
|
* logind: make KillOnlyUsers override KillUserProcessesZbigniew Jędrzejewski-Szmek2016-04-211-12/+13
| | | | | | | Instead of KillOnlyUsers being a filter for KillUserProcesses, it can now be used to specify users to kill, independently of the KillUserProcesses setting. Having the settings orthogonal seems to make more sense. It also makes KillOnlyUsers symmetrical to KillExcludeUsers.
* logind: flip KillUserProcesses to on by defaultZbigniew Jędrzejewski-Szmek2016-04-211-1/+1
| | | | | | | | | | | | | | | | | | This ensures that users sessions are properly cleaned up after. The admin can still enable or disable linger for specific users to allow them to run processes after they log out. Doing that through the user session is much cleaner and provides better control. dbus daemon can now be run in the user session (with --enable-user-session, added in 1.10.2), and most distributions opted to pick this configuration. In the normal case it makes a lot of sense to kill remaining processes. The exception is stuff like screen and tmux. But it's easy enough to work around, a simple example was added to the man page in previous commit. In the long run those services should integrate with the systemd users session on their own. https://bugs.freedesktop.org/show_bug.cgi?id=94508 https://github.com/systemd/systemd/issues/2900
* man: expand description of lingering and KillUserProcesses settingZbigniew Jędrzejewski-Szmek2016-04-211-17/+32
| | | | | | | | | | The description in the man page was wrong, KillUserProcesses does not kill all processes of the user. Describe what the setting does, and also add links between the relavant sections of the manual. Also, add an extensive example which shows how to launch screen in the background.
* man: document that logind's RemoveIPC= option excepts all system usersLennart Poettering2016-01-261-9/+5
| | | | Fixes #2324.
* logind: update documentation for cf7d1a30e44Mantas Mikulėnas2016-01-261-1/+1
|
* logind: change default to UserTasksMax= to 4096Lennart Poettering2015-11-161-1/+1
|
* logind: add a new UserTasksMax= setting to logind.confLennart Poettering2015-11-131-2/+13
| | | | | | | | | | 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.
* doc: correct orthography, word forms and missing/extraneous wordsJan Engelhardt2015-11-061-2/+2
|
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-7/+4
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-131-1/+1
| | | | All hail linkchecker!
* login: make hold-off timeout configurableDavid Herrmann2015-03-061-0/+15
| | | | | | | | | | | | | | | | | 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.
* Do not advertise .d snippets over main config fileZbigniew Jędrzejewski-Szmek2015-03-031-3/+5
| | | | | | | | | | For daemons which have a main configuration file, there's little reason for the administrator to use configuration snippets. They are useful for packagers which need to override settings, but we shouldn't advertise that as the main way of configuring those services. https://bugs.freedesktop.org/show_bug.cgi?id=89397
* man: boilerplate unificationZbigniew Jędrzejewski-Szmek2015-02-101-1/+0
|
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-031-340/+268
|
* man: Factor out a common snippet for .d directories and precedenceJosh Triplett2014-11-291-22/+5
| | | | | | | Several manpages contain duplicate text describing a standard set of .d configuration directories, with the usual sorting, precedence, overrides, and so on. Factor this common text out using XInclude before proliferating it even further.
* man/logind.conf.xml: Make "man logind.conf.d" work tooJosh Triplett2014-11-291-0/+1
|
* logind: Support logind.conf.d directories in the usual search pathsJosh Triplett2014-11-261-3/+26
| | | | | | | | | | | This makes it possible to drop in logind configuration snippets from a package or other configuration management mechanism. Add documentation to the header of /etc/logind.conf pointing the user at /etc/logind.conf.d/*.conf. Introduce a new helper, conf_parse_many, to parse configuration files in a search path.
* man/logind.conf.xml: make consistent with default logind.confChris Atkinson2014-11-221-3/+3
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=86263
* man: remove another gendered pronounKlaus Purer2014-10-241-1/+1
|
* logind: add HandleLidSwitchDocked= option to logind.conf + documentationBen Wolsieffer2014-08-261-5/+11
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=82485
* man: logind.conf: fix grammar issues, unclear wording, and unclear default ↵Jason St. John2014-05-161-21/+21
| | | | values
* doc: comma placement corrections and word orderJan Engelhardt2014-05-071-2/+2
| | | | | Set commas where there should be some. Some improvements to word order.
* logind: automatically remove SysV + POSIX IPC objects when the users owning ↵Lennart Poettering2014-03-141-0/+20
| | | | them fully log out
* logind: make $XDG_RUNTIME_DIR a per-user tmpfsLennart Poettering2014-03-041-0/+22
| | | | | | | 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.
* logind: ignore lid switch if more than 1 display is connectedLennart Poettering2014-03-031-5/+9
| | | | | | | | | | Previously we expected the desktop environment to take an inhibitor lock, but this opened a race on boot-up where logind might already be running but no DE is active. Hence, let's move checking for additional displays into logind. This also opens up this logic for other DEs, given that only GNOME implemented the inhibitor logic so far.
* logind: restore logic to kill user processes when session endsLennart Poettering2013-08-131-73/+28
|
* man: improve word usage and grammar in logind.conf(5)Jason St. John2013-07-091-16/+17
|
* man: more grammar improvementsJan Engelhardt2013-07-031-8/+8
| | | | | | - place commas - expand contractions (this is written prose :) - add some missing words
* man: improve grammar and word formatting in numerous man pagesJason St. John2013-07-021-13/+13
| | | | | | | | | | Use proper grammar, word usage, adjective hyphenation, commas, capitalization, spelling, etc. To improve readability, some run-on sentences or sentence fragments were revised. [zj: remove the space from 'file name', 'host name', and 'time zone'.]
* man: fix some typosThomas Hindoe Paaboel Andersen2013-03-131-1/+1
|
* build-sys: do not install logind manpages when disabledZbigniew Jędrzejewski-Szmek2013-03-041-1/+1
| | | | The condition was wrong: HAVE_PAM -> ENABLE_LOGIND.
* man: clarify how to configure default control group hierarchies for services ↵Lennart Poettering2013-02-271-5/+20
| | | | and sessions
* man: rename systemd.conf to systemd-system.confZbigniew Jędrzejewski-Szmek2013-02-131-1/+1
| | | | | | | Alias as systemd-user.conf is also provided. This should help users running systemd in session mode. https://bugzilla.redhat.com/show_bug.cgi?id=690868
* build-sys: create Makefile-man.am automaticallyZbigniew Jędrzejewski-Szmek2013-02-061-1/+1
| | | | | | | | | | | | | | | | | | | man rules were repeating the same information in too many places, which was error prone. Those rules can be easily generated from .xml files. For efficiency and because python is not a required dependency, Makefile-man.am is only regenerated when requested with make update-man-list If no metadata in man/*.xml changed, this file should not change. So only when a new man page or a new alias is added, this file should show up in 'git diff'. The change should then be committed. If the support for building from git without python was dropped, we could drop Makefile-man.am from version control. This would also increase the partial build time (since more stuff would be rebuild whenever sources in man/*.xml would be modified), so it would probably wouldn't be worth it.
* man: document logind's IdleAction= and IdleActionSec=Lennart Poettering2013-01-161-0/+38
|
* logind: add 'lock' as possible choice for handling hw keysLennart Poettering2012-10-281-6/+9
|
* man/logind.conf.xml: Add missing 'suspend' value for Handle*Key options.Thomas Bächler2012-10-281-1/+2
|
* logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering2012-10-281-2/+3
|
* logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey=Lennart Poettering2012-09-211-7/+13
| | | | | The kernel and X11 distuingish these two, and Thinkpad keys have both, hence we really should distinguish them too.