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
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
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 d8a4d64bc3
.
2021-02-25 21:14:04 +01:00
Gustavo Costa
b8700c621a
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (189 of 189 strings)
Co-authored-by: Gustavo Costa <xfgusta@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/pt_BR/
Translation: systemd/main
2021-02-25 19:41:25 +01:00
Slimane Selyan Amiri
a8304ca1b2
Added translation using Weblate (Kabyle)
...
Co-authored-by: Slimane Selyan Amiri <selyan.kab@gmail.com>
2021-02-25 19:41:25 +01:00
Lennart Poettering
584e9ba962
Merge pull request #18798 from poettering/getenv-list-fixes
...
various follow-ups for ExtensionImages= PR
2021-02-25 17:00:54 +01:00
Lennart Poettering
7ed72cfac7
update TODO
2021-02-25 15:51:13 +01:00
Zbigniew Jędrzejewski-Szmek
beca342dba
man: fix grammaro
2021-02-25 14:55:17 +01:00
Luca Boccassi
873b5cbd1e
NEWS: mention ExtensionImages
2021-02-25 14:40:53 +01:00
Zbigniew Jędrzejewski-Szmek
0025868cc9
libudev: fix typo in docstring
2021-02-25 14:07:21 +01:00
Zbigniew Jędrzejewski-Szmek
67f63ee5ae
shared/dissect-image: inline iterator variables
2021-02-25 14:07:21 +01:00
Zbigniew Jędrzejewski-Szmek
8794e6dbbd
core/namespace: inline more iterator variable declarations
2021-02-25 14:07:21 +01:00
Zbigniew Jędrzejewski-Szmek
06cd836342
resolved: inline trivial function
2021-02-25 14:07:21 +01:00
Lennart Poettering
de4abc3f46
bus-unit-util: generate proper log message when we fail to parse properties
2021-02-25 13:38:20 +01:00
Lennart Poettering
2a7865cc43
bus-unit-util: don't validate partition designator client side
...
When we parse properties set via "systemctl set-property" we should
validate to the point where the data we pass over the bus makes rough
sense, but we shouldn't needlessly check whether specified enum values
are among the known enum values. The server side checks that anyway
again, and it's kinda nice if an older systemctl can be used to talk to
a newer systemd.
2021-02-25 13:36:43 +01:00
Lennart Poettering
d60e3b405d
namespace: return correct error code
2021-02-25 13:36:32 +01:00
Lennart Poettering
33d31c0e60
env-util: fix parameter handling of parse_env_extension_hierarchies() + getenv_path_list()
...
Our coding style dictates we should not clobber return parameters on
failure, and always initialize them on success. Do so here.
This changes getenv_path_list() to return ENXIO if the env var is not
set, which is similar to how we handle this in getenv_bool().
This drops debug logging from parse_env_extension_hierarchies(), since
it's done anyway in getenv_path_list()
Follow-up for: #18018
2021-02-25 13:24:53 +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: 71894e1831
2021-02-25 16:31:25 +09:00
Joerg Behrmann
fa02711758
treewide: fix spelling
2021-02-25 05:54:11 +09:00