summaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02Merge v244 into tizenAdrian Szyndela67-2647/+3348
systemd v244
2020-03-27Merge v243 into tizenAdrian Szyndela91-1039/+3940
systemd v243
2020-03-27Merge v242 into tizenAdrian Szyndela300-4312/+4816
systemd v242
2020-03-27Merge v241 into tizensandbox/adrians/upgrade-to-241Adrian Szyndela41-270/+383
systemd 241
2020-03-26Merge v240 into tizenAdrian Szyndela205-2516/+8128
systemd 240
2020-03-26(backport) core: remove JoinControllers= configuration settingsandbox/adrians/upgrade-to-239Lennart Poettering1-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. Change-Id: I0eadd5f685980bd006134991310c0688ba7a86c5
2020-03-26Merge v239 into tizenAdrian Szyndela278-8635/+4482
systemd 239
2020-03-26Merge v238 into tizenAdrian Szyndela24-331/+755
systemd 238
2020-03-04bus: optionally call a callbacks for cleanupZbigniew Jędrzejewski-Szmek2-0/+109
This adds a function sd_bus_slot_set_destroy_callback() to set a function which can free userdata or perform other cleanups. sd_bus_slot_get_destory_callback() queries the callback, and is included for completeness. Without something like this, for floating asynchronous callbacks, which might be called or not, depending on the sequence of events, it's hard to perform resource cleanup. The alternative would be to always perform the cleanup from the caller too, but that requires more coordination and keeping of some shared state. It's nicer to keep the cleanup contained between the callback and the function that requests the callback.
2020-02-26Merge v237 into tizenAdrian Szyndela51-306/+1596
systemd 237
2020-02-26Merge v236 into tizensandbox/adrians/upgrade-to-236Adrian Szyndela257-1744/+3665
Change-Id: Id62f08b8ecf2a909a49e5f93b2f7594b3880ef44
2020-02-26Revert "Drop busname unit type"Adrian Szyndela1-1/+8
This reverts commit 4bc5d27b942afa83cc3d95debd2ad48d42ac07a8. There are people somewhere that need kdbus. Change-Id: Ib2d05f88171718c07e7de06409a1c224230e7a8d
2020-02-26Merge v235 into tizenAdrian Szyndela68-806/+2449
Change-Id: Iafcca23df73f2694eda50a97771acac4b7996f30
2020-02-26Revert "man: drop kdbus descriptions from sd_b_negotiate_fds(3)"Adrian Szyndela1-16/+30
This reverts commit ba612f4204230a9a63e18c42e20b47ed09da675e.
2020-02-26(backport) meson: allow systemd.directives and .index to be built if -Dman=falseZbigniew Jędrzejewski-Szmek1-2/+2
See 559d215b6733bb46533a52080522a7feca183aa8 for justification. Change-Id: I1355f202ffc0492203b28fa23fe33601fc6c31cb
2020-02-26(backport) meson: restore building of man pages on demand even if -Dman=falseZbigniew Jędrzejewski-Szmek1-1/+1
I want to configure -Dman=false for speed, but be able to build a specific man page sometimes to check my edits. Commit 5b316b9ea6c broke this by mistake. Let's adjust the condition to better match the logic of disabling tests only if xsltproc is really not found. Change-Id: Ife24351843f33a8e9da503fdba437e7acf513ad6
2020-02-26Merge v234 into tizenAdrian Szyndela162-2457/+7459
Change-Id: If676fe909a40eadc60ee5ff023abe4ee2c64b44e
2019-12-05core: be stricter when handling PID files and MAINPID sd_notify() messagessubmit/tizen/20191205.121153accepted/tizen/unified/20191206.121310Mateusz Moscicki1-10/+9
Let's be more restrictive when validating PID files and MAINPID= messages: don't accept PIDs that make no sense, and if the configuration source is not trusted, don't accept out-of-cgroup PIDs. A configuratin source is considered trusted when the PID file is owned by root, or the message was received from root. This should lock things down a bit, in case service authors write out PID files from unprivileged code or use NotifyAccess=all with unprivileged code. Note that doing so was always problematic, just now it's a bit less problematic. When we open the PID file we'll now use the CHASE_SAFE chase_symlinks() logic, to ensure that we won't follow an unpriviled-owned symlink to a privileged-owned file thinking this was a valid privileged PID file, even though it really isn't. Fixes: #6632 (cherry picked from commit db256aab13d8a89d583ecd2bacf0aca87c66effc) Resolves: #1663143 Change-Id: Id91df4fb9e46224a12dc6c260a1c3b8a9e4cc553
2019-12-05notify: add new --uid= commandMateusz Moscicki1-0/+9
The new --uid= switch allows selecting the UID from which the notificaiton messages shall originate. This is primarily useful for testing purposes, but might have other uses. (cherry picked from commit: 65c6b99094580afa186199d8091cd7536900526c) Change-Id: I1531bb34818ef8daa3eb8a7c8e973ef9d4aa1ba1
2019-11-29nspawn: allow Capability=all in systemd.nspawn [EXEC] sectionafg1-1/+2
Just like --capability=all is allowed in the systemd-nspawn command line.
2019-11-28man: use literal tag at one more placeYu Watanabe1-2/+2
2019-11-29man: document sd_event_source_set_floating()Lennart Poettering8-0/+125
Let's make sure we get back to 100% man page documentation coverage of our sd-event APIs. We are bad enough at the others, let's get these ones right at least.
2019-11-28man: use mkswap@ instead of makeswap@Jan Tojnar2-4/+4
That is what is linked from systemd.swap(5) and also what the systemd.generator produces.
2019-11-28man: don't claim journalctl would still use signalsLennart Poettering1-19/+13
It's using the varlink interface these days.
2019-11-28man: add reference to journald man page from systemd.journal-fields(7)Lennart Poettering1-8/+8
We had none so far. Which is weird.
2019-11-28man: apparently we lowercased STDOUT/STDERR everywhere else in docs, do so ↵Lennart Poettering1-2/+2
here too
2019-11-28man: drop reference to machined, add one for journald insteadLennart Poettering1-2/+2
We dropped documentation from sd_journal_open_container() long ago (since the call is obsolete), hence drop the reference to machined. But add one in for journald instead.
2019-11-27man/systemd.link: Add missing verb *be*Paul Menzel1-1/+1
2019-11-26network: also assume Table=local for ipv6 route if Type=local, broadcast, ↵Yu Watanabe1-6/+13
anycast or nat (#14148) Also, if Type=multicast and scope is not set, then assume Scope=link. Fixes #14122.
2019-11-26Merge pull request #14134 from keszybz/variables-and-docsYu Watanabe5-50/+42
Documentation and option parsing fixes
2019-11-25man: refer to systemd.syntax(7) from systemd.nspawn(5)Zbigniew Jędrzejewski-Szmek2-48/+24
systemd.nspawn(5) contained a partial repeat of the stuff that is now in the dedicated man page. Let's just refer to that. While at it, do s/searched/searched for/ where appropriate and reword some sentences for brevity.
2019-11-25man: restores ConditionVirtualization documentation (#14138)Steve Ramage1-1/+1
Resolves #14137. Error introduced in 337b733449924860eb71190e6eff95729909ede6.
2019-11-24man: document all pager variables for systemctl and systemdZbigniew Jędrzejewski-Szmek2-2/+7
In those two pages, we need to include individual entries with xi:include to merge the list less-variables.xml with the other entries, which is obviously error prone. All variables are supported in both tools so add them.
2019-11-24basic/terminal-util: add support for $NO_COLORZbigniew Jędrzejewski-Szmek1-0/+11
See inline comments. Fixes #13752.
2019-11-22Merge pull request #14099 from keszybz/machine-ref-unref-fixZbigniew Jędrzejewski-Szmek1-12/+25
Fix for the issue when machine cannot be started second time, and better nspawn logging
2019-11-22man: use <constant> for capability names in nspawn pageZbigniew Jędrzejewski-Szmek1-11/+18
2019-11-22nspawn: dump capability list with --capabilities=helpZbigniew Jędrzejewski-Szmek1-2/+8
2019-11-22Merge pull request #14105 from keszybz/man-directives-cleanupZbigniew Jędrzejewski-Szmek26-103/+113
Man formatting and sorting fixes
2019-11-21man: fix a few bogus entries in directives indexZbigniew Jędrzejewski-Szmek12-22/+26
When wrong element types are used, directives are sometimes placed in the wrong section. Also, strip part of text starting with "'", which is used in a few places and which is displayed improperly in the index.
2019-11-21man: change noindex="true" to index="false"Zbigniew Jędrzejewski-Szmek16-42/+42
We nowadays prefer positive options over negative.
2019-11-21man: use <command> not <option> for commands in resolvectl(1)Zbigniew Jędrzejewski-Szmek1-39/+45
2019-11-21bootctl: make 'random-seed' handle inability to write system token EFI ↵Lennart Poettering1-0/+6
variable gracefully Apparently some firmwares don't allow us to write this token, and refuse it with EINVAL. We should normally consider that a fatal error, but not really in the case of "bootctl random-seed" when called from the systemd-boot-system-token.service since it's called as "best effort" service after boot on various systems, and hence we shouldn't fail loudly. Similar, when we cannot find the ESP don't fail either, since there are systems (arch install ISOs) that carry a boot loader capable of the random seed logic but don't mount it after boot. Fixes: #13603
2019-11-20Merge pull request #14036 from keszybz/systectl-add-logs-and-watchdogsZbigniew Jędrzejewski-Szmek2-51/+35
Systemctl add log-level, log-target, service-watchdogs commands
2019-11-20Merge pull request #14074 from keszybz/rename-system-optionsZbigniew Jędrzejewski-Szmek1-1/+1
Rename system-options
2019-11-18Merge pull request #14064 from ↵Zbigniew Jędrzejewski-Szmek1-17/+17
yuwata/network-unify-send-option-and-send-raw-option network: unify SendOption= and SendRawOption=
2019-11-18Rename "system-options" to "systemd-efi-options"Zbigniew Jędrzejewski-Szmek1-1/+1
This makes the naming more consistent: we now have bootctl systemd-efi-options, $SYSTEMD_EFI_OPTIONS and the SystemdOptions EFI variable. (SystemdEFIOptions would be redundant, because it is only used in the context of efivars, and users don't interact with that name directly.) bootctl is adjusted to use 2sp indentation, similarly to systemctl and other programs. Remove the prefix with the old name from 'bootctl systemd-efi-options' output, since it's redundant and we don't want the old name anyway.
2019-11-18man: add entry about SpeedMeter=Yu Watanabe1-0/+22
Closes #14002.
2019-11-18man: add entry for systemd-id128 --uuidZbigniew Jędrzejewski-Szmek1-0/+10
2019-11-18analyze: deprecate the commands moved to systemctlZbigniew Jędrzejewski-Szmek1-50/+0
This just removes the commands from --help and the man pages, everything works as before.
2019-11-18systemctl: add service-watchdogs commandZbigniew Jędrzejewski-Szmek1-0/+11
The rationale is the same as for log-level/log-target: this controls the behaviour of the manager, and belongs in systemctl.