summaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)AuthorFilesLines
2018-01-04man: drop --arch from debootstrap invocationZbigniew Jędrzejewski-Szmek1-1/+1
Nowadays people use systemd on many different architectures, so we shouldn't presuppose that they are using amd64. debootstrap defaults to the native architecture and this should be good enough.
2018-01-03Merge pull request #7759 from yuwata/dbus-apiLennart Poettering1-2/+0
DBus-API: add more options in transient units
2017-12-29networkd: Tunnel allows tunnel traffic on ip6tnl devices (#7756)Susant Sahani1-0/+8
where the remote endpoint is a local host address.
2017-12-29networkd: allow to configure default/initial send/recv congestion window and ↵Susant Sahani1-0/+19
store persistentl (#7750) Currently we can only change initcwnd/initrwnd in the following way, and it does not store persistently: sudo ip route change default via 192.168.1.1 dev tun0 initcwnd 20 sudo ip route change default via 192.168.1.1 dev tun0 initrwnd 20 For more details about initcwnd/initrwnd, please look at: http://hjzhao.blogspot.com/2012/05/increase-initcwnd-for-performance.html http://www.cdnplanet.com/blog/tune-tcp-initcwnd-for-optimum-performance or google 'initcwnd initrwnd' This work allows to configure the initcwnd and initrwnd. Closes #2118
2017-12-29man: remove empty paragraphYu Watanabe1-2/+0
2017-12-26Merge pull request #7629 from poettering/condition-kernel-versionLennart Poettering4-0/+45
core,udev,networkd: add ConditionKernelVersion=
2017-12-27man: systemd: fix typo (#7746)nulsoh1-1/+1
Add missing _r_ for ctl-alt-del.target
2017-12-26condition: extend ConditionKernelVersion= with relative version checksLennart Poettering1-1/+3
Now that we have str_verscmp() in our source tree anyway, let's make it generic and reuse it for ConditionKernelVersion=.
2017-12-26Add note about kernel version unportabilityZbigniew Jędrzejewski-Szmek1-0/+5
2017-12-26core,udev,networkd: add ConditionKernelVersion=Lennart Poettering4-0/+38
This adds a simple condition/assert/match to the service manager, to udev's .link handling and to networkd, for matching the kernel version string. In this version we only do fnmatch() based globbing, but we might want to extend that to version comparisons later on, if we like, by slightly extending the syntax with ">=", "<=", ">", "<" and "==" expressions.
2017-12-27Merge pull request #7735 from poettering/rc-local-fixYu Watanabe3-0/+88
rc-local documentation
2017-12-26man: further file-hierarchy *Directory= improvementsLucas Werkmeister1-4/+4
Follow-up to @poettering’s comments in #7723: - Slightly expand on the difference between using tmpfiles.d and service directives - Mention CacheDirectory= - Mention LogsDirectory= - Abbreviate and unify some later descriptions ConfigDirectory= is not mentioned, since it does not support the functionality mentioned in the manpage which tmpfiles.d provides: copying or symlinking default configuration from /usr/share/factory. And the user package variable file locations don’t mention the directives because in user units the service can always create the directories itself (whereas in system units lesser-privileged services lack permission to create them).
2017-12-26man: add a systemd-rc-local-generator(8) man pageLennart Poettering3-0/+88
Most importantly, let's highlight the differences to the rc-local behaviour in SysV. Fixes: #7703
2017-12-23Merge pull request #7695 from yuwata/transient-socketLennart Poettering1-21/+40
DBus-API: implement transient socket unit
2017-12-23networkd: Add support for ipvlan L3s and flags (#7726)Susant Sahani1-1/+9
This works supports to configure L3S mode and flags such as bridge, private and vepa
2017-12-23Merge pull request #7620 from keszybz/two-docsLennart Poettering2-7/+18
Two docs
2017-12-23man: mention StateDirectory in file-hierarchy(7)Lucas Werkmeister1-4/+4
2017-12-23man: add explanation about transient path or socket units in systemd-runYu Watanabe1-21/+40
2017-12-22man: fix example config to conform the content of the man pageDmitry Rozhkov1-1/+1
The config example contains wrong specificator for hostname. It should be %H instead of %h as documented in the man page. Use correct specificator for hostname.
2017-12-19man: User=, Group= *never* work for mount units (#7602)Alan Jenkins1-6/+10
Old text: > Note that the User= and > Group= options are not particularly useful for mount units specifying a > "Type=" option or using configuration not specified in /etc/fstab; > mount(8) will refuse options that are not listed in /etc/fstab if it is > not run as UID 0. However I recently learnt the following: > The mount program does not read the /etc/fstab file if both device > and dir are specified. Therefore, if both device and dir are specified, the `user` or `users` options in `fstab` will not have any effect. Run as a normal user, you will always see mount: only root can do that Fix the explanation in the man page. Also make sure to markup User= and Group= with <varname>.
2017-12-19man: note that `systemctl show` does not overridden valueYu Watanabe1-3/+4
Fixes #7694.
2017-12-19man: LockPersonality= implies NoNewPrivileges=Yu Watanabe1-1/+2
2017-12-18condition: Create AssertControlGroupController (#7630)Chris Down1-0/+14
Up until now, the behaviour in systemd has (mostly) been to silently ignore failures to action unit directives that refer to an unavailble controller. The addition of AssertControlGroupController and its conditional counterpart allow explicit specification of the desired behaviour when such a situation occurs. As for how this can happen, it is possible that a particular controller is not available in the cgroup hierarchy. One possible reason for this is that, in the running kernel, the controller simply doesn't exist -- for example, the CPU controller in cgroup v2 has only recently been merged and was out of tree until then. Another possibility is that the controller exists, but has been forcibly disabled by `cgroup_disable=` on the kernel command line. In future this will also support whatever comes out of issue #7624, `DefaultXAccounting=never`, or similar.
2017-12-16man: generalize "binary" to "program" (#7668)Alan Jenkins6-17/+18
Systemd services are permitted to be scripts, as well as binary executables. The same also applies to the underlying /sbin/mount and /sbin/swapon. It is not necessary for the user to consider what type of program file these are. Nor is it necessary with systemd-nspawn, to distinguish between init as a "binary" v.s. a user-specified "program". Also fix a couple of grammar nits in the modified sentences.
2017-12-15Merge pull request #7661 from keszybz/slice-cleanupsLennart Poettering1-0/+8
Slice cleanups and systemd-mount --owner
2017-12-15mount: add option to specify uid= and gid=Zbigniew Jędrzejewski-Szmek1-0/+8
The kernel needs two numbers, but for the user it's most convenient to provide the user name and have that resolved to uid and gid. Right now the primary group of the specified user is always used. That's the most common case anyway. In the future we can extend the --owner option to allow a group after a colon. [I added this before realizing that this will not be enough to be used for user runtime directory. But this seems useful on its own, so I'm keeping this commit.]
2017-12-15man: Clarify when OnFailure= activates after restarts (#7646)Ken (Bitsko) MacLeod3-7/+11
2017-12-14Merge pull request #7469 from kinvolk/dongsu/nspawn-netnsZbigniew Jędrzejewski-Szmek1-0/+17
nspawn: introduce an option for specifying network namespace path
2017-12-14man: tone down the note that reboot/halt/poweroff are legacyZbigniew Jędrzejewski-Szmek1-2/+6
They may be old (or rather compatible implementations of old commands), but they certainly are not going away. Apart from privilege escalation through polkit, they are mostly equivalent.
2017-12-14resolve: extend systemd-resolve so that it can push per-interface DNS ↵Lennart Poettering1-2/+45
configuration into systemd-resolved (#7576) This is useful to debug things, but also to hook up external post-up scripts with resolved. Eventually this code might be useful to implement a resolvconf(8)-compatible interface for compatibility purposes. Since the semantics don't map entirely cleanly as first step we add a native interface for pushing DNS configuration into resolved, that exposes the correct semantics, before adding any compatibility interface. See: #7202
2017-12-14core: add EXTEND_TIMEOUT_USEC={usec} - prevent timeouts in ↵Daniel Black2-1/+39
startup/runtime/shutdown (#7214) With Type=notify services, EXTEND_TIMEOUT_USEC= messages will delay any startup/ runtime/shutdown timeouts. A service that hasn't timed out, i.e, start time < TimeStartSec, runtime < RuntimeMaxSec and stop time < TimeoutStopSec, may by sending EXTEND_TIMEOUT_USEC=, allow the service to continue beyond the limit for the execution phase (i.e TimeStartSec, RunTimeMaxSec and TimeoutStopSec). EXTEND_TIMEOUT_USEC= must continue to be sent (in the same way as WATCHDOG=1) within the time interval specified to continue to reprevent the timeout from occuring. Watchdog timeouts are also extended if a EXTEND_TIMEOUT_USEC is greater than the remaining time on the watchdog counter. Fixes #5868.
2017-12-14man: systemd.unit: move note about clearing lists (#7621)Daniel Black1-8/+6
This is mainly for drop-in files.
2017-12-13man: "systemd" is to be written in all lower-case, even at beginnings of ↵Lennart Poettering8-10/+10
sentences This very important commit is very important.
2017-12-13nspawn: introduce an option for specifying network namespace pathDongsu Park1-0/+17
Add a new option `--network-namespace-path` to systemd-nspawn to allow users to specify an arbitrary network namespace, e.g. `/run/netns/foo`. Then systemd-nspawn will open the netns file, pass the fd to outer_child, and enter the namespace represented by the fd before running inner_child. ``` $ sudo ip netns add foo $ mount | grep /run/netns/foo nsfs on /run/netns/foo type nsfs (rw) ... $ sudo systemd-nspawn -D /srv/fc27 --network-namespace-path=/run/netns/foo \ /bin/readlink -f /proc/self/ns/net /proc/1/ns/net:[4026532009] ``` Note that the option `--network-namespace-path=` cannot be used together with other network-related options such as `--private-network` so that the options do not conflict with each other. Fixes https://github.com/systemd/systemd/issues/7361
2017-12-13Merge pull request #7569 from keszybz/doc-reverse-settingsYu Watanabe1-94/+220
Document reverse settings
2017-12-12man: explain noauto/nofail more carefully in crypttabZbigniew Jędrzejewski-Szmek1-5/+12
https://bugzilla.redhat.com/show_bug.cgi?id=1524759
2017-12-08Merge pull request #7352 from eddiejames/masterLennart Poettering2-2/+22
Add path configuration for hardware watchdog device
2017-12-08documentation: add description for watchdog device pathEdward A. James2-2/+22
Document the command line parameter and the system configuration file setting.
2017-12-08man: normalize indentation in systemd.unit.xmlZbigniew Jędrzejewski-Szmek1-90/+89
2017-12-08man: add a table of setting inversesZbigniew Jędrzejewski-Szmek1-1/+107
It would be nicer to use <footnote> to place the notes directly in the table, but docbook renders this improperly. v2: - also add "RequiredBy=" to the notes section - remove duplicated paragraph v3: - clarify the description - drop References/ReferenceBy which are only shown in systemd-analyze dump
2017-12-08resolved: support multiple TXT RRs per DNS-SD serviceDmitry Rozhkov1-0/+8
Section 6.8 of RFC 6763 allows having service instances with multiple TXT resource records.
2017-12-08resolved: add man page for systemd.dnssdDmitry Rozhkov3-0/+252
2017-12-08man: missing whitespace (#7579)Clinton Roy1-1/+1
2017-12-07man: mention BoundsBy=, ConsistsOf=, RequisiteOf=Zbigniew Jędrzejewski-Szmek1-3/+24
Fixes #7043.
2017-12-06Merge pull request #7419 from keszybz/tmpfiles-fixesLennart Poettering3-60/+130
Tmpfiles --user mode and various fixes
2017-12-06man: improve formatting in systemd.unit.xmlZbigniew Jędrzejewski-Szmek1-4/+4
2017-12-06tmpfiles: also add %t/%S/%C/%L specifiersZbigniew Jędrzejewski-Szmek1-1/+21
sd_path_home() returns ENXIO when a variable (such as $XDG_RUNTIME_DIR) is not defined. Previously we used ENOKEY for unresolvable specifiers. To avoid having two codes, or translating ENXIO to ENOKEY, I replaced ENOKEY use with ENXIO. v2: - use sd_path_home and change to ENXIO everywhere
2017-12-06Hook up systemd-tmpfiles as user unitsZbigniew Jędrzejewski-Szmek1-4/+10
An explicit --user switch is necessary because for the user@0.service instance systemd-tmpfiles is running as root, and we need to distinguish that from systemd-tmpfiles running in systemd-tmpfiles*.service. Fixes #2208. v2: - restore "systemd-" prefix - add systemd-tmpfiles-clean.{service,timer}, systemd-setup.service to systemd-tmpfiles(8)
2017-12-06tmpfiles: add --user switchZbigniew Jędrzejewski-Szmek2-4/+18
2017-12-06tmpfiles: Add specifiers to allow running as user instanceayekat1-0/+15
This commit adds specifiers %U, %u and %h for the user UID, name and home directory, respectively. [zj: drop untrue copy-pasted comments and move the next text to the new "Specifiers" section. Now that #7444 has been merged, also drop the specifier functions.]