]> git.ipfire.org Git - thirdparty/systemd.git/commit
switch-root: preserve the whole cred mount tree (/run/credentials/)
authorMike Yuan <me@yhndnzj.com>
Tue, 14 May 2024 09:03:00 +0000 (17:03 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 15 May 2024 16:48:16 +0000 (00:48 +0800)
commit07c5c2ab8b80f75a1c89fc405db1ce1dfd08534b
treef2a17d5f27c079a8e5ea56500b04ee2ed351470f
parent2aee829fc88fdde3983080de5c56fa06eb678280
switch-root: preserve the whole cred mount tree (/run/credentials/)

Currently, during soft-reboot, some services may survive,
but their associated credential mounts are dropped.
Let's instead preserve them, as discussed.
src/shared/switch-root.c