[systemd-devel] systemd-remount-fs and ConditionKernelCommandLine=!rw

2025-02-01 Thread Etienne Champetier
Hello, If we have `rw` kargs, is systemd-remount-fs.service actually needed ? For context when using anaconda to install an rpm-ostree based system, you get an entry in fstab for `/` with option `defaults`. When trying to switch to composefs, / can only be readonly (composefs), so systemd-remount

[systemd-devel] ssh generator credentials do not work for non-root

2025-02-01 Thread Andrei Borzenkov
systemd 257.2 ssh generator supports undocumented ssh.ephemeral-authorized_keys-all credential which is supposed to contain additional authorized keys: "ExecStart=-%s -i -o \"AuthorizedKeysFile ${CREDENTIALS_DIRECTORY}/ssh.ephemeral-authorized_keys-all .ssh/authorized

[systemd-devel] Dynamically restart a service via dbus

2025-02-01 Thread Matwey V. Kornilov
Hi, Let me please describe my initial problem and then explain what did I try and what is my issue. I have a systemd service with Restart=always and pretty large RestartSec, say 10 minutes. The service executable communicates with a remote host, when the host becomes unavailable the service exits

[systemd-devel] Dynamically restart a service via dbus

2025-02-01 Thread Matwey V. Kornilov
Hi, Let me please describe my initial problem and then explain what did I try and what is my issue. I have a systemd service with Restart=always and pretty large RestartSec, say 10 minutes. The service executable communicates with a remote host, when the host becomes unavailable the service