Zbigniew Jędrzejewski-Szmek
f5292d63af
mkosi/ci: use a bash array to pass options
...
This patch initially also changed the configuration, but that'll be done in a
different way, so all that remains is the syntax change.
An array is nicer because the array definition can have inline comments and
doesn't use continuation symbols which are easy to mess up in edits.
2024-12-04 09:57:34 +01:00
Luca Boccassi
80ea227191
pid1: assume user namespaces are unavailable if we get -EINVAL from clone ( #35440 )
2024-12-02 22:03:52 +00:00
Excited-bore
f6749c69a0
Bash completion: no more ANSI colorcode in pathnames
...
Bash completion: no more ANSI colorcode in pathnames
2024-12-02 16:56:12 +00:00
Zbigniew Jędrzejewski-Szmek
544df97b41
ukify: ellipsize CN to not exceed maximum length
...
Currently the generation of the certificate fails if len(fqdn) >= 43.
Ellipsize the fqdn to let the tests pass in all cases.
Fixes https://github.com/systemd/systemd/issues/34581 .
2024-12-02 16:55:57 +00:00
Zbigniew Jędrzejewski-Szmek
22996a3393
basic/namespace-util: fix double logging after fork failure
...
[ 10.056930] (journald)[104]: Failed to fork off '(sd-mkuserns)': Invalid argument
[ 10.063727] systemd[1]: systemd-modules-load.service: About to execute: /usr/lib/systemd/systemd-modules-load
[ 10.071148] (journald)[104]: Failed to fork process (sd-mkuserns): Invalid argument
safe_fork_full() already logs at debug level, so the caller shouldn't.
2024-12-02 11:51:23 +01:00
Zbigniew Jędrzejewski-Szmek
afb368951c
pid1: assume user namespaces are unavailable if we get -EINVAL from clone()
...
As reported in https://github.com/systemd/systemd/issues/35400 ,
on riscv64, with Linux version 6.6.51-linux4microchip+fpga-2024.09, we get:
[ 10.063727] systemd[1]: systemd-modules-load.service: About to execute: /usr/lib/systemd/systemd-modules-load
[ 10.071148] (journald)[104]: Failed to fork process (sd-mkuserns): Invalid argument
Fixes https://github.com/systemd/systemd/issues/35400 .
'r' is used to make the repeated checks shorter. Without that, the long variable
name is distracting.
2024-12-02 11:30:06 +01:00
Mike Yuan
703b1b7f24
core/service: preserve RuntimeDirectory= even if oneshot service exits
...
Follow-up for c26948c6dae1d2ca13499b36f193b13a0760834c
We only want to get rid of cred mount here, and RuntimeDirectory=
is documented to be retained for SERVICE_EXITED state.
Fixes #35427
2024-12-02 10:57:45 +01:00
Zbigniew Jędrzejewski-Szmek
d5df77b474
NEWS: adjust grammar
...
Follow-up for 1072618023cc3fc7f6f23e31e559f4d6e695aaff.
2024-12-02 10:48:59 +01:00
Yu Watanabe
472e3cce6e
TEST-13-NSPAWN: enable debugging logs by nspawn run by systemd-run
...
Otherwise, it is hard to debug issue #35209 .
2024-12-01 15:40:19 +01:00
Yu Watanabe
1072618023
NEWS: metion changes for networkd
2024-12-01 23:37:32 +09:00
Luca Boccassi
0747e3b60e
kernel-install: remove .extra.d/ directory too
...
When a UKI is removed, the per-UKI .extra.d/ directory (addons,
extensions, etc) is left behind.
2024-12-01 14:05:45 +09:00
Yu Watanabe
a1417e5563
systemctl: skip checking inhibitors when dbus.service is not running
...
Fixes a bug introduced by 804874d26ac73e0af07c4c5d7165c95372f03f6d.
Fixes #35416 .
2024-12-01 14:00:55 +09:00
Luca Boccassi
144d291f18
mkosi: extend DefaultTimeoutStopSec= when running on sanitizers ( #35420 )
...
Hopefully fixes #35335 .
2024-11-29 21:48:29 +00:00
Yu Watanabe
9c4670db3c
mkosi: move setting for journald to mkosi.extra
2024-11-30 04:31:45 +09:00
Yu Watanabe
b75befc3c9
mkosi: extend DefaultTimeoutStopSec= when running on sanitizers
...
Hopefully fixes #35335 .
2024-11-30 04:28:24 +09:00
Matteo Croce
3f3b4959e2
mkosi: install correct package for mypy
...
Package "mypy" doesn't exist on all distro, install the correct package
depending on the distro.
2024-11-29 18:50:58 +01:00
Luca Boccassi
a414a1891f
Another tweak for the preparation of removal of sysvinit compat ( #35414 )
2024-11-29 15:34:34 +00:00
Zbigniew Jędrzejewski-Szmek
4ebd6d9a10
meson: install README.logs independently of HAVE_SYSV_COMPAT
...
That file provides compatiblity (or more precisely the explanation for the lack
of compatibility) with syslog daemons. Those are used quite independently of
sysvinit. For example, RHEL uses rsyslog with systemd. We create
/var/log/journal, so it's no biggie to also provide /var/log/README with the
explanation. Let's keep it, since it might help some confused users, even when
compat with sysvinit is gone.
2024-11-29 14:18:15 +01:00
Zbigniew Jędrzejewski-Szmek
a66a7c412a
Revert "link README.logs from tmpfiles.d/legacy.conf only if available"
...
This reverts commit c946b1357562e8643575dbbda2c8c6fff2c0e4f7.
The next patch will resolve the issue in a different way.
2024-11-29 14:18:15 +01:00
Temuri Doghonadze
09291cfa1a
po: Translated using Weblate (Georgian)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Yuri Chornoivan
6188c4e919
po: Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Oğuz Ersen
dd28bb020a
po: Translated using Weblate (Turkish)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Luna Jernberg
7dfb5e703b
po: Translated using Weblate (Swedish)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Luna Jernberg <bittin@reimu.nl>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
김인수
726181fb04
po: Translated using Weblate (Korean)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Andika Triwidada
5556d81720
po: Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/id/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Léane GRASSER
1a1db1072a
po: Translated using Weblate (French)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Daan De Meyer
aed18d7e9a
mkosi: Simplify sanitizer setup
...
Let's get rid of 20-sanitizers.conf and just move it into
mkosi.sanitizers instead.
2024-11-29 00:40:36 +00:00
SuhailAhmedVelorum
27369124e8
Typo fix in man/systemd.resource-control
2024-11-28 17:23:58 +00:00
David Tardon
c3dc460b6c
execute: free syscall_log hashmap when done
...
Fixes #35394
2024-11-28 16:45:02 +01:00
Piotr Drąg
ca10784ac1
catalog: update Polish translation
...
Includes changes up to e1f9d3c84b66d1b86adaae4c7aebf89514685d51
2024-11-28 13:03:31 +01:00
Piotr Drąg
180761d2d0
po: Translated using Weblate (Polish)
...
Currently translated at 100.0% (257 of 257 strings)
Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/
Translation: systemd/main
2024-11-28 20:29:45 +09:00
Luca Boccassi
37d2c5ca25
sysupdate: add missing full stop in the polkit message ( #35391 )
...
Follow-up for e55e7a5a613712dc9a94d40a1fea1f02d359961f.
2024-11-28 10:58:20 +00:00
Yu Watanabe
25744b6175
po: update translations
2024-11-28 18:17:50 +09:00
Yu Watanabe
0dc32802da
po: update Japanese translation
2024-11-28 18:17:33 +09:00
Yu Watanabe
d9d784ebe0
sysupdate: add missing full stop to the polkit message
...
Follow-up for e55e7a5a613712dc9a94d40a1fea1f02d359961f.
2024-11-28 18:13:51 +09:00
Luca Boccassi
59ea5e4c44
meson: update version
v257-rc3
2024-11-27 21:11:45 +00:00
Luca Boccassi
d08946c19c
NEWS: update date
2024-11-27 21:11:33 +00:00
Luca Boccassi
f7d4235cad
TEST-67-INTEGRITY: several fixes ( #35366 )
...
Fixes #35363 .
2024-11-27 21:08:18 +00:00
Luca Boccassi
03ad02c90b
Chores for RC3 ( #35383 )
2024-11-27 20:58:04 +00:00
Luca Boccassi
723069188d
nsresourced: log about correct errno ( #35386 )
...
Split out from #35242
2024-11-27 19:26:41 +00:00
Yu Watanabe
1d96f18bd8
network/queue: do not increase reference counter when remove request is not queued
...
Fixes a bug introduced by ef45f5c8d0bfbeda2a57b28bba9831f044b23b21.
Fixes #35164 .
2024-11-27 19:24:50 +00:00
Mike Yuan
67b9a72c60
nsresourced: log about correct errno in userns_destroy_cgroup()
2024-11-27 18:38:01 +01:00
Mike Yuan
4da9f38de1
cgroup-util: use RET_NERRNO where appropriate
2024-11-27 18:38:00 +01:00
Yu Watanabe
6bb3771e8c
TEST-67-INTEGRITY: blkid should not provide the underlying loopback block device
...
Fixes #35363 .
2024-11-28 00:56:43 +09:00
Yu Watanabe
d5c4f1997a
TEST-67-INTEGRITY: modernize test code
...
- make udevd generate debugging logs for loopback and DM devices,
- insert 'udevadm wait' at several places to make the device processed
by udevd,
- cleanup generated integritysetup service before moving to next
algorithm,
- drop unnecessary exit on command failure,
- also test data splitting mode for all algorithms.
2024-11-28 00:56:23 +09:00
Lennart Poettering
62f3e2f84a
nspawn: make sure --private-users-ownership=no and =off work the same way
...
We usually want to use "extended booleans" for cases like this, i.e.
that "off", "no" and "0" can be used interchangably for turning
something off.
2024-11-28 00:47:14 +09:00
Lennart Poettering
92338a63ff
sysext: coding style fixes & fix a memory leak
...
Follow-up for: bbec1c87d3bf8d14eeb1ee3b4df973a53cca2e58
2024-11-28 00:46:33 +09:00
Luca Boccassi
2eab62a4db
po: update translations
...
ninja -C build systemd-update-po
2024-11-27 15:17:23 +00:00
Luca Boccassi
77e0953971
hwdb: update
...
ninja -C build update-hwdb
2024-11-27 15:17:23 +00:00
Luca Boccassi
a881ca663f
NEWS: update contributors list
2024-11-27 15:17:23 +00:00