I’m trying to add CAP_WAKE_ALARM
when creating timers with sytemd-run (ref) to get the same effect as systemd v254 which is not on Fedora 38, but I don’t know how to do this. Failed attempts:
$ sudo systemd-run --user --on-active=20 --timer-property=WakeSystem=true flatpak run io.bassi.Amberol
[sudo] password for user:
Failed to connect to bus: No medium found
$ systemd-run --user --on-active=20 --timer-property=WakeSystem=true --timer-property=AmbientCapabilities=CAP_WAKE_ALARM flatpak run io.bassi.Amberol
Unknown assignment: AmbientCapabilities=CAP_WAKE_ALARM
$ systemd-run --user --on-active=20 --timer-property=WakeSystem=true --property=AmbientCapabilities=CAP_WAKE_ALARM flatpak run io.bassi.Amberol
Job failed. See "journalctl -xe" for details.
$ journalctl -xe
systemd[1857]: run-rbddaeff35126428ca8f30e4225825f12.timer: Failed to enter waiting state: Operation not permitted
systemd[1857]: run-rbddaeff35126428ca8f30e4225825f12.timer: Failed with result 'resources'.