Repository navigation
Closed
Description
systemd version the issue has been seen with
256.7
Used distribution
AOSC OS, Arch Linux, Debian 12
Linux kernel version used
6.11.4-aosc-main
CPU architectures issue was seen on
x86_64
Component
systemd
Expected behaviour you didn't see
With ProtectSystem=full / strict (or any option that enables mount namespace I guess), ExecReload= should work the same as Exec=, which gets full access to its credentials.
Unexpected behaviour you saw
With ProtectSystem=full / strict (or any option that enables mount namespace I guess), ExecReload= won't get credential directories mounted.
Without mount namespace this is unaffected.
Steps to reproduce the problem
systemd-run -r \
-p ProtectSystem=full \
-p LoadCredential=abc:/etc/os-release \
-p ExecReload="/bin/sh -c 'echo Reload && (mount | grep cred) && ls -alh /run/credentials/'" \
/bin/sh -c 'echo Run && (mount | grep cred) && ls -alh /run/credentials'- Observe outputs (there should be a credential directory for the service, and the credentials directory should be mounted).
systemctl reload- Observe outputs (there should be the same credential directory and mounting point, but there is nothing).
Additional program output to the terminal or log subsystem illustrating the issue
# systemctl log-level debug
11月 18 19:06:56 haneda systemd[1]: Setting log level to debug.
11月 18 19:06:56 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=n/a error-name=n/a error-message=n/a
11月 18 19:06:56 haneda systemd[1]: Bus private-bus-connection: changing state RUNNING → CLOSING
11月 18 19:06:56 haneda systemd[1]: Bus private-bus-connection: changing state CLOSING → CLOSED
11月 18 19:06:56 haneda systemd[1]: Got disconnect on private connection.
# systemd-run
11月 18 19:06:58 haneda systemd[1]: Bus private-bus-connection: changing state UNSET → OPENING
11月 18 19:06:58 haneda systemd[1]: sd-bus: starting bus private-bus-connection on fds 105/105 (socket:[203959], socket:[203959])...
11月 18 19:06:58 haneda systemd[1]: Bus private-bus-connection: changing state OPENING → AUTHENTICATING
11月 18 19:06:58 haneda systemd[1]: Accepting direct incoming connection from 8795 (systemd-run) [n/a]
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1 iface=org.freedesktop.systemd1.Manager
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/job iface=org.freedesktop.systemd1.Job
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Unit
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Automount
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Device
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Mount
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Path
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Scope
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Service
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Slice
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Socket
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Swap
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Target
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Timer
11月 18 19:06:58 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1
11月 18 19:06:58 haneda systemd[1]: Accepted new private connection.
11月 18 19:06:58 haneda systemd[1]: Bus private-bus-connection: changing state AUTHENTICATING → RUNNING
11月 18 19:06:58 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=StartTransientUnit cookie=1 reply_cookie=0 signature=ssa(sv)a(sa(sv)) error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Trying to acquire polkit authentication for 'org.freedesktop.systemd1.manage-units'.
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Failed to load configuration: No such file or directory
11月 18 19:06:58 haneda systemd[1]: run-credentials-run\x2dr1c82a0baecd84076a49df8167951e0f3.service.mount: Failed to load configuration: No such file or directory
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Trying to enqueue job run-r1c82a0baecd84076a49df8167951e0f3.service/start/fail
11月 18 19:06:58 haneda systemd[1]: lvm2-lvmetad.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmetad.socket not found.
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Installed new job run-r1c82a0baecd84076a49df8167951e0f3.service/start as 2496
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Enqueued job run-r1c82a0baecd84076a49df8167951e0f3.service/start as 2496
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=UnitNew cookie=1 reply_cookie=0 signature=so error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=UnitNew cookie=815 reply_cookie=0 signature=so error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=816 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=3 reply_cookie=1 signature=o error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=UnitNew cookie=4 reply_cookie=0 signature=so error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=UnitNew cookie=817 reply_cookie=0 signature=so error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/shutdown_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/shutdown_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=818 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/basic_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=6 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/basic_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=819 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/sysinit_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/sysinit_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=820 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/system_2eslice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=8 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/system_2eslice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=821 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2djournald_2esocket interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=9 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2djournald_2esocket interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=10 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2djournald_2esocket interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=822 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2djournald_2esocket interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=823 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Will spawn child (service_enter_start): /bin/sh
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Passing 0 fds to service
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: About to execute: /bin/sh -c "echo Run && (mount | grep cred) && ls -alh /run/credentials"
11月 18 19:06:58 haneda systemd[1]: Serializing sd-executor-state to memfd.
11月 18 19:06:58 haneda systemd[1]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:06:58 haneda (sh)[8796]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Forked /bin/sh as 8796 (without CLONE_INTO_CGROUP)
11月 18 19:06:58 haneda systemd[1]: Closing set fd 188 (socket:[12989])
11月 18 19:06:58 haneda systemd[1]: Closing set fd 189 (socket:[12987])
11月 18 19:06:58 haneda (sh)[8796]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=11 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=12 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=824 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=825 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Changed dead -> running
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Job 2496 run-r1c82a0baecd84076a49df8167951e0f3.service/start finished, result=done
11月 18 19:06:58 haneda systemd[1]: Started run-r1c82a0baecd84076a49df8167951e0f3.service - /bin/sh -c "echo Run && (mount | grep cred) && ls -alh /run/credentials".
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=13 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=14 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=826 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=827 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=15 reply_cookie=0 signature=uoss error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=828 reply_cookie=0 signature=uoss error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Failed to communicate with plymouth: Connection refused
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=16 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=17 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=829 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=830 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: systemd-journald.service: Got notification message from PID 1112 (FDSTORE=1)
11月 18 19:06:58 haneda systemd[1]: systemd-journald.service: Trying to stash fd for dev=0:9/inode=202820
11月 18 19:06:58 haneda systemd[1]: systemd-journald.service: Added fd 181 (stored) to fd store.
11月 18 19:06:58 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=Get cookie=2 reply_cookie=0 signature=ss error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=18 reply_cookie=2 signature=v error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Bus private-bus-connection: changing state RUNNING → CLOSING
11月 18 19:06:58 haneda systemd[1]: Bus private-bus-connection: changing state CLOSING → CLOSED
11月 18 19:06:58 haneda systemd[1]: Got disconnect on private connection.
11月 18 19:06:58 haneda (sh)[8796]: Successfully forked off '(sd-mkdcreds)' as PID 8797.
11月 18 19:06:58 haneda (sd-[8797]: Changing mount propagation /dev (MS_REC|MS_SLAVE "")
11月 18 19:06:58 haneda (sd-[8797]: Mounting tmpfs (tmpfs) on /dev/shm (MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_NOSYMFOLLOW "mode=0700,nr_inodes=1024,size=1048576,noswap")...
11月 18 19:06:58 haneda (sd-[8797]: Changing mount flags /dev/shm (MS_RDONLY|MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_REMOUNT|MS_NOSYMFOLLOW|MS_BIND "")...
11月 18 19:06:58 haneda (sd-[8797]: Moving mount /dev/shm → /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service (MS_MOVE "")...
11月 18 19:06:58 haneda (sh)[8796]: (sd-mkdcreds) succeeded.
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting / on /run/systemd/mount-rootfs (MS_BIND|MS_REC "")...
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dcredentials_2drun_5cx2dr1c82a0baecd84076a49df8167951e0f3_2eservice_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=831 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dcredentials_2drun_5cx2dr1c82a0baecd84076a49df8167951e0f3_2eservice_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=832 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: run-credentials-run\x2dr1c82a0baecd84076a49df8167951e0f3.service.mount: Changed dead -> mounted
11月 18 19:06:58 haneda systemd[1]: Failed to communicate with plymouth: Connection refused
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/boot
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dcredentials_2drun_5cx2dr1c82a0baecd84076a49df8167951e0f3_2eservice_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=833 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/efi
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dcredentials_2drun_5cx2dr1c82a0baecd84076a49df8167951e0f3_2eservice_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=834 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/systemd/mount-rootfs/efi on /run/systemd/mount-rootfs/efi (MS_BIND|MS_REC "")...
11月 18 19:06:58 haneda (sh)[8796]: Successfully mounted /run/systemd/mount-rootfs/efi to /run/systemd/mount-rootfs/efi
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/etc
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/systemd/mount-rootfs/etc on /run/systemd/mount-rootfs/etc (MS_BIND|MS_REC "")...
11月 18 19:06:58 haneda (sh)[8796]: Successfully mounted /run/systemd/mount-rootfs/etc to /run/systemd/mount-rootfs/etc
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/run/credentials
11月 18 19:06:58 haneda (sh)[8796]: Mounting tmpfs (tmpfs) on /run/systemd/mount-rootfs/run/credentials (MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_STRICTATIME "mode=0755,size=4m,nr_inodes=1k")...
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service
11月 18 19:06:58 haneda (sh)[8796]: Followed source symlinks /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service → /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service.
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service on /run/systemd/mount-rootfs/run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service (MS_BIND "")...
11月 18 19:06:58 haneda (sh)[8796]: Failed to mount /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service (type n/a) on /run/systemd/mount-rootfs/run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service (MS_BIND ""): No such file or directory
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service on /run/systemd/mount-rootfs/run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service (MS_BIND "")...
11月 18 19:06:58 haneda (sh)[8796]: Successfully mounted /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service to /run/systemd/mount-rootfs/run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/run/systemd/incoming
11月 18 19:06:58 haneda (sh)[8796]: Followed source symlinks /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service → /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service.
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service on /run/systemd/mount-rootfs/run/systemd/incoming (MS_BIND "")...
11月 18 19:06:58 haneda (sh)[8796]: Successfully mounted /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service to /run/systemd/mount-rootfs/run/systemd/incoming
11月 18 19:06:58 haneda (sh)[8796]: Applying namespace mount on /run/systemd/mount-rootfs/usr
11月 18 19:06:58 haneda (sh)[8796]: Bind-mounting /run/systemd/mount-rootfs/usr on /run/systemd/mount-rootfs/usr (MS_BIND|MS_REC "")...
11月 18 19:06:58 haneda (sh)[8796]: Successfully mounted /run/systemd/mount-rootfs/usr to /run/systemd/mount-rootfs/usr
11月 18 19:06:58 haneda (sh)[8796]: run-r1c82a0baecd84076a49df8167951e0f3.service: Executing: /bin/sh -c "echo Run && (mount | grep cred) && ls -alh /run/credentials"
11月 18 19:06:58 haneda systemd[1]: Got handoff timestamp event for PID 8796.
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=835 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=836 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda sh[8796]: Run
11月 18 19:06:58 haneda sh[8801]: tmpfs on /run/credentials type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755)
11月 18 19:06:58 haneda sh[8801]: tmpfs on /run/credentials/run-r1c82a0baecd84076a49df8167951e0f3.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,noswap)
11月 18 19:06:58 haneda sh[8796]: 总计 0
11月 18 19:06:58 haneda sh[8796]: drwxr-xr-x 3 root root 60 11月18日 19:06 .
11月 18 19:06:58 haneda sh[8796]: drwxr-xr-x 42 root root 1.1K 11月18日 18:13 ..
11月 18 19:06:58 haneda sh[8796]: dr-x------ 2 root root 60 11月18日 19:06 run-r1c82a0baecd84076a49df8167951e0f3.service
11月 18 19:06:58 haneda systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 181 (stored), closing.
11月 18 19:06:58 haneda systemd[1]: Received SIGCHLD from PID 8796 (ls).
11月 18 19:06:58 haneda systemd[1]: Child 8796 (ls) died (code=exited, status=0/SUCCESS)
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Child 8796 belongs to run-r1c82a0baecd84076a49df8167951e0f3.service.
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Main process exited, code=exited, status=0/SUCCESS (success)
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Changed running -> exited
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=837 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=838 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:06:58 haneda systemd[1]: Child 8802 ((sd-close)) died (code=exited, status=0/SUCCESS)
11月 18 19:06:58 haneda systemd[1]: init.scope: Child 8802 belongs to init.scope.
11月 18 19:06:58 haneda systemd[1]: Received SIGCHLD from PID 8802 (n/a).
11月 18 19:06:58 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Control group is empty.
# systemctl reload
11月 18 19:07:07 haneda systemd[1]: Bus private-bus-connection: changing state UNSET → OPENING
11月 18 19:07:07 haneda systemd[1]: sd-bus: starting bus private-bus-connection on fds 105/105 (socket:[199164], socket:[199164])...
11月 18 19:07:07 haneda systemd[1]: Bus private-bus-connection: changing state OPENING → AUTHENTICATING
11月 18 19:07:07 haneda systemd[1]: Accepting direct incoming connection from 8810 (systemctl) [n/a]
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1 iface=org.freedesktop.systemd1.Manager
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/job iface=org.freedesktop.systemd1.Job
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Unit
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Automount
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Device
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Mount
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Path
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Scope
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Service
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Slice
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Socket
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Swap
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Target
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Timer
11月 18 19:07:07 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1
11月 18 19:07:07 haneda systemd[1]: Accepted new private connection.
11月 18 19:07:07 haneda systemd[1]: Bus private-bus-connection: changing state AUTHENTICATING → RUNNING
11月 18 19:07:07 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=ReloadUnit cookie=1 reply_cookie=0 signature=ss error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Trying to acquire polkit authentication for 'org.freedesktop.systemd1.manage-units'.
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Trying to enqueue job run-r1c82a0baecd84076a49df8167951e0f3.service/reload/replace
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Installed new job run-r1c82a0baecd84076a49df8167951e0f3.service/reload as 2615
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Enqueued job run-r1c82a0baecd84076a49df8167951e0f3.service/reload as 2615
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=2 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=839 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=840 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=3 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=841 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=4 reply_cookie=1 signature=o error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Will spawn child (service_enter_reload): /bin/sh
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: About to execute: /bin/sh -c "echo Reload && (mount | grep cred) && ls -alh /run/credentials/"
11月 18 19:07:07 haneda systemd[1]: Serializing sd-executor-state to memfd.
11月 18 19:07:07 haneda systemd[1]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:07:07 haneda (sh)[8812]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Forked /bin/sh as 8812 (without CLONE_INTO_CGROUP)
11月 18 19:07:07 haneda systemd[1]: Closing set fd 188 (socket:[12989])
11月 18 19:07:07 haneda systemd[1]: Closing set fd 189 (socket:[12987])
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=6 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=842 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda (sh)[8812]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=843 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Changed exited -> reload
11月 18 19:07:07 haneda systemd[1]: Reloading run-r1c82a0baecd84076a49df8167951e0f3.service - /bin/sh -c "echo Run && (mount | grep cred) && ls -alh /run/credentials"...
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=8 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=844 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=845 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/job/2615 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=9 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/job/2615 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=846 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=10 reply_cookie=2 signature=o error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 signature=ss error-name=n/a error-message=n/a
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting / on /run/systemd/mount-rootfs (MS_BIND|MS_REC "")...
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/boot
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/efi
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting /run/systemd/mount-rootfs/efi on /run/systemd/mount-rootfs/efi (MS_BIND|MS_REC "")...
11月 18 19:07:07 haneda (sh)[8812]: Successfully mounted /run/systemd/mount-rootfs/efi to /run/systemd/mount-rootfs/efi
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/etc
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting /run/systemd/mount-rootfs/etc on /run/systemd/mount-rootfs/etc (MS_BIND|MS_REC "")...
11月 18 19:07:07 haneda (sh)[8812]: Successfully mounted /run/systemd/mount-rootfs/etc to /run/systemd/mount-rootfs/etc
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/run/credentials
11月 18 19:07:07 haneda systemd[1]: Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=11 reply_cookie=3 signature=v error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: systemd-journald.service: Got notification message from PID 1112 (FDSTORE=1)
11月 18 19:07:07 haneda systemd[1]: systemd-journald.service: Trying to stash fd for dev=0:9/inode=194435
11月 18 19:07:07 haneda systemd[1]: systemd-journald.service: Added fd 188 (stored) to fd store.
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting /run/systemd/inaccessible/dir on /run/systemd/mount-rootfs/run/credentials (MS_BIND|MS_REC "")...
11月 18 19:07:07 haneda (sh)[8812]: Successfully mounted /run/systemd/inaccessible/dir to /run/systemd/mount-rootfs/run/credentials
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/run/systemd/incoming
11月 18 19:07:07 haneda (sh)[8812]: Followed source symlinks /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service → /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service.
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service on /run/systemd/mount-rootfs/run/systemd/incoming (MS_BIND "")...
11月 18 19:07:07 haneda (sh)[8812]: Successfully mounted /run/systemd/propagate/run-r1c82a0baecd84076a49df8167951e0f3.service to /run/systemd/mount-rootfs/run/systemd/incoming
11月 18 19:07:07 haneda (sh)[8812]: Applying namespace mount on /run/systemd/mount-rootfs/usr
11月 18 19:07:07 haneda (sh)[8812]: Bind-mounting /run/systemd/mount-rootfs/usr on /run/systemd/mount-rootfs/usr (MS_BIND|MS_REC "")...
11月 18 19:07:07 haneda (sh)[8812]: Successfully mounted /run/systemd/mount-rootfs/usr to /run/systemd/mount-rootfs/usr
11月 18 19:07:07 haneda (sh)[8812]: run-r1c82a0baecd84076a49df8167951e0f3.service: Executing: /bin/sh -c "echo Reload && (mount | grep cred) && ls -alh /run/credentials/"
11月 18 19:07:07 haneda systemd[1]: Got handoff timestamp event for PID 8812.
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=12 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=13 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=847 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=848 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda sh[8812]: Reload
11月 18 19:07:07 haneda sh[8815]: tmpfs on /run/credentials type tmpfs (ro,nosuid,nodev,noexec,size=3118760k,nr_inodes=819200,mode=755)
11月 18 19:07:07 haneda sh[8812]: 总计 0
11月 18 19:07:07 haneda sh[8812]: d--------- 2 root root 40 11月18日 18:06 .
11月 18 19:07:07 haneda sh[8812]: drwxr-xr-x 42 root root 1.1K 11月18日 18:13 ..
11月 18 19:07:07 haneda systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 188 (stored), closing.
11月 18 19:07:07 haneda systemd[1]: Received SIGCHLD from PID 8812 (ls).
11月 18 19:07:07 haneda systemd[1]: Child 8812 (ls) died (code=exited, status=0/SUCCESS)
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Child 8812 belongs to run-r1c82a0baecd84076a49df8167951e0f3.service.
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Control process exited, code=exited, status=0/SUCCESS (success)
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Got final SIGCHLD for state reload.
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Changed reload -> exited
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Job 2615 run-r1c82a0baecd84076a49df8167951e0f3.service/reload finished, result=done
11月 18 19:07:07 haneda systemd[1]: Reloaded run-r1c82a0baecd84076a49df8167951e0f3.service - /bin/sh -c "echo Run && (mount | grep cred) && ls -alh /run/credentials".
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=14 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=15 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=849 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=850 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=16 reply_cookie=0 signature=uoss error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=851 reply_cookie=0 signature=uoss error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Bus private-bus-connection: changing state RUNNING → CLOSING
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=852 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2dr1c82a0baecd84076a49df8167951e0f3_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=853 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Failed to send unit change signal for run-r1c82a0baecd84076a49df8167951e0f3.service: Connection reset by peer
11月 18 19:07:07 haneda systemd[1]: Child 8816 ((sd-close)) died (code=exited, status=0/SUCCESS)
11月 18 19:07:07 haneda systemd[1]: init.scope: Child 8816 belongs to init.scope.
11月 18 19:07:07 haneda systemd[1]: Received SIGCHLD from PID 8816 (n/a).
11月 18 19:07:07 haneda systemd[1]: run-r1c82a0baecd84076a49df8167951e0f3.service: Control group is empty.
11月 18 19:07:07 haneda systemd[1]: Bus private-bus-connection: changing state CLOSING → CLOSED
11月 18 19:07:07 haneda systemd[1]: Got disconnect on private connection.
# systemctl log-level info
11月 18 19:07:11 haneda systemd[1]: Bus private-bus-connection: changing state UNSET → OPENING
11月 18 19:07:11 haneda systemd[1]: sd-bus: starting bus private-bus-connection on fds 105/105 (socket:[199170], socket:[199170])...
11月 18 19:07:11 haneda systemd[1]: Bus private-bus-connection: changing state OPENING → AUTHENTICATING
11月 18 19:07:11 haneda systemd[1]: Accepting direct incoming connection from 8831 (systemctl) [n/a]
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1 iface=org.freedesktop.systemd1.Manager
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/job iface=org.freedesktop.systemd1.Job
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Unit
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Automount
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Device
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Mount
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Path
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Scope
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Service
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Slice
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Socket
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Swap
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Target
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/systemd1/unit iface=org.freedesktop.systemd1.Timer
11月 18 19:07:11 haneda systemd[1]: Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1
11月 18 19:07:11 haneda systemd[1]: Accepted new private connection.
11月 18 19:07:11 haneda systemd[1]: Bus private-bus-connection: changing state AUTHENTICATING → RUNNING
11月 18 19:07:11 haneda systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/LogControl1 interface=org.freedesktop.DBus.Properties member=Set cookie=1 reply_cookie=0 signature=ssv error-name=n/a error-message=n/a
11月 18 19:07:11 haneda systemd[1]: Setting log level to info.Reacted by Andrew
Activity
YHNdnzj commentedon Nov 19, 2024
Such behavior is expected: a145623, and frankly I still fail to see a sensible use case here.
Hmm, the more appropriate way to put it is that it works by accident. We expose all cred mounts in initial mountns merely to ease debugging and inspection for sysadmins. As a side effect ExecReload=/ExecStop= and friends, when running without mountns, would be able to access creds.
Trumeet commentedon Nov 19, 2024
My current use case is to put Nginx TLS private keys to systemd-credentials. When I put
systemctl reload nginxwhich runsnginx(1)inExecReload=to validate configuration files. The reload command cannot access TLS private keys, so reload fails.YHNdnzj commentedon Nov 19, 2024
So I guess it does make some sense. However, I feel that cred refresh on reload must be implemented first if we want to change this, otherwise there's one problem lurking: should ExecReload= run with fresh creds? Or existing set used by main?
YHNdnzj commentedon Nov 19, 2024
(Of course, this is not really relevant in the mentioned scenario, but let's do things right from the beginning to avoid future confusions)
Trumeet commentedon Nov 19, 2024
Yeah, you're absolute correct. My only scenario using credentials is Nginx so far, so I am afraid I don't really have much ideas on this one.
nnazo commentedon Mar 13, 2025
I'm bumping up on this same issue. I'm working on a service that needs to handover application state to the new process when doing a reload, and also reload a potentially changed configuration file.
sammko commentedon Apr 3, 2025
For example the caddy webserver uses a 2-stage configuration, where a custom
Caddyfileis first adapted into JSON configuration that is passed to the main process. The adaption happens in thereloadcommand's process.Credentials can be used like
{file.{$CREDENTIALS_DIRECTORY}/cred}and the inner {$XYZ} template is expanded during adaptation and{file./run/secrets/caddy.service/cred}is passed in the JSON, which is then loaded by the main process.However if the adaptation is done as part of
ExecReload, theCREDENTIALS_DIRECTORYenv does not exist, breaking this flow.A workaround is to just use
{file./run/secrets/caddy.service/cred}always.tiboroche commentedon Oct 10, 2025
I am also affected by this bug : In apache2, I am trying to get the AuthLDAPBindPassword from a cred file like this :
AuthLDAPBindPassword "exec:/usr/bin/cat ${CREDENTIALS_DIRECTORY}/cred_name"it works perfectly but not when I reload the service, apache2 does not access the file and fails.
Can we have an update on this one please ?
For me it should run on fresh creds as we are requesting a reload of the configuration.
YHNdnzj commentedon Oct 20, 2025
I haven't dropped the ball on this, but it can't be reasonably fixed with a broken state machine... Will get back to it after #39376 lands.
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
14 remaining items
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: pass credentials to ExecReload*= if refreshed
core/service: support credentials refreshing on reload (#40093)