Newer release of Systemd RPM in Rocky Linux and Alma Linux 9.8 is not backward-compatible in the way it expands %S.
Expansion of %S changed from %h/.config to %h/.local/state, breaking many Systemd units.
Refs https://git.rockylinux.org/staging/src-rhel/rpms/systemd/-/blob/c9s/SOURCES/1313-execute-add-support-for-XDG_STATE_HOME-for-placing-s.patch?ref_type=heads
Steps to reproduce
Expected behavior
The rootless application is working as usual.
Actual behavior
The agent.service and application container restart fail.
Jun 03 10:08:45 rocky-linux98 systemd[13089]: Starting Rootless module/traefik1 agent...
Jun 03 10:08:45 rocky-linux98 systemd[13108]: agent.service: Failed at step CHDIR spawning /usr/bin/chmod: No such file or directory
Jun 03 10:08:45 rocky-linux98 systemd[13109]: agent.service: Failed at step CHDIR spawning /usr/local/bin/agent: No such file or directory
Jun 03 10:08:45 rocky-linux98 systemd[13089]: agent.service: Main process exited, code=exited, status=200/CHDIR
Jun 03 10:08:45 rocky-linux98 systemd[13089]: agent.service: Failed with result 'exit-code'.
Components
- Systemd systemd-252-67.el9_8.2.rocky.0.1.x86_64
See also
Thanks to CoBlau
Newer release of Systemd RPM in Rocky Linux and Alma Linux 9.8 is not backward-compatible in the way it expands
%S.Expansion of %S changed from
%h/.configto%h/.local/state, breaking many Systemd units.Refs https://git.rockylinux.org/staging/src-rhel/rpms/systemd/-/blob/c9s/SOURCES/1313-execute-add-support-for-XDG_STATE_HOME-for-placing-s.patch?ref_type=heads
Steps to reproduce
Update base distro to release 9.8:
Restart a rootless application from UI, or reboot the node
Expected behavior
The rootless application is working as usual.
Actual behavior
The agent.service and application container restart fail.
Components
See also
Thanks to CoBlau