Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enabling service unit as regular user through PolicyKit permissions does not work #2517
Container Linux Version
Using the following rule file for PolicyKit, any user in the wheel group, or the ci user is allowed to start/stop/restart a service (unit).
The same user is not allowed to enable or disable the same service unit (this is particularly bad for timers).
Any hint about where (even in the code) to look by myself for the features or inner workings of org.freedesktop.systemd1.manage-unit-files and org.freedesktop.systemd1.manage-units would probably help.