On Thu, 22 Dec 2016 14:54:22 +0100 Michael Biebl <bi...@debian.org> wrote: > Am 04.11.2016 um 20:27 schrieb Felipe Sateler: > > systemd-sysv-install is executed at the client side, not on the server > > side. This is something that probably makes sense fixing upstream, as > > units enabled/disabled via the bus are not synchronized with sysv > > state. > > Hm, a cheap workaround could be, to run update-rc.d using pkexec if > uid!=0. This would require a second polkit prompt, but this would be > better then failing with a permission denied.
So, Lennart seems to be not too enthusiastic to add support for running systemd-sysv-install on the server side. Should we add a simple $(id -u) != 0 to systemd-sysv-install then? And what should we do in that case: a/ exit 0 with a log message telling the user that update-rc.d could not be run due to missing priviliges? b/ use pkexec (if available) to run update-rc.d? As said, this would result in 4 polkit prompts, which is not too pretty. [1] https://github.com/systemd/systemd/issues/4957#issuecomment-268908786 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers