]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
5 weeks agopidref: do not tamper with pidref_acquire_pidfd_id() retval
Mike Yuan [Thu, 19 Feb 2026 23:14:19 +0000 (00:14 +0100)] 
pidref: do not tamper with pidref_acquire_pidfd_id() retval

If a pidfd id is passed to us, it must have originated from
somewhere, i.e. pidfs should be supported on the system.
Hence let's be honest about -EOPNOTSUPP, which might indicate
some bigger problems under the hood, rather than allowing
it to be turned into mild -ESRCH.

5 weeks agozsh: add systemd-id128 completions
Ronan Pigott [Sun, 1 Mar 2026 16:47:16 +0000 (09:47 -0700)] 
zsh: add systemd-id128 completions

5 weeks agoresolved: use DNS_TYPE_DNSKEY for trust anchor support (#40850)
Anton Tiurin [Mon, 2 Mar 2026 04:44:26 +0000 (04:44 +0000)] 
resolved: use DNS_TYPE_DNSKEY for trust anchor support (#40850)

Fix typo: DNS_TYPE_DNSKEY should be used instead of DNS_TYPE_KEY.
- DNS_TYPE_KEY is deprecated
- Source code at resolved-dns-trust-anchor.c#L313 handles
DNS_TYPE_DNSKEY records, but not DNS_TYPE_KEY
So DNS_TYPE_KEY is not referenced anywhere

5 weeks agoresolve: add missing ServiceNotProvided error to Varlink IDL (#40858)
Anton Tiurin [Mon, 2 Mar 2026 04:22:14 +0000 (04:22 +0000)] 
resolve: add missing ServiceNotProvided error to Varlink IDL (#40858)

The error is emitted by `vl_method_resolve_service_complete()` when an
SRV record with a root domain hostname is found, indicating the service
is explicitly not offered on the queried domain (RFC 2782 Usage Rules),

but was not declared in the `io.systemd.Resolve` interface definition.

Follow-up for 3d8f2c14641f840e0ad6380ec3e773bbb40e67df.

5 weeks agocore: fix typo in Unit.List sentinel error name
noxiouz [Thu, 26 Feb 2026 23:54:46 +0000 (23:54 +0000)] 
core: fix typo in Unit.List sentinel error name

5 weeks agomountpoint-util: add overlay check to fstype_is_blockdev_backed() and simplify fstype...
Yu Watanabe [Mon, 2 Mar 2026 04:15:14 +0000 (13:15 +0900)] 
mountpoint-util: add overlay check to fstype_is_blockdev_backed() and simplify fstype_is_api_vfs() (#40866)

5 weeks agocore/exec-invoke: correct size for dont_close array in close_remaining_fds() (#40867)
Yu Watanabe [Mon, 2 Mar 2026 04:05:42 +0000 (13:05 +0900)] 
core/exec-invoke: correct size for dont_close array in close_remaining_fds() (#40867)

5 weeks agocryptsetup: fix 'tpm2-primary-alg' information in 'cryptsetup luksDump' (#40872)
Yu Watanabe [Mon, 2 Mar 2026 03:40:40 +0000 (12:40 +0900)] 
cryptsetup: fix 'tpm2-primary-alg' information in 'cryptsetup luksDump' (#40872)

It was noticed that cryptsetup luksDump outputs

  tpm2-primary-alg: ecc

regardless of the actual primary key type. Namely, in the situation when
RSA SRK is passed to 'systemd-cryptenroll', the output is incorrect and
misleading. Turns out 'tpm2-primary-alg' is not currently used for
unsealing as 'tpm2_srk' object has it in its properties but the
misleading information problem stays.

Fix the issue with a two-fold fix:
- Put the SRK primary alg type to the JSON token so 'cryptsetup
luksDump' has a chance to actually print the right information without
the need to inspect SRK.
- Avoid printing 'tpm2-primary-alg' when it is unset in the JSON as the
default 'ECC' may not match the reality.

No real functional change for the sealing/unsealing expected.

5 weeks agoman: improve documentation for RestartSteps (#40879)
Val Markovic [Mon, 2 Mar 2026 03:38:35 +0000 (04:38 +0100)] 
man: improve documentation for RestartSteps (#40879)

I found the existing explanation of RestartSteps to be simply
impenetrable. Even providing the full docs context to several of our new
AI overlords resulted in wildly different (and completely incorrect)
explanations of the final restart intervals.

Digging through the code, I found the restart delay computation in
`service_restart_usec_next` in `src/core/service.c`.

I've updated the documentation for RestartSteps with an example,
suggested value range and a detailed enough explanation that accurately
describes the current behavior.

5 weeks agoudev: tag kfd devices for xaccess-render (#40888)
Mario Limonciello [Mon, 2 Mar 2026 03:32:50 +0000 (21:32 -0600)] 
udev: tag kfd devices for xaccess-render (#40888)

The kfd device is used for running compute workloads on AMD
GPUs. Users that are logged in should be able to run compute
so tag them like other DRM and ACCEL devices are.

5 weeks agohwdb: add one more USB ID for 3D Connexion SpaceMouse Wireless BT (#40890)
IntenseWiggling [Mon, 2 Mar 2026 03:31:29 +0000 (22:31 -0500)] 
hwdb: add one more USB ID for 3D Connexion SpaceMouse Wireless BT (#40890)

The 3D Connexion SpaceMouse Wireless BT (256f:c63a) has an entry in
`70-mouse.hwdb` already as a bluetooth device, but it can also be
connected as a USB device.

`5-3.3: hwdb modalias key: "usb:v256FpC63A:SpaceMouse Wireless BT"`

Ref:
https://github.com/FreeSpacenav/spacenavd/blob/39856625a6de1e8c4b57c5938e1bf29d13cf1a9f/src/dev.c#L83

5 weeks agobuild(deps): bump github/codeql-action in the actions group
dependabot[bot] [Sun, 1 Mar 2026 09:35:33 +0000 (09:35 +0000)] 
build(deps): bump github/codeql-action in the actions group

Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).

Updates `github/codeql-action` from 4.32.0 to 4.32.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/b20883b0cd1f46c72ae0ba6d1090936928f9fa30...89a39a4e59826350b863aa6b6252a07ad50cf83e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
5 weeks agocore/exec-invoke: make fd array sizing less error-prone 40867/head
Mike Yuan [Fri, 27 Feb 2026 11:11:33 +0000 (12:11 +0100)] 
core/exec-invoke: make fd array sizing less error-prone

History has clearly shown that we're terrible at keeping
the size of the dont_close array up-to-date. Hence let's
step away from a hardcoded max size for that, instead
always collect all fds in the array initializer and
let compiler figure it out, taking advantage of the fact
that close_all_fds() gracefully handles invalid fds in
the 'except' array.

5 weeks agocore/exec-invoke: drop duplicate addition of handoff_timestamp_fd to dont_close array
Mike Yuan [Sat, 28 Feb 2026 21:16:51 +0000 (22:16 +0100)] 
core/exec-invoke: drop duplicate addition of handoff_timestamp_fd to dont_close array

Follow-up for 12001b1bf067339db089d52e08fd0b4c6a9945df

It is part of the keep_fds array already, which is intended
for fds that need to survive until the very end of executor
runtime, i.e. across the second close_all_fds() call.

5 weeks agocore/exec-invoke: correct size for dont_close array in close_remaining_fds()
Mike Yuan [Sat, 28 Feb 2026 21:14:51 +0000 (22:14 +0100)] 
core/exec-invoke: correct size for dont_close array in close_remaining_fds()

Follow-up for 79dd24cf14adc809620479d45a7b469cf3e82892

5 weeks agocore/exec-invoke: fix potential double close of socket/bpffs fds on failure
Mike Yuan [Sat, 28 Feb 2026 21:48:14 +0000 (22:48 +0100)] 
core/exec-invoke: fix potential double close of socket/bpffs fds on failure

The owned fds should be closed before close_all_fds() along the lines
of exec_params/runtime_close(), otherwise they would be left dangling
afterwards.

5 weeks agocore/execute: drop redundant close of root_directory_fd
Mike Yuan [Sun, 1 Mar 2026 12:53:35 +0000 (13:53 +0100)] 
core/execute: drop redundant close of root_directory_fd

exec_params_shallow_clear() will take care of it.

5 weeks agoprocess-util: leave actual log fd closing to close_all_fds() if the latter will be...
Mike Yuan [Sat, 28 Feb 2026 21:43:31 +0000 (22:43 +0100)] 
process-util: leave actual log fd closing to close_all_fds() if the latter will be done anyways

5 weeks agozsh: add userdbctl completion
Ronan Pigott [Sun, 1 Mar 2026 08:33:49 +0000 (01:33 -0700)] 
zsh: add userdbctl completion

5 weeks agofix: check error with -ENOMEDIUM not ENOMEDIUM
Weixie Cui [Sun, 1 Mar 2026 04:47:32 +0000 (12:47 +0800)] 
fix: check error with -ENOMEDIUM not ENOMEDIUM

Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
5 weeks agonss-systemd,strv: use a common definition of a non-NULL but empty strv
Lennart Poettering [Fri, 27 Feb 2026 22:34:58 +0000 (23:34 +0100)] 
nss-systemd,strv: use a common definition of a non-NULL but empty strv

Follow-up for: 239903d44c12f10b5fe7c1f8457ae5203e47d8cc

5 weeks agosd-varlink: add missing space
Mike Yuan [Mon, 23 Feb 2026 07:59:38 +0000 (08:59 +0100)] 
sd-varlink: add missing space

5 weeks agoshared/pager: do not wait for process again after FORK_WAIT
Mike Yuan [Fri, 27 Feb 2026 15:51:10 +0000 (16:51 +0100)] 
shared/pager: do not wait for process again after FORK_WAIT

Follow-up for fbd276cb86a2f0292cc19fd57ee3d72bf73592dc

Fixes #40873

5 weeks agotmpfiles: minor logging fixes (#40875)
Mike Yuan [Sat, 28 Feb 2026 10:48:43 +0000 (11:48 +0100)] 
tmpfiles: minor logging fixes (#40875)

6 weeks agoNEWS: add various more features added in v260, and introduce more sections
Lennart Poettering [Fri, 27 Feb 2026 22:57:17 +0000 (23:57 +0100)] 
NEWS: add various more features added in v260, and introduce more sections

6 weeks agoTranslations update from Fedora Weblate (#40876)
Luca Boccassi [Fri, 27 Feb 2026 17:27:30 +0000 (17:27 +0000)] 
Translations update from Fedora Weblate (#40876)

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)

6 weeks agopo: Translated using Weblate (Chinese (Simplified) (zh_CN)) 40876/head
lumingzh [Fri, 27 Feb 2026 16:58:42 +0000 (16:58 +0000)] 
po: Translated using Weblate (Chinese (Simplified) (zh_CN))

Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: lumingzh <lumingzh@qq.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/zh_CN/
Translation: systemd/main

6 weeks agopo: Translated using Weblate (Korean)
김인수 [Fri, 27 Feb 2026 16:58:42 +0000 (16:58 +0000)] 
po: Translated using Weblate (Korean)

Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main

6 weeks agopo: Translated using Weblate (French)
Léane GRASSER [Fri, 27 Feb 2026 16:58:42 +0000 (16:58 +0000)] 
po: Translated using Weblate (French)

Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main

6 weeks agopo: Translated using Weblate (Greek)
Efstathios Iosifidis [Fri, 27 Feb 2026 16:58:41 +0000 (16:58 +0000)] 
po: Translated using Weblate (Greek)

Currently translated at 100.0% (266 of 266 strings)

Co-authored-by: Efstathios Iosifidis <eiosifidis@yandex.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/el/
Translation: systemd/main

6 weeks agotmpfiles: downgrade log level for non-existent symlink target 40875/head
Mike Yuan [Fri, 27 Feb 2026 16:08:27 +0000 (17:08 +0100)] 
tmpfiles: downgrade log level for non-existent symlink target

I'm seeing a *lot* of noise induced by missing varlink sockets
under /run/host/ after 336369393588fcdf20e37d4c766e119db0b2f781.

6 weeks agotmpfiles: fix doubled "/" in root + path logging
Mike Yuan [Fri, 27 Feb 2026 16:04:41 +0000 (17:04 +0100)] 
tmpfiles: fix doubled "/" in root + path logging

6 weeks agocryptsetup-tokens: Print tpm2-primary-alg: only when it is known 40872/head
Vitaly Kuznetsov [Fri, 27 Feb 2026 13:20:20 +0000 (14:20 +0100)] 
cryptsetup-tokens: Print tpm2-primary-alg: only when it is known

When 'tpm2-primary-alg' is missing in LUKS JSON token, the output of
'cryptsetup luksDump' is always:

tpm2-primary-alg: ecc

because tpm2_parse_luks2_json() returns the default (TPM2_ALG_ECC). This can be
misleading and wrong. Make tpm2_parse_luks2_json() return the reality and move
the default to tpm2_unseal().

6 weeks agomountpoint-util: remove duplicate check in fstype_is_api_vfs() 40866/head
Pontus Lundkvist [Fri, 27 Feb 2026 13:09:59 +0000 (14:09 +0100)] 
mountpoint-util: remove duplicate check in fstype_is_api_vfs()

devtmpfs is part of the @basic-api filesystem-set

6 weeks agomountpoint-util: add exempt for overlay in fstype_is_blockdev_backed()
Pontus Lundkvist [Fri, 27 Feb 2026 13:05:10 +0000 (14:05 +0100)] 
mountpoint-util: add exempt for overlay in fstype_is_blockdev_backed()

This allows `systemd-mount` to be used with --type overlay

6 weeks agocryptenroll: Save primary algorithm type to the LUKS token
Vitaly Kuznetsov [Fri, 27 Feb 2026 12:46:07 +0000 (13:46 +0100)] 
cryptenroll: Save primary algorithm type to the LUKS token

'tpm2-primary-alg' field is currently unset in LUKS JSON token both for the
case when SRK was used for enrolling (--tpm2-device-key=) and for the case when
SRK was obtained/generated (--tpm2-device=). While this information is not
really needed for unsealing (the sealed object itself has key type in it), it
may be convenient to see key type in e.g. 'cryptsetup luksDump' in the
situations where key type matters. Since 'tpm2-primary-alg' is already defined,
just set it properly in all cases.

6 weeks agoshared/dropin: use set_contains() where appropriate
Mike Yuan [Thu, 26 Feb 2026 16:44:57 +0000 (17:44 +0100)] 
shared/dropin: use set_contains() where appropriate

6 weeks agoshared: fix sysext ImageType IDL missing mstack value, add enum IDL test
noxiouz [Fri, 27 Feb 2026 02:24:29 +0000 (02:24 +0000)] 
shared: fix sysext ImageType IDL missing mstack value, add enum IDL test

Add the missing 'mstack' value to the ImageType enum in the
io.systemd.sysext Varlink IDL — image_type_table in discover-image.c
already defines IMAGE_MSTACK = "mstack" but it was absent from the IDL.

Export vl_type_ImageType so the test can reference it, and add
TEST_IDL_ENUM(ImageType, ...) to the enums_idl test to catch
similar regressions in the future.

6 weeks agoshared: fix comment typos in Udev and AskPassword Varlink IDL
noxiouz [Fri, 27 Feb 2026 02:33:22 +0000 (02:33 +0000)] 
shared: fix comment typos in Udev and AskPassword Varlink IDL

6 weeks agomountfsd: include imageName in MountImage Varlink reply
noxiouz [Fri, 27 Feb 2026 02:42:26 +0000 (02:42 +0000)] 
mountfsd: include imageName in MountImage Varlink reply

6 weeks agoimport: fix AlreadyInProgress Varlink error missing remote field
noxiouz [Fri, 27 Feb 2026 00:02:12 +0000 (00:02 +0000)] 
import: fix AlreadyInProgress Varlink error missing remote field

The handler sends the remote URL as a parameter via sd_varlink_errorbo()
but the IDL declared the error with no fields, making the payload
undiscoverable via introspection.

6 weeks agohostname: fix OperatingSystemImageID/Version Varlink IDL
noxiouz [Thu, 26 Feb 2026 21:57:52 +0000 (21:57 +0000)] 
hostname: fix OperatingSystemImageID/Version Varlink IDL

Both fields are populated from IMAGE_ID/IMAGE_VERSION in os-release,
which are plain strings.

Fix typo in include.

6 weeks agotpm2-setup: make NV index space exhaustion issues more discoverable (#40841)
Luca Boccassi [Thu, 26 Feb 2026 23:52:28 +0000 (23:52 +0000)] 
tpm2-setup: make NV index space exhaustion issues more discoverable (#40841)

6 weeks agoNEWS: fix manpage section for os-release
Christopher Cooper [Thu, 26 Feb 2026 19:18:48 +0000 (11:18 -0800)] 
NEWS: fix manpage section for os-release

6 weeks agoSmall hwdb cleanups (#40854)
Luca Boccassi [Thu, 26 Feb 2026 20:12:47 +0000 (20:12 +0000)] 
Small hwdb cleanups (#40854)

6 weeks agohwdb: use more modern python syntax in one more place 40854/head
Zbigniew Jędrzejewski-Szmek [Thu, 26 Feb 2026 18:02:03 +0000 (19:02 +0100)] 
hwdb: use more modern python syntax in one more place

6 weeks agohwdb: fix typos reported by Copilot, reword comment
Zbigniew Jędrzejewski-Szmek [Thu, 26 Feb 2026 18:01:23 +0000 (19:01 +0100)] 
hwdb: fix typos reported by Copilot, reword comment

6 weeks agohwdb: drop trailing whitespace
Zbigniew Jędrzejewski-Szmek [Thu, 26 Feb 2026 17:12:03 +0000 (18:12 +0100)] 
hwdb: drop trailing whitespace

Fixup for f6f695ba5ac73d0a28ea88697eeeecb7dbaaa9c7 and
774e8059590fac45614a135161dee4669945e342.

6 weeks agoFixes for yeswehack reports (#40840)
Zbigniew Jędrzejewski-Szmek [Thu, 26 Feb 2026 16:55:52 +0000 (17:55 +0100)] 
Fixes for yeswehack reports (#40840)

6 weeks agoTranslations update from Fedora Weblate (#40842)
Luca Boccassi [Thu, 26 Feb 2026 14:47:39 +0000 (14:47 +0000)] 
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)

6 weeks agopo: Translated using Weblate (Arabic) 40842/head
joo es [Thu, 26 Feb 2026 13:58:31 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Swedish)
Daniel Nylander [Thu, 26 Feb 2026 13:58:30 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Portuguese)
Américo Monteiro [Thu, 26 Feb 2026 13:58:30 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Ukrainian)
Yuri Chornoivan [Thu, 26 Feb 2026 13:58:30 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Kazakh)
Baurzhan Muftakhidinov [Thu, 26 Feb 2026 13:58:29 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Turkish)
Oğuz Ersen [Thu, 26 Feb 2026 13:58:29 +0000 (13:58 +0000)] 
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

6 weeks agopo: Translated using Weblate (Georgian)
Temuri Doghonadze [Thu, 26 Feb 2026 13:58:29 +0000 (13:58 +0000)] 
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

6 weeks agocore: validate input cgroup path more prudently 40840/head
Mike Yuan [Thu, 26 Feb 2026 10:06:34 +0000 (11:06 +0100)] 
core: validate input cgroup path more prudently

6 weeks agocore/cgroup: avoid one unnecessary strjoina()
Mike Yuan [Thu, 26 Feb 2026 10:06:00 +0000 (11:06 +0100)] 
core/cgroup: avoid one unnecessary strjoina()

6 weeks agocore/dbus-unit: query sender uid only once, validate unit uid early
Mike Yuan [Sat, 21 Feb 2026 18:53:03 +0000 (19:53 +0100)] 
core/dbus-unit: query sender uid only once, validate unit uid early

Follow-up for 05f5156ad1a3b84b54c104ee375b9ce7b746e0cd

6 weeks agosd-json: fix off-by-one issue when updating parent for array elements
Mike Yuan [Thu, 26 Feb 2026 10:07:39 +0000 (11:07 +0100)] 
sd-json: fix off-by-one issue when updating parent for array elements

Follow-up for 8525bb369a09f488ec77f94e1557ecc2343eb4ab

6 weeks agotpm2-setup: make NV index space exhaustion issues more discoverable 40841/head
Lennart Poettering [Thu, 26 Feb 2026 10:23:08 +0000 (11:23 +0100)] 
tpm2-setup: make NV index space exhaustion issues more discoverable

Let's log about this explicitly, and include a message catalog entry for
it.

6 weeks agotpm2-util: fix log level of one log call
Lennart Poettering [Thu, 26 Feb 2026 10:33:46 +0000 (11:33 +0100)] 
tpm2-util: fix log level of one log call

6 weeks agocore/socket: fix reversed symlink direction in error message
Zbigniew Jędrzejewski-Szmek [Thu, 26 Feb 2026 08:25:48 +0000 (09:25 +0100)] 
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.

6 weeks agotest-qr-code: allow specifying the text to encode
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 08:35:37 +0000 (09:35 +0100)] 
test-qr-code: allow specifying the text to encode

6 weeks agonetwork: do not create state file for removed interface
Yu Watanabe [Wed, 25 Feb 2026 15:31:39 +0000 (00:31 +0900)] 
network: do not create state file for removed interface

Fixes #40817.

6 weeks agomkosi: explicitly add mount package to build image
Luca Boccassi [Wed, 25 Feb 2026 23:12:28 +0000 (23:12 +0000)] 
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

6 weeks agosemaphore: switch to debian stable
Luca Boccassi [Wed, 25 Feb 2026 23:08:41 +0000 (23:08 +0000)] 
semaphore: switch to debian stable

oldstable is close to moving to LTS so switch to stable

6 weeks agorpm/systemd-update-helper: use 'enqueue-marked-jobs'
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 21:04:16 +0000 (22:04 +0100)] 
rpm/systemd-update-helper: use 'enqueue-marked-jobs'

Without this, a warning is emitted on upgrades.
Follow-up for c008f88dede789ce4572c21a2bca16ff7eede193.

6 weeks agoman: fix typo
Luca Boccassi [Wed, 25 Feb 2026 18:57:59 +0000 (18:57 +0000)] 
man: fix typo

Follow-up for 23115eeaf10

6 weeks agotest: delete one more test artifact on shutdown
Luca Boccassi [Wed, 25 Feb 2026 18:35:06 +0000 (18:35 +0000)] 
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 4248b02c443de2981b2e8da199fdc63dc3121658

6 weeks agomeson: bump version to v260~rc1 v260-rc1
Luca Boccassi [Wed, 25 Feb 2026 15:54:00 +0000 (15:54 +0000)] 
meson: bump version to v260~rc1

6 weeks agomeson: bump library sonames for v260~rc1
Luca Boccassi [Wed, 25 Feb 2026 15:53:38 +0000 (15:53 +0000)] 
meson: bump library sonames for v260~rc1

6 weeks agoNEWS: add date and place
Luca Boccassi [Wed, 25 Feb 2026 15:52:57 +0000 (15:52 +0000)] 
NEWS: add date and place

6 weeks agoNEWS: add contributors list
Luca Boccassi [Wed, 25 Feb 2026 15:52:48 +0000 (15:52 +0000)] 
NEWS: add contributors list

6 weeks agoNEWS: list hwids change
Luca Boccassi [Wed, 25 Feb 2026 15:51:27 +0000 (15:51 +0000)] 
NEWS: list hwids change

6 weeks agoboot: import Snapdragon device hwid json files, install them and use them from ukify...
Luca Boccassi [Wed, 25 Feb 2026 15:46:30 +0000 (15:46 +0000)] 
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.

6 weeks agoUpgrade /tmp when PrivateTmp=yes/DefaultDeps=no to disconnected (#39790)
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 15:14:13 +0000 (16:14 +0100)] 
Upgrade /tmp when PrivateTmp=yes/DefaultDeps=no to disconnected (#39790)

6 weeks agobootctl: override is_efi_boot() check by --variables= option (#40413)
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 14:42:53 +0000 (15:42 +0100)] 
bootctl: override is_efi_boot() check by --variables= option (#40413)

Fixes #40392.

6 weeks agoukify: default --hwids to /usr/lib/systemd/boot/hwids/<EFI_ARCH>/ 40541/head
Luca Boccassi [Tue, 24 Feb 2026 22:00:35 +0000 (22:00 +0000)] 
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

6 weeks agoman: fix line breaking in ukify manpage
Luca Boccassi [Tue, 24 Feb 2026 21:56:48 +0000 (21:56 +0000)] 
man: fix line breaking in ukify manpage

Follow-up for 098e44d03cf1968434990b7d62a0e6221fc675e0

6 weeks agoInstall hwids in /usr/lib/systemd/boot/hwids/<EFI_ARCH>/
Luca Boccassi [Tue, 24 Feb 2026 21:09:26 +0000 (21:09 +0000)] 
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.

6 weeks agoboot: import Snapdragon device hwid json files
Tobias Heider [Mon, 2 Feb 2026 11:08:46 +0000 (12:08 +0100)] 
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.

6 weeks agotest: move test hwids to separate subdirectory
Luca Boccassi [Tue, 24 Feb 2026 18:17:45 +0000 (18:17 +0000)] 
test: move test hwids to separate subdirectory

Will allow installing the actual hwids as a single subdir

6 weeks agomkosi: update fedora commit reference to 23a1c1fed99e152d9c498204175a7643371a822c
Luca Boccassi [Wed, 25 Feb 2026 13:50:25 +0000 (13:50 +0000)] 
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"

6 weeks agoNEWS: two news things (#40826)
Luca Boccassi [Wed, 25 Feb 2026 13:26:02 +0000 (13:26 +0000)] 
NEWS: two news things (#40826)

6 weeks agoNEWS: mention userns mapping change 40826/head
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 13:07:02 +0000 (14:07 +0100)] 
NEWS: mention userns mapping change

Closes #40495.
C.f. 24c73c79204bd22d243430bc0d9c2a7d814250bf,
     705cc82938b67fa110f2f6f5d28bfb9ec2f339c0.

6 weeks agoNEWS: typos and rewordings
Zbigniew Jędrzejewski-Szmek [Wed, 25 Feb 2026 12:53:33 +0000 (13:53 +0100)] 
NEWS: typos and rewordings

6 weeks agoAdditions to nsresourced and vmspawn required for making use of the foreign UID range...
Daan De Meyer [Wed, 25 Feb 2026 12:49:19 +0000 (13:49 +0100)] 
Additions to nsresourced and vmspawn required for making use of the foreign UID range in mkosi (#40415)

6 weeks agopo: Update translation files
Hosted Weblate [Wed, 25 Feb 2026 11:59:20 +0000 (11:59 +0000)] 
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

6 weeks agomkosi: add groupadd/groupmod to ASAN wrappers list
Luca Boccassi [Wed, 25 Feb 2026 11:16:28 +0000 (11:16 +0000)] 
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 1012c6ce76ce10772ece1c51b997b53b848054f5

6 weeks agoChores for RC1 (#40814)
Luca Boccassi [Wed, 25 Feb 2026 11:59:07 +0000 (11:59 +0000)] 
Chores for RC1 (#40814)

6 weeks agocore/namespace: clean up append_private_tmp() a bit 39790/head
Mike Yuan [Tue, 24 Feb 2026 18:40:14 +0000 (19:40 +0100)] 
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.

6 weeks agocore: simplify requirements in unit_get_private_var_tmp() to just After=
Zbigniew Jędrzejewski-Szmek [Tue, 18 Nov 2025 14:12:55 +0000 (15:12 +0100)] 
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
6156bec7a464815084fa5218fe782ea6cb20ad52.

Also actually describe the implemented behaviour in the man page.

6 weeks agocore: upgrade /tmp when PrivateTmp=yes/DefaultDeps=no to disconnected
Zbigniew Jędrzejewski-Szmek [Tue, 18 Nov 2025 12:51:41 +0000 (13:51 +0100)] 
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()]

6 weeks agocore/execute: stop looking at ExecSharedRuntime to determine PrivateTmp= state
Mike Yuan [Tue, 24 Feb 2026 22:11:55 +0000 (23:11 +0100)] 
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.

6 weeks agocore/execute: make exec_shared_runtime_make() handle distinct PrivateTmp= modes properly
Mike Yuan [Tue, 24 Feb 2026 22:08:40 +0000 (23:08 +0100)] 
core/execute: make exec_shared_runtime_make() handle distinct PrivateTmp= modes properly

6 weeks agocore/namespace: two fixes for namespace_cleanup_tmpdir()
Mike Yuan [Wed, 25 Feb 2026 08:23:50 +0000 (09:23 +0100)] 
core/namespace: two fixes for namespace_cleanup_tmpdir()

* Make sure we're not passing NULL to rmdir()
* Remove the inner "tmp" subdir as well, so that callers
  can handle this transparently (e.g. exec_shared_runtime_make()
  is not aware of the nested rmdir() requirements)

While at it, remove unneeded PROTECT_ERRNO.

6 weeks agocore/namespace: rename() might return ENOTEMPTY if target dir exists
Mike Yuan [Wed, 25 Feb 2026 08:26:44 +0000 (09:26 +0100)] 
core/namespace: rename() might return ENOTEMPTY if target dir exists

6 weeks agocore/unit: refuse UserNamespacePath= + PrivateUsers=
Mike Yuan [Tue, 24 Feb 2026 22:33:24 +0000 (23:33 +0100)] 
core/unit: refuse UserNamespacePath= + PrivateUsers=

Such setup makes zero sense, as if we unshare userns ourselves
we'd immediately lose CAP_SYS_ADMIN over the userns specified.