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
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
Zbigniew Jędrzejewski-Szmek
9f0840e421
man: say that hostname must can be a fqdn or not
...
Fixes #18426
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
403db47069
timesync: rename variable to match config name
...
PollIntervalMinSec and PollIntervalMaxSec use the same pattern, but
RootDistanceMaxSec had switched orderd in the code.
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
c91ebcdbd1
man: explain settings in timesyncd.conf(5)
...
Fixes #18508 .
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
d5630d2795
man: drop misplaced spaces and parenthesization
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
326152af4d
man: use markup more in description of ManagedOOMPreference=
...
Follow-up for d8a4d64bc37ad21381f584b6c25792995584c7a2.
2021-02-25 21:14:04 +01:00
Zbigniew Jędrzejewski-Szmek
beca342dba
man: fix grammaro
2021-02-25 14:55:17 +01:00
Lennart Poettering
9c274488a9
signal-util: make -1 termination of ignore_signals() argument list unnecessary
...
Clean up ignore_signals() + default_signals() + sigaction_many() a bit:
make it unnecessary to explicitly terminate the signal list with -1.
Merge all three calls into a single function that is just called with
slightly different parameters. And eliminate an unnecessary extra
iteration in its inner for() loop.
No change in behaviour.
2021-02-25 11:32:28 +01:00
Zbigniew Jędrzejewski-Szmek
155d626bc6
Merge pull request #18018 from bluca/mount_images_overlay
...
Add ExtensionImages directive to form overlays
2021-02-25 11:31:14 +01:00
Zbigniew Jędrzejewski-Szmek
d895e10a24
meson: refuse when prefix is not a child of rootprefix
...
This is most likely to happen when setting one but not the other.
Note that we already warn when rootprefixdir != rootprefix_default,
at the very end.
2021-02-25 16:34:03 +09:00
Dan Streetman
b66789a9b5
test: skip tests if cgroup isn't mounted
...
Debian builds in a chroot without cgroup mounted, so tests expecting
to access cgroup will fail with ENOMEDIUM, so skip the tests in that
situation.
2021-02-25 16:32:04 +09:00
Lennart Poettering
a437c5e4da
cgroup: don't generate BPF firewall unsupported warning on wrong unit
...
Let's generate the warning on a unit that actually needs the BPF
firewall, and not confusingly already for a sibling of one.
2021-02-25 16:31:46 +09:00
Lennart Poettering
249a967f62
format-table: don't suppress trailing whitespace in first line
...
We underline the first line, hence we shouldn't suppress the whitespace,
otherwise the line will end early.
Follow-up for: 71894e18313e41a72cecdc77fea5037f95d6903f
2021-02-25 16:31:25 +09:00
Joerg Behrmann
fa02711758
treewide: fix spelling
2021-02-25 05:54:11 +09:00
Annika Wickert
c0267a592a
network: Implement B.A.T.M.A.N. Advanced interface type
2021-02-25 01:57:29 +09:00
Sergey Bugaev
2aaf376597
resolved: don't discard mDNS queries with bad flags
...
Even though RFC 6762 specifies these bits MUST be zero, it also says they MUST
be ignored on reception.
2021-02-24 17:17:03 +01:00
Sergey Bugaev
7675501540
resolved: don't discard mDNS packets with ip6.arpa RRs
...
ip6.arpa is also a valid domain name to put in mDNS packets.
2021-02-24 17:17:03 +01:00
Lennart Poettering
836590f75b
Merge pull request #18771 from yuwata/timedate-fix-set-local-rtc-18391
...
timedate: do not ignore fix_system argument in SetLocalRTC method
2021-02-24 17:14:14 +01:00
Yu Watanabe
2be6c4758e
timedate: do not ignore fix_system argument in SetLocalRTC method
...
Fixes #18391 .
2021-02-24 23:50:21 +09:00
Luca Boccassi
04153c4509
test: skip TEST-56-OOMD if systemd-oomd is not installed
...
Fixes #18775
2021-02-24 15:02:07 +01:00
Yu Watanabe
6cde5b4b1c
network: use IPMasquerade=both instead of yes
...
Follow-up for 4c72d851cd007e945a85811f89376a2675daa1a5.
2021-02-24 15:01:43 +01:00
Yu Watanabe
b34b57a738
clock-util: rename function argument
2021-02-24 19:56:14 +09:00
Yu Watanabe
b49bb2866c
doc,man: fix-typo (hierachy -> hierarchy)
2021-02-24 09:54:16 +01:00
Zbigniew Jędrzejewski-Szmek
d9a65c5976
Merge pull request #18730 from yuwata/dhcp6-client-do-not-set-t1-t2-18090
...
dhcp6: do not set T1 and T2 in IA_PD option or friends
2021-02-24 09:53:37 +01:00
Frantisek Sumsal
e4c9246fb3
Translated using Weblate (Serbian)
...
Currently translated at 66.6% (126 of 189 strings)
Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/sr/
Translation: systemd/main
2021-02-24 09:11:18 +09:00
Yu Watanabe
ebc98027fc
Merge pull request #18589 from yuwata/network-nexthop-drop-unnecessary-nexthops
...
network: drop unnecessary nexthops
2021-02-24 09:07:57 +09:00
Topi Miettinen
64297c8605
Update NEWS
...
Fix typos, improve /dev exec/noexec description
2021-02-23 19:34:13 +01:00
Lennart Poettering
eceb61112c
bootspec: assume that the root dir is at the top of its file system
...
Fixes : #17746
v248-rc2
2021-02-23 18:43:34 +01:00
Zbigniew Jędrzejewski-Szmek
0892c3b2eb
Merge pull request #18763 from poettering/cov-fixes
...
A bunch of coverity fixes
2021-02-23 18:41:53 +01:00
Zbigniew Jędrzejewski-Szmek
4095211f24
Merge pull request #18765 from keszybz/more-docs
...
NEWS and one more man page addition
2021-02-23 17:44:13 +01:00
Zbigniew Jędrzejewski-Szmek
d515864346
man: add a description of how manager env block is set
2021-02-23 17:18:05 +01:00
Luca Boccassi
93f597013a
Add ExtensionImages directive to form overlays
...
Add support for overlaying images for services on top of their
root fs, using a read-only overlay.
2021-02-23 15:34:46 +00:00
Luca Boccassi
82fb2da213
core/namespace: reafactor applying mounts in a separate function
...
The setup_namespace code to apply mounts is a big if block that
keeps growing, so refactor it in a separate function.
2021-02-23 15:34:46 +00:00
Luca Boccassi
280b3781bd
sysext: split parsing SYSTEMD_SYSEXT_HIERARCHIES in a common helper
2021-02-23 15:34:46 +00:00
Zbigniew Jędrzejewski-Szmek
89b6acfd8e
NEWS: add ConditionCGC=v12 and the hostname stuff
2021-02-23 16:30:13 +01:00
Lennart Poettering
685097b9ca
efi stub: accept it if our loaded image has no FilePath field set
...
The firmware spec doesn't really say whether FilePath of the LoadedImage
protocol may be NULL or not. So far we assumed it to be non-NULL, but
apparently the FreeBSD UEFI chainloader sets it to NULL. Handle this
gracefully.
(Noticed and tracked down by Alexander Schreiber)
Fixes : #18733
2021-02-23 15:48:48 +01:00
Lennart Poettering
f2550b9856
core: fix memory leak in error path
...
Coverity 1431998
2021-02-23 15:45:26 +01:00
Lennart Poettering
013668db32
resolved: don't dereference ->scope unless set
...
Coverity 1446388
2021-02-23 15:45:23 +01:00
Lennart Poettering
3178014709
shared: fix memory leak in error path
...
Coverity 1446676
2021-02-23 15:45:19 +01:00
Lennart Poettering
d9a650bbe8
icmp6-util: add missing variable initialization
...
Coverity 1446712
2021-02-23 15:45:15 +01:00
Lennart Poettering
d9119c00fa
dissect-image: initially fds[] array fully
...
THe previous code wasn't wrong, but it's certainly nicer to avoid a
partially uninitialized array here, hence Coverity has a point
complaining about this.
Coverity 1446731
2021-02-23 15:45:12 +01:00
Lennart Poettering
999c248629
resolved: fix minor memory leak
...
Coverity 1446992
2021-02-23 15:45:03 +01:00
Yu Watanabe
e94a009c10
core: fix stack-use-after-scope
...
Fixes a bug introduced by f70e6fb471a4eeed8e2a4a7c608beabbb0aba8be.
Fixes #18753 .
2021-02-23 15:39:31 +01:00
AsciiWolf
aa50464a7f
po: remove basic fedora.zanata.org configuration
...
Zanata is not used anymore and its current configuration is not useful
anyway since the master branch was renamed to main.
2021-02-23 15:38:07 +01:00
Zbigniew Jędrzejewski-Szmek
e74bd83a82
Merge pull request #18751 from anitazha/oomdconditions
...
units: add Conditions for systemd-oomd.service
2021-02-23 15:30:33 +01:00
Yu Watanabe
9947c7bad1
test-network: add tests for dropping unnecessary nexthops
2021-02-23 22:48:12 +09:00
Yu Watanabe
25b82b6e0e
network: nexthop: drop unnecessary nexthops
...
Similar to addresses or routes, this makes networkd drops unnecessary
nexthops on configuring links or when a link is dropped.
2021-02-23 22:47:11 +09:00