From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Fix XFCE shutdown/reboot via menu.
Date: Tue, 24 Nov 2015 21:40:21 +0100 [thread overview]
Message-ID: <87h9kbku6i.fsf@gnu.org> (raw)
In-Reply-To: <87si3zqcy5.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 21 Nov 2015 22:06:58 +0100")
Ricardo Wurmus <rekado@elephly.net> skribis:
> Ludovic Courtès <ludo@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’.
next prev parent reply other threads:[~2015-11-24 20:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 16:55 [PATCH] Fix XFCE shutdown/reboot via menu Ricardo Wurmus
2015-11-21 20:37 ` Ludovic Courtès
2015-11-21 21:06 ` Ricardo Wurmus
2015-11-24 20:40 ` Ludovic Courtès [this message]
2015-11-25 17:46 ` Ricardo Wurmus
2015-11-28 14:14 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9kbku6i.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).