Ricardo Wurmus <rek...@elephly.net> skribis: > Ludovic Courtès <l...@gnu.org> writes:
[...] >>> I also needed to change my system configuration to add “pkexec” to the >>> list of setuid programs: >>> >>> (setuid-programs (cons #~(string-append #$polkit "/bin/pkexec") >>> %setuid-programs)) >>> >>> Maybe this should just be added to %setuid-programs? >> >> I think polkit-service-type should extend setuid-service-type to add >> that program. > > ‘polkit-service-type’ already extends ‘setuid-programs-service-type’ > with ‘polkit-setuid-programs’: > > (define polkit-setuid-programs > (match-lambda > (($ <polkit-configuration> polkit) > (list #~(string-append #$polkit > "/lib/polkit-1/polkit-agent-helper-1"))))) > > I guess we can just append ‘#~(string-append #$polkit "/bin/pkexec")’ > here. Yes. Ludo’.