|
From: | Ludovic Courtès |
Subject: | Re: [PATCH] Fix XFCE shutdown/reboot via menu. |
Date: | Tue, 24 Nov 2015 21:40:21 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ricardo Wurmus <address@hidden> skribis: > Ludovic Courtès <address@hidden> 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’.
[Prev in Thread] | Current Thread | [Next in Thread] |