[pull] main from systemd:main#498
Merged
pull[bot] merged 10 commits intoadamlaska:mainfrom Feb 24, 2026
Merged
Conversation
No functional change, preparation for the next commit.
The current tag concept has been introduced by e77b146 (v247) to make symlinks in /run/udev/tags/ are 'sticky'. However, when TAG= (rather than TAG+=) is specified, then the tags assigned in the previous events were also cleared. This fixes the issue and now symlinks in /run/udev/tags/ are really 'sticky'. Fortunately, TAG= is mostly unused. So, the issue should not affect and the fix should not change anything on almost all systems.
The removed code in device_tag_index() in fact does nothing, as sd_device.all_tags is never cleared. Moreover, not only the code is meaningless, but it is theoretically/logically wrong, as the symlinks in /run/udev/tags/ should be 'sticky', hence we should even not try to remove them.
The "TAG" token in udev rules handles the current tags. Let's also show the current tags.
Useful for packaging scripts, when units are removed. When multiple markers are assigned without +/-, the last one wins. When using +/-, the job merging logic is followed to the extent possible.
…88a6fb3531a3 * 89a825b80e Install new files for upstream build * 38b1a75eaa systemd.postinst: update journal catalog after reexecing managers * 9420ffa0dd Install new files for upstream build * cb5fdf4df0 Install sd-report from new path * 2501efe312 homed: drop dependency satisfied since bookworm/noble * 424262b674 d/control: add TODO * 9aaa01c99d d/libsystemd-shared.preinst: refuse to upgrade without unified cgroupv2 hierarchy * 7d0ac8a4b8 Install new files for upstream build * 7e55d41841 Do not install legacy.conf in upstream builds * 190387958e d/e/checkout-upstream: try to install build deps with sudo in case it fails * 2a4aa9f426 Disable installing runlevel targets for upstream build * e02600f2d9 Install new files for upstream build * 0f1a56cf10 Update changelog for 259.1-1 release * e463300b1a d/e/checkout-upstream: try to install build deps again after switching to CI branch * b3f72821e5 Install ask-password polkit policy file * 8219d561ae Restrict the tpm2-generator manpage to arches where it is built * 30a0f27283 systemd.postinst: reexec system manager before user instances * 1fc9ea2790 systemd.postinst: reexec before restarting any service * d9991aeb22 d/control: use libarchive13t64 | libarchive13 for bookworm/jammy * b750346711 d/control: make systemd-container Depends: libarchive13t64 Fixes #40777
Intend to use these in the deb packaging scriptlets Fixes: #19755
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )