Zbigniew Jędrzejewski-Szmek
cd18afec16
Merge pull request #18827 from keszybz/a-bunch-of-man-page-updates
...
A bunch of man page updates
2021-03-01 15:14:40 +01:00
Zbigniew Jędrzejewski-Szmek
1c58006272
Merge pull request #18828 from keszybz/three-fixes
...
Three small fixes
2021-03-01 15:13:51 +01:00
Zbigniew Jędrzejewski-Szmek
dac05c0808
man: say that machine-info doesn't have to exist
...
Esp. CHASSIS is only useful as an override. Make that clear in the description.
Fixes #3496 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
aa2e348d7b
man: tweak descriptions of how tmpfiles should be started
...
We shouldn't imply that invocation without any parameters is OK.
Also, mention that the service can be restarted.
Fixes #8684 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
e531091ba0
man: describe quoting and specifiers in Environment=
...
Fixes #10604 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
4d729e3796
man: move quoting description to systemd.syntax
...
We use very similar quoting rules in many places. Let's move this
lengthy text out of systemd.service page.
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
36f57e02d7
man: explain how to invoke tmpfiles for debugging
...
Fixes #11914 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
5929b6b522
man: mention that != matches nonexistent keys too
...
Fixes #15984 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
9479d92ebc
man: reorder match types in udev rules
...
The plural version should always be adjacent to the singular one.
And the plural should not be explained before the singular one…
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
32f82cccea
man: add footnote explaining why "localhost" query is sent out to the network
...
I tried to make the explanation brief, but this isn't so easy. It seems better
to push this out to a footnote instead of the main text.
Fixes #16584 .
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
9273d8e6c9
man: move motivational explanation to footnote
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
fc070a2574
man: describe the syntax for {Job,}{Running,}TimeoutSec=
...
Fixes #16644 .
Also break the text into paragraphs to make it a bit easier to read.
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
09d9081447
man: move description of $SYSTEMD_SYSVINIT_PATH to the only user
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
b4c87f7d38
man: reuse common-variables in systemd(1)
...
This requires a bit of gimnastics, but I think it's still better than
status quo ante, and better than duplicating the text.
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
969524fae2
basic/log: align tables
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
5bd27a17ca
man: describe various logging configuration variables
...
Fixes #17484 .
This patch affects systemctl(1), as well as all man pages that include
all of common-variables.xml, i.e. most of our command line tools.
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
4ef3ca3447
man: rename less-variables→common-variables
...
Some are not about less, e.g. $SYSTEMD_URLIFY.
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
3a559f22c3
coredump: indent comment
2021-03-01 13:40:52 +01:00
Zbigniew Jędrzejewski-Szmek
9d58abfa25
man: describe coredump fields
...
We save a wealth of information about the process, but this might not be
immediately obvious.
2021-03-01 13:40:52 +01:00
Luca Boccassi
32e868f058
udev rules: add rule to create /dev/ptp_hyperv
...
As for the KVM case, necessary for network cards with
PTP devices when running a guest on HyperV
2021-03-01 11:51:08 +01:00
Zbigniew Jędrzejewski-Szmek
bfc2274db7
test-socket-util: fix test for address parsing w/o IPv6 support
...
sockaddr_pretty() is the function that is ultimately called to print
the address, and afaics, it'll always use 0.0.0.0 if family==AF_INET.
So the test must have always been broken on systems with IPv6 support.
Fixes a failure in semaphore debian autopkgtest ci:
"65535" → ✓ 0 → "0.0.0.0:65535" (expect 0 / "[::]:65535") 15:15
Assertion 'streq(out, expected ?: in)' failed at src/test/test-socket-netlink.c:32, function test_socket_address_parse_one(). Aborting. 15:15
2021-03-01 11:27:03 +01:00
Zbigniew Jędrzejewski-Szmek
5ada98cdc7
NEWS: fix path
...
Follow-up for 5773351881
.
2021-03-01 11:27:03 +01:00
Zbigniew Jędrzejewski-Szmek
7966a91690
core: change confusing parameter name
...
fixup_output() is used for both stdout and stderr.
2021-03-01 11:26:52 +01:00
Dan Streetman
ad60f58e6e
Skip TEST-50 on ubuntu ci
...
This test is flaky, and requires updates to the kernel to fix, so
disable it for now.
https://github.com/systemd/systemd/issues/17469
2021-03-01 11:18:57 +01:00
Einsler Lee
aa10a8a37a
remove the default value of CPUAffinity
...
"1 2" is not the default value systemd used to set CPUAffinity. Let's remove it to avoid confusing users.
2021-03-01 11:12:30 +01:00
Charles Lee
0e1b886548
po: Translated using Weblate (Chinese (Simplified) (zh_CN))
...
Currently translated at 100.0% (189 of 189 strings)
Co-authored-by: Charles Lee <lchopn@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/zh_CN/
Translation: systemd/main
2021-03-01 10:50:40 +01:00
Lajos Veres
5773351881
Fix path typo in systemd.unit
...
/etc/systemd/systemd/ => /etc/systemd/system/
2021-03-01 08:45:19 +09:00
Zbigniew Jędrzejewski-Szmek
4f57f77267
man: make systemd-coredump and coredumpctl descriptions more accessible
...
Fixes #17910 : we didn't clearly explain that coredumps may exist without
journal entries, and vice versa.
Also, make the examples more concrete, and use '$' instead of '#' to avoid
suggesting that running as root is required. The text is extended a bit in
various places. In the description of systemd-coredump, the details of executor
separation are split out to a separate subsection, since they are rather
detailed and not necessary to understand for normal use.
2021-02-28 11:29:21 +01:00
Slimane Selyan Amiri
e2a19fce0d
Translated using Weblate (Kabyle)
...
Currently translated at 1.5% (3 of 189 strings)
Added translation using Weblate (Kabyle)
Co-authored-by: Slimane Selyan Amiri <selyan.kab@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/kab/
Translation: systemd/main
2021-02-27 16:21:10 +00:00
Luca Boccassi
b33cd6b3ee
core: do not set noexec on sysfs/procfs
...
It causes a regression in certain running environments (networkd under LXC),
so avoid enabling for now.
Fixes #18795
Suggested-by: Topi Miettinen <toiwoton@gmail.com>
2021-02-26 20:20:53 +00:00
Daan De Meyer
da0d560905
Merge pull request #18516 from systemd/revert-18515-temporarily-pin-arch-repos
...
Revert "ci: temporarily pin Arch repositories to glibc 2.32-5"
2021-02-26 18:16:42 +00:00
Lennart Poettering
ee1aa61c47
copy: handle copy_file_range() weirdness on procfs/sysfs
...
This addresses the issue described in https://lwn.net/Articles/846403/
and makes sure we will be able to stream bytes from procfs/sysfs via
copy_bytes() if people ask us to.
2021-02-26 18:38:22 +01:00
Frantisek Sumsal
d227b6a7c0
ci: build an upstream version of systemd-nspawn
...
Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is
required, since current Arch's glibc implements faccessat() via
faccessat2().
2021-02-26 17:06:25 +01:00
Frantisek Sumsal
b12dba35d1
Revert "ci: temporarily pin Arch repositories to glibc 2.32-5"
...
This reverts commit 67c972c610
.
2021-02-26 16:46:35 +01:00
Lennart Poettering
97e535c724
udev: when btrfs.ko is not available consider btrfs filesystems not ready
...
Let's add a special tweak to the btrfs builtin: if /dev/btrfs-control is
not there, let's consider all btrfs file systems as SYSTEMD_READY=0.
This is useful in initrds, where btrfs.ko might be missing. After the
initrd → host transition we can then retigger the device and undo the
SYSTEMD_READY=0 marking.
2021-02-26 14:27:49 +01:00
Lennart Poettering
16e6a7010f
Merge pull request #18804 from poettering/epoll-wait2
...
sd-event: make use of kernel 5.11 epoll_pwait2() if available
2021-02-26 14:27:27 +01:00
Luca Boccassi
499c8514ea
Merge pull request #18806 from weblate/weblate-systemd-master
...
Translations update from Weblate
2021-02-26 10:20:37 +00:00
Anita Zhang
7c382f0b7d
json: rename json_dispatch_{integer,unsigned} -> json_dispatch_{intmax,uintmax}
...
Prompted by https://bugzilla.redhat.com/show_bug.cgi?id=1930875 in which
I had previously used json_dispatch_unsigned and passed a return variable of
type unsigned when json_dispatch_unsigned writes a uintmax_t.
2021-02-26 10:14:03 +00:00
Lennart Poettering
fa1ca5f409
Merge pull request #18800 from poettering/network-target-more-doc
...
some improvements regarding network.target docs
2021-02-26 10:59:23 +01:00
Lennart Poettering
42d7904284
Merge pull request #18801 from keszybz/small-documentation-updates
...
Small documentation updates
2021-02-26 09:36:11 +01:00
Lennart Poettering
85f3bd23da
man: say explicitly that network.target should give the guarantee that synthetic network interfaces have been created
...
Prompted by: #18793
2021-02-26 09:31:11 +01:00
Lennart Poettering
26ac511a7e
man: be more explicit about network-online.target and consuming services of other hosts
...
Let's make things a tiny bit more explicit.
2021-02-26 09:29:52 +01:00
Lennart Poettering
8b596d51a9
man: fix indentation of example
...
The man page otherwise looks very weirdly aligned.
2021-02-26 09:29:52 +01:00
Lennart Poettering
1d5484aa67
update TODO
2021-02-26 09:22:12 +01:00
Lennart Poettering
798445ab84
sd-event: make use of epoll_pwait2() for greater time accuracy
2021-02-26 09:22:09 +01:00
Lennart Poettering
420297c9e1
missing_syscall: add epoll_pwait2() wrapper
2021-02-26 09:21:51 +01:00
Luca Boccassi
8b2620ea8c
Merge pull request #18797 from keszybz/trivial-cleanups
...
Trivial cleanups
2021-02-25 22:20:04 +00:00
Zbigniew Jędrzejewski-Szmek
34507fa9e9
man: remove details of ManagedOOMPreference implementation
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
a8136f1bc0
man: advertise shared drop-ins more
...
systemd.unit(5) is a wall of text. And this particular feature can be very useful
in the context of resource control. Let's avertise this cool feature a bit more.
Fixes #17900 .
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
4fc8a70d9f
man: fix two issues in udev(7)
...
Fixed #18050 .
2021-02-25 21:14:04 +01:00