summaryrefslogtreecommitdiff
path: root/man/systemd-system.conf.xml
Commit message (Collapse)AuthorAgeFilesLines
...
* Update systemd-system.conf.xmlMikhail Kasimov2019-01-151-1/+3
| | | Updating due to phrase "Defaults to DefaultTimeoutStartSec= from the manager configuration file, except when Type=oneshot is used, in which case the timeout is disabled by default (see systemd-system.conf)" from [0] https://github.com/systemd/systemd/blob/master/man/systemd.service.xml
* cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't requiredChris Down2018-11-181-2/+3
| | | | | | | | We now don't enable the CPU controller just for CPU accounting if we are on 4.15+ and using pure unified hierarchy, as this is provided externally to the CPU controller. This makes CPUAccounting=yes essentially free, so enabling it by default when it's cheap seems like a good idea.
* core: remove JoinControllers= configuration settingLennart Poettering2018-11-161-23/+0
| | | | | | | | | | | | | | | | This removes the ability to configure which cgroup controllers to mount together. Instead, we'll now hardcode that "cpu" and "cpuacct" are mounted together as well as "net_cls" and "net_prio". The concept of mounting controllers together has no future as it does not exist to cgroupsv2. Moreover, the current logic is systematically broken, as revealed by the discussions in #10507. Also, we surveyed Red Hat customers and couldn't find a single user of the concept (which isn't particularly surprising, as it is broken...) This reduced the (already way too complex) cgroup handling for us, since we now know whenever we make a change to a cgroup for one controller to which other controllers it applies.
* man: fix wording a bit on the cgroup accountings options (#10509)Lennart Poettering2018-10-251-3/+3
| | | | | | | | | The &MEMORY_ACCOUNTING_DEFAULT; resolves to "yes" or "no" while the rest of the paragraph talked about "on" and "off". Let's adjust this and stick to "yes" and "no"... Quite frankly I think it's not a particularly good idea to change the docs based configuration changes... THis can only be incomplete, and the wording is still very awkward since we repeat the same sentence twice.
* man: document CPUAffinity= in system.conf in more detailLennart Poettering2018-07-251-5/+5
| | | | Fixes: #9692
* man: drop mode line in file headersZbigniew Jędrzejewski-Szmek2018-07-031-1/+1
| | | | | This is already included in .dir-locals, so we don't need it in the files themselves.
* man: add missing option for system.confYu Watanabe2018-06-261-2/+3
|
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-9/+0
| | | | | | | | | | | | Docbook styles required those to be present, even though the templates that we use did not show those names anywhere. But something changed semi-recently (I would suspect docbook templates, but there was only a minor version bump in recent years, and the changelog does not suggest anything related), and builds now work without those entries. Let's drop this dead weight. Tested with F26-F29, debian unstable. $ perl -i -0pe 's/\s*<authorgroup>.*<.authorgroup>//gms' man/*xml
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* man: add a new page with a general description of common syntaxZbigniew Jędrzejewski-Szmek2018-04-181-1/+3
| | | | | | | | We have a common parser, but for the user it might be completely unobvious that the same general rules apply to all those files. Let's add a page about the basic syntax so that the more specific pages don't have to repeat those details.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Merge pull request #8533 from poettering/bootup-shutdown-phase2Zbigniew Jędrzejewski-Szmek2018-03-231-25/+21
|\ | | | | extend docs on second phase of shutdown and watchdog handling
| * man: watchdog documentation improvementsLennart Poettering2018-03-211-25/+21
| |
* | main: add NoNewPrivileges config option (#8475)juergbi2018-03-211-0/+15
|/ | | This makes it possible to disable new privileges for the whole system.
* meson: add -Dmemory-accounting-default=true|falseZbigniew Jędrzejewski-Szmek2018-02-151-3/+7
| | | | | This makes it easy to set the default for distributions and users which want to default to off because they primarily use older kernels.
* pid1: turn memory accounting on by default nowLennart Poettering2018-02-091-2/+2
| | | | | | | | | | | After discussions with @htejun it appears it's OK now to enable memory accounting by default for all units without affecting system performance too badly. facebook has made good experiences with deploying memory accounting across their infrastructure. This hence turns MemoryAccounting= from opt-in to opt-out, similar to how TasksAccounting= is already handled. The other accounting options remain off, their performance impact is too big still.
* documentation: add description for watchdog device pathEdward A. James2017-12-081-2/+13
| | | | | Document the command line parameter and the system configuration file setting.
* Add SPDX license identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* man: document the new ip accounting and filting directivesDaniel Mack2017-09-221-9/+6
|
* man: improve ShowStatus=/systemd.show_status=/--show-status= documentationLennart Poettering2016-12-211-6/+4
| | | | Fixes: #4928
* man: fix typos (#4527)Jakub Wilk2016-10-311-1/+1
|
* core: use emergency_action for ctr+alt+del burstLukas Nykryn2016-10-211-2/+3
| | | | Fixes #4306
* man: typo fixesThomas Hindoe Paaboel Andersen2016-10-121-1/+1
| | | | A mix of fixes for typos and UK english
* core: add possibility to set action for ctrl-alt-del burst (#4105)Lukáš Nykrýn2016-10-061-0/+11
| | | | | | For some certification, it should not be possible to reboot the machine through ctrl-alt-delete. Currently we suggest our customers to mask the ctrl-alt-delete target, but that is obviously not enough. Patching the keymaps to disable that is really not a way to go for them, because the settings need to be easily checked by some SCAP tools.
* core: change TasksMax= default for system services to 15%Lennart Poettering2016-07-221-5/+4
| | | | | | | | | | | | | | | | | As it turns out 512 is max number of tasks per service is hit by too many applications, hence let's bump it a bit, and make it relative to the system's maximum number of PIDs. With this change the new default is 15%. At the kernel's default pids_max value of 32768 this translates to 4915. At machined's default TasksMax= setting of 16384 this translates to 2457. Why 15%? Because it sounds like a round number and is close enough to 4096 which I was going for, i.e. an eight-fold increase over the old 512 Summary: | on the host | in a container old default | 512 | 512 new default | 4915 | 2457
* core: rename StartLimitInterval= to StartLimitIntervalSec=Lennart Poettering2016-04-291-3/+3
| | | | | | | | | We generally follow the rule that for time settings we suffix the setting name with "Sec" to indicate the default unit if none is specified. The only exception was the rate limiting interval settings. Fix this, and keep the old names for compatibility. Do the same for journald's RateLimitInterval= setting
* core: support <soft:hard> ranges for RLIMIT optionsKarel Zak2015-11-251-7/+20
| | | | | | | | | | | | | | | | | | | The new parser supports: <value> - specify both limits to the same value <soft:hard> - specify both limits the size or time specific suffixes are supported, for example LimitRTTIME=1sec LimitAS=4G:16G The patch introduces parse_rlimit_range() and rlim type (size, sec, usec, etc.) specific parsers. No code is duplicated now. The patch also sync docs for DefaultLimitXXX= and LimitXXX=. References: https://github.com/systemd/systemd/issues/1769
* core: enable TasksMax= for all services by default, and set it to 512Lennart Poettering2015-11-161-2/+4
| | | | | | | | Also, enable TasksAccounting= for all services by default, too. See: http://lists.freedesktop.org/archives/systemd-devel/2015-November/035006.html
* core: add new DefaultTasksMax= setting for system.confLennart Poettering2015-11-131-1/+12
| | | | | This allows initializing the TasksMax= setting of all units by default to some fixed value, instead of leaving it at infinity as before.
* core: support IEC suffixes for RLIMIT stuffKarel Zak2015-11-061-2/+4
| | | | | | | | | | | | | | | | | Let's make things more user-friendly and support for example LimitAS=16G rather than force users to always use LimitAS=16106127360. The change is relevant for options: [Default]Limit{FSIZE,DATA,STACK,CORE,RSS,AS,MEMLOCK,MSGQUEUE} The patch introduces config_parse_bytes_limit(), it's the same as config_parse_limit() but uses parse_size() tu support the suffixes. Addresses: https://github.com/systemd/systemd/issues/1772
* man: Update man page documentation for CPUAffinityFilipe Brandenburger2015-10-271-2/+4
| | | | | | | Document support for commas as a separator and possibility of specifying ranges of CPU indices. Tested by regenerating the manpages locally and reading them on man.
* core: rework crash handlingLennart Poettering2015-09-291-1/+2
| | | | | | | | | | | | | | | | | | | This introduces a new systemd.crash_reboot=1 kernel command line option that triggers a reboot after crashing. This also cleans up crash VT handling. Specifically, it cleans up the configuration setting, to be between 1..63 or a boolean. This is to replace the previous logic where "-1" meant disabled. We continue to accept that setting, but only document the boolean syntax instead. This also brings the documentation of the default settings in sync with what actually happens. The CrashChVT= configuration file setting is renamed to CrashChangeVT=, following our usual logic of not abbreviating unnecessarily. The old setting stays support for compat reasons. Fixes #1300
* core: add support for the "pids" cgroup controllerLennart Poettering2015-09-101-10/+12
| | | | | | | | | | | | | | | | | | | This adds support for the new "pids" cgroup controller of 4.3 kernels. It allows accounting the number of tasks in a cgroup and enforcing limits on it. This adds two new setting TasksAccounting= and TasksMax= to each unit, as well as a gloabl option DefaultTasksAccounting=. This also updated "cgtop" to optionally make use of the new kernel-provided accounting. systemctl has been updated to show the number of tasks for each service if it is available. This patch also adds correct support for undoing memory limits for units using a MemoryLimit=infinity syntax. We do the same for TasksMax= now and hence keep things in sync here.
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-10/+7
| | | | | | | | | | | | | | | | | | | | | | | 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-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: document default timeouts and start limit parametersLennart Poettering2015-04-071-2/+9
|
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-131-1/+1
| | | | All hail linkchecker!
* Do not advertise .d snippets over main config fileZbigniew Jędrzejewski-Szmek2015-03-031-2/+1
| | | | | | | | | | 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-417/+330
|
* core: Support system.conf.d and user.conf.d directories in the usual search ↵Josh Triplett2014-11-291-5/+20
| | | | paths
* core: remove system start timeout logic againLennart Poettering2014-10-281-26/+0
| | | | | | | | | | | | The system start timeout as previously implemented would get confused by long-running services that are included in the initial system startup transaction for example by being cron-job-like long-running services triggered immediately at boot. Such long-running jobs would be subject to the default 15min timeout, esily triggering it. Hence, remove this again. In a subsequent commit, introduce per-target job timeouts instead, that allow us to control these timeouts more finegrained.
* core: introduce "poweroff" as new failure action typesLennart Poettering2014-08-221-1/+1
| | | | Also, change the default action on a system start-up timeout to powering off.
* core: add support for a configurable system-wide start-up timeoutLennart Poettering2014-08-221-1/+26
| | | | | | | | | | | | | | | | | | | When this system-wide start-up timeout is hit we execute one of the failure actions already implemented for services that fail. This should not only be useful on embedded devices, but also on laptops which have the power-button reachable when the lid is closed. This devices, when in a backpack might get powered on by accident due to the easily reachable power button. We want to make sure that the system turns itself off if it starts up due this after a while. When the system manages to fully start-up logind will suspend the machine by default if the lid is closed. However, in some cases we don't even get as far as logind, and the boot hangs much earlier, for example because we ask for a LUKS password that nobody ever enters. Yeah, this is a real-life problem on my Yoga 13, which has one of those easily accessible power buttons, even if the device is closed.
* man: add a mapping for external manpagesZbigniew Jędrzejewski-Szmek2014-07-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | It is annoying when we have dead links on fd.o. Add project='man-pages|die-net|archlinux' to <citerefentry>-ies. In generated html, add external links to http://man7.org/linux/man-pages/man, http://linux.die.net/man/, https://www.archlinux.org/. By default, pages in sections 2 and 4 go to man7, since Michael Kerrisk is the autorative source on kernel related stuff. The rest of links goes to linux.die.net, because they have the manpages. Except for the pacman stuff, since it seems to be only available from archlinux.org. Poor gummiboot gets no link, because gummitboot(8) ain't to be found on the net. According to common wisdom, that would mean that it does not exist. But I have seen Kay using it, so I know it does, and deserves to be found. Can somebody be nice and put it up somewhere?
* cgroups: simplify CPUQuota= logicLennart Poettering2014-05-221-12/+0
| | | | | | | | | Only accept cpu quota values in percentages, get rid of period definition. It's not clear whether the CFS period controllable per-cgroup even has a future in the kernel, hence let's simplify all this, hardcode the period to 100ms and only accept percentage based quota values.
* core: expose CFS CPU time quota as high-level unit propertiesLennart Poettering2014-04-251-0/+12
|
* core: add a setting to globally control the default for timer unit accuracyLennart Poettering2014-03-241-3/+25
|
* core: add global settings for enabling CPUAccounting=, MemoryAccounting=, ↵Lennart Poettering2014-02-241-6/+25
| | | | BlockIOAccounting= for all units at once