Commit Graph
86809 Commits
Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 62338aeadf hwdb: use more modern python syntax in one more place 2026-02-26 19:02:03 +01:00
Zbigniew Jędrzejewski-Szmek 6c17dfa5c3 hwdb: fix typos reported by Copilot, reword comment 2026-02-26 19:01:45 +01:00
Zbigniew Jędrzejewski-Szmek d0a4c607ad hwdb: drop trailing whitespace
Fixup for f6f695ba5a and
774e805959.
2026-02-26 18:12:03 +01:00
Zbigniew Jędrzejewski-Szmek 60c2448096 Fixes for yeswehack reports (#40840) 2026-02-26 17:55:52 +01:00
Luca Boccassi 0d7c5fa4a8 Translations update from Fedora Weblate (#40842)
Translations update from [Fedora
Weblate](https://translate.fedoraproject.org) for
[systemd/main](https://translate.fedoraproject.org/projects/systemd/main/).



Current translation status:

![Weblate translation
status](https://translate.fedoraproject.org/widget/systemd/main/horizontal-auto.svg)
2026-02-26 14:47:39 +00:00
joo es 4be5de8290 po: Translated using Weblate (Arabic)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: joo es <jonnyse@users.noreply.translate.fedoraproject.org>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ar/
Translation: systemd/main
2026-02-26 13:58:31 +00:00
Daniel Nylander 25ee7ec62d po: Translated using Weblate (Swedish)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Daniel Nylander <po@danielnylander.se>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/
Translation: systemd/main
2026-02-26 13:58:31 +00:00
Américo Monteiro 3865da9a0d po: Translated using Weblate (Portuguese)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Américo Monteiro <a_monteiro@gmx.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pt/
Translation: systemd/main
2026-02-26 13:58:30 +00:00
Yuri Chornoivan fb8051a091 po: Translated using Weblate (Ukrainian)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main
2026-02-26 13:58:30 +00:00
Baurzhan Muftakhidinov f5647f6b69 po: Translated using Weblate (Kazakh)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/kk/
Translation: systemd/main
2026-02-26 13:58:30 +00:00
Oğuz Ersen a9bba2cc6c po: Translated using Weblate (Turkish)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2026-02-26 13:58:29 +00:00
Temuri Doghonadze 07f1fb3c3d po: Translated using Weblate (Georgian)
Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main
2026-02-26 13:58:29 +00:00
Mike Yuan efa6ba2ab6 core: validate input cgroup path more prudently 2026-02-26 14:23:25 +01:00
Mike Yuan 42aee39107 core/cgroup: avoid one unnecessary strjoina() 2026-02-26 14:23:23 +01:00
Mike Yuan 679e738bf4 core/dbus-unit: query sender uid only once, validate unit uid early
Follow-up for 05f5156ad1
2026-02-26 14:23:23 +01:00
Mike Yuan 4e6e3b8707 sd-json: fix off-by-one issue when updating parent for array elements
Follow-up for 8525bb369a
2026-02-26 14:23:12 +01:00
Zbigniew Jędrzejewski-Szmek 13167bfc2f core/socket: fix reversed symlink direction in error message
After the update to 260-rc1 in Fedora Rawhide, we get a lot of messages like
this:
  systemd[1]: systemd-resolved-monitor.socket:
  Failed to create symlink /run/systemd/resolve/io.systemd.Resolve.Monitor →
  /run/varlink/registry/io.systemd.Resolve.Monitor, ignoring: Permission denied

The actual issue will need to be fixed too, but let's fix the message first.
While at it, let's rename the variables to be meaningful.
2026-02-26 11:34:22 +01:00
Zbigniew Jędrzejewski-Szmek 8a2b2828cc test-qr-code: allow specifying the text to encode 2026-02-26 09:20:59 +01:00
Yu Watanabe 2900f04c82 network: do not create state file for removed interface
Fixes #40817.
2026-02-26 08:50:50 +01:00
Luca Boccassi e27f740ba8 mkosi: explicitly add mount package to build image
Some dependency changed in testing and it's not pulled in anymore:

‣  Running build script /home/runner/work/systemd/systemd/mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot…
/work/build-script: line 35: mount: command not found
‣ /work/build-script failed with non-zero exit code 127
‣ (Maybe a program was not found or the script interpreter (e.g. bash) is not installed?)
FAILED: [code=127] mkosi
2026-02-25 23:43:56 +00:00
Luca Boccassi 8fe3678af6 semaphore: switch to debian stable
oldstable is close to moving to LTS so switch to stable
2026-02-25 23:31:54 +00:00
Zbigniew Jędrzejewski-Szmek e9abcd9b26 rpm/systemd-update-helper: use 'enqueue-marked-jobs'
Without this, a warning is emitted on upgrades.
Follow-up for c008f88ded.
2026-02-25 23:03:14 +00:00
Luca Boccassi afaca649ad man: fix typo
Follow-up for 23115eeaf1
2026-02-26 05:26:36 +09:00
Luca Boccassi 756f39c239 test: delete one more test artifact on shutdown
Hopefully fixes:

[  154.500726] TEST-13-NSPAWN.sh[4351]: + tar -C /var/tmp/mangletest/ -cvzf /var/tmp/mangletest.tar.gz mangletest-0.1
[  154.504485] TEST-13-NSPAWN.sh[5402]: mangletest-0.1/
[  154.506908] TEST-13-NSPAWN.sh[5402]: mangletest-0.1/usr/
[  154.508713] TEST-13-NSPAWN.sh[5402]: mangletest-0.1/usr/lib/
[  154.509208] TEST-13-NSPAWN.sh[5402]: mangletest-0.1/usr/lib/os-release
[  154.509877] TEST-13-NSPAWN.sh[4351]: + run0 --pipe -u testuser importctl -m --user import-tar /var/tmp/mangletest.tar.gz
[  154.693870] TEST-13-NSPAWN.sh[5405]: Enqueued transfer job 9. Press C-c to continue download in background.
[  154.696371] TEST-13-NSPAWN.sh[5405]: Image 'mangletest' already exists.

Fixes https://github.com/systemd/systemd/issues/40829

Follow-up for 4248b02c44
2026-02-25 20:12:18 +00:00
Luca Boccassi 46efee7d2b meson: bump version to v260~rc1 2026-02-25 15:54:00 +00:00
Luca Boccassi 8a048548a7 meson: bump library sonames for v260~rc1 2026-02-25 15:53:38 +00:00
Luca Boccassi 28165f82a4 NEWS: add date and place 2026-02-25 15:52:57 +00:00
Luca Boccassi c8c50243d9 NEWS: add contributors list 2026-02-25 15:52:48 +00:00
Luca Boccassi 3b0430d0bf NEWS: list hwids change 2026-02-25 15:51:27 +00:00
Luca Boccassi eaac6fb1e0 boot: import Snapdragon device hwid json files, install them and use them from ukify (#40541)
The json files were originally generated for Ubuntu stubble and are kown
to work since they ship in all Ubuntu arm64 ISOs by default.

Some of the devices might not be supported in mainline Linux yet and use
preliminary compatible strings.
2026-02-25 15:46:30 +00:00
Zbigniew Jędrzejewski-Szmek 35c404de9b Upgrade /tmp when PrivateTmp=yes/DefaultDeps=no to disconnected (#39790) 2026-02-25 16:14:13 +01:00
Zbigniew Jędrzejewski-Szmek 04897fbbee bootctl: override is_efi_boot() check by --variables= option (#40413)
Fixes #40392.
2026-02-25 15:42:53 +01:00
Luca Boccassi 117ec9db7e ukify: default --hwids to /usr/lib/systemd/boot/hwids/<EFI_ARCH>/
If the option is not manually specified, and the hwids directory exists
for the target EFI architecture, default to it. Allow passing '' to skip.

Fixes https://github.com/systemd/systemd/issues/40542
2026-02-25 13:51:31 +00:00
Luca Boccassi 6d5018487c man: fix line breaking in ukify manpage
Follow-up for 098e44d03c
2026-02-25 13:51:31 +00:00
Luca Boccassi 68aef1be15 Install hwids in /usr/lib/systemd/boot/hwids/<EFI_ARCH>/
These are meant to ship with ukify, in the same package,
so install them when ukify is enabled. Given they are
hardware-specific, use a per-arch subdirectory to make it
easier to enable them by default in ukify.
2026-02-25 13:51:31 +00:00
Tobias Heider d6332fa367 boot: import Snapdragon device hwid json files
Add hwids json files for Snapdragon devices that use of this
feature since they don't ship with devie trees embedded in firmware.
The json files were originally generated for Ubuntu stubble and
are kown to work since they ship in all Ubuntu arm64 ISOs by default.

Some of the devices might not be supported in mainline Linux yet
and use preliminary compatible strings.
2026-02-25 13:51:31 +00:00
Luca Boccassi 6d20cac84c test: move test hwids to separate subdirectory
Will allow installing the actual hwids as a single subdir
2026-02-25 13:51:31 +00:00
Luca Boccassi dc3d1c9bce mkosi: update fedora commit reference to 23a1c1fed99e152d9c498204175a7643371a822c
* 23a1c1fed9 Install /usr/lib/systemd/boot/hwids/ in ukify package
* 985170fdc6 Version 259.1
* 2e10d7da1e Revert getty changes a bit harder
* 96c683c3de Revert all remaing changes to getty@.service
* 24a305a398 Revert to previous handling of getty@.service
* 6a500eb814 Create getty@tty1.service again and move autovt@.service alias to /usr/lib
* 88bd4ab206 Properly enable systemd-tmpfiles-clear.service in scriptlets
* d9f3f02206 Raise the number of placeholder sections in kernel and addon stubs
* e301db0151 Stop enabling getty@tty1.service
* a1c33507a2 Fix unit names in systemd-udev scriptlet
* b7b3e024d6 Enable getty@.service through presets
* ec5e1b1ed7 Move tpm2 and getty support to -udev subpackage
* 9c9976a7f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* f353d244fd Add 2 patches for automatic aarch64 DTB selection change
* 399885597c Revert "Disable sysinit-path for upstream builds"
2026-02-25 13:51:31 +00:00
Luca Boccassi fe78f3cae6 NEWS: two news things (#40826) 2026-02-25 13:26:02 +00:00
Zbigniew Jędrzejewski-Szmek a5dce3eae1 NEWS: mention userns mapping change
Closes #40495.
C.f. 24c73c7920,
     705cc82938.
2026-02-25 14:07:02 +01:00
Zbigniew Jędrzejewski-Szmek 67610d04b4 NEWS: typos and rewordings 2026-02-25 13:53:33 +01:00
Daan De Meyer 101f03bedb Additions to nsresourced and vmspawn required for making use of the foreign UID range in mkosi (#40415) 2026-02-25 13:49:19 +01:00
Hosted Weblate 22e00ebe8d po: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/
Translation: systemd/main
2026-02-25 12:21:16 +00:00
Luca Boccassi 28a0db925f mkosi: add groupadd/groupmod to ASAN wrappers list
TEST-74-AUX-UTILS.sh[3789]: + groupadd haldo
TEST-74-AUX-UTILS.sh[3875]: ==3875==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

Follow-up for 1012c6ce76
2026-02-25 13:16:22 +01:00
Luca Boccassi 97b784fe87 Chores for RC1 (#40814) 2026-02-25 11:59:07 +00:00
Mike Yuan 2b67122cdf core/namespace: clean up append_private_tmp() a bit
With the previous changes the modes for /tmp/ and /var/tmp/
may come in arbitrary directions, i.e. we may downgrade one
and upgrade another. Hence let's refactor the setup logic
a bit so they're truly independent.
2026-02-25 12:38:12 +01:00
Zbigniew Jędrzejewski-Szmek 0a17bb5c34 core: simplify requirements in unit_get_private_var_tmp() to just After=
As in the previous commit, checking for both requirements and ordering seems
unnecessary. In practical cases, the mount will be pulled in by the rest
of the transaction, so ordering is the part that matters. (The setup is
racy without the ordering.)  If we drop the second check, the admin can
just use After=tmp.mount to achieve the desired behaviour, without needing
to explicitly pull in the unit. This is easier to configure and more robust.

This changes the implementation introduced in
6156bec7a4.

Also actually describe the implemented behaviour in the man page.
2026-02-25 12:38:11 +01:00
Zbigniew Jędrzejewski-Szmek fa33eef344 core: upgrade /tmp when PrivateTmp=yes/DefaultDeps=no to disconnected
In https://github.com/systemd/systemd/issues/28515, multiple people report that
services that have PrivateTmp=yes and DefaultDependencies=no fail to create the
temporary directories under /tmp, when /tmp is e.g. a bind mount or some other
kind of mount that takes more time.

Before PrivateTmp=disconnected was added, we didn't have a nice solution:
DefaultDependencies=no is used to start services very early, so we wouldn't
want to add a dependency on /tmp automatically. With PrivateTmp=disconnected we
have a fairly nice solution. Let's "upgrade" to this mode automatically.
Strictly speaking, it is a small compat break, but in practice it's unlikely to
matter for early-boot services whether their /tmp is private or disconnected.

The dependency on /tmp that is checked is After. I think this is enough,
since any tmp.mount would be pulled in by local-fs.target and the rest of
the transaction anyway, so we don't need to check more than After.

The asserts are relaxed, because now the two settings can now diverge
in either way.

Resolves https://github.com/systemd/systemd/issues/28515.

[yhndnzj: fix unit_add_exec_dependencies() to handle the new
          combination; add a comment in exec_needs_sys_admin()]
2026-02-25 12:38:11 +01:00
Mike Yuan 9984a35d65 core/execute: stop looking at ExecSharedRuntime to determine PrivateTmp= state
The only reason why ExecSharedRuntime.(var_)tmp_dir might
be suppressed is when (/var)/tmp/ is listed in InaccessiblePaths=,
in which case mount namespace is needed anyways. Moreover,
the current logic imposes a chicken-and-egg problem:
at various places in pid1 we'd need to check whether
the unit runs in a mountns, but the ExecSharedRuntime
may not be allocated for it just yet.
2026-02-25 12:38:11 +01:00
Mike Yuan 0d10a125f6 core/execute: make exec_shared_runtime_make() handle distinct PrivateTmp= modes properly 2026-02-25 12:38:11 +01:00