diff options
author | Mike Gilbert <floppym@gentoo.org> | 2024-07-01 09:52:44 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2024-07-01 09:53:47 -0400 |
commit | 06f66d41e4680e1ca0dbb338df4e94c39c822fdd (patch) | |
tree | f0f4e793e342878805994ee82fe06196cd097071 /sys-apps | |
parent | media-libs/libdisplay-info: Bump to version 0.2.0 (diff) | |
download | gentoo-06f66d41e4680e1ca0dbb338df4e94c39c822fdd.tar.gz gentoo-06f66d41e4680e1ca0dbb338df4e94c39c822fdd.tar.bz2 gentoo-06f66d41e4680e1ca0dbb338df4e94c39c822fdd.zip |
sys-apps/systemd: backport user manager reexec to 255.7
... in case of downgrades.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd/systemd-255.7-r1.ebuild (renamed from sys-apps/systemd/systemd-255.7.ebuild) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-255.7.ebuild b/sys-apps/systemd/systemd-255.7-r1.ebuild index d8e84d10f24a..910799affdb8 100644 --- a/sys-apps/systemd/systemd-255.7.ebuild +++ b/sys-apps/systemd/systemd-255.7-r1.ebuild @@ -504,6 +504,11 @@ pkg_postinst() { ebegin "Reexecuting system manager (systemd)" systemctl daemon-reexec eend $? || FAIL=1 + + # https://lists.freedesktop.org/archives/systemd-devel/2024-June/050466.html + ebegin "Signaling user managers to reexec" + systemctl kill --kill-whom='main' --signal='SIGRTMIN+25' 'user@*.service' + eend $? fi if [[ ${FAIL} ]]; then |