Skip to content

systemd: set User/Group and don't change uid/gid if already set

Luca Boccassi requested to merge bluca/polkit:unit_user_group into master

Immediately start unprivileged, there's no need to start as root when running under systemd. Allows access to /proc/self/fdinfo/ which is otherwise owned by root:root among other things.

Merge request reports