From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: make polkit work
Date: Mon, 24 Nov 2014 15:31:53 +0100 [thread overview]
Message-ID: <878uj01xgm.fsf@gnu.org> (raw)
In-Reply-To: <87vbm46afh.fsf@gmail.com> ("宋文武"'s message of "Mon, 24 Nov 2014 20:38:10 +0800")
宋文武 <iyzsong@gmail.com> skribis:
> IIUC, our `polkit' can't see actions/rules from other packages.
> In NixOS[0], the hardcoded "${out}/share/polkit-1" is overwrited to
> "/var/run/current-system/sw/share/polkit-1", provided by system
> packages.
> Instead of take a similar path,
> can we make "a proper patch which will be accepted upstream"?
Yes, I think it would best to have it honor $POLKIT_RULES_PATH and
$POLKIT_ACTIONS_PATH. Apparently this would have to be done in
src/polkitbackend/polkitbackendjsauthority.c and
src/polkitbackend/polkitbackendinteractiveauthority.c.
Could you try to do this?
Once we have this patch, we can start using it, and submit it upstream
for inclusion.
> The goal: (polkit-service (list udisks))
Yes, that sounds like the right approach.
Thanks for looking into this!
Ludo’.
prev parent reply other threads:[~2014-11-24 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 12:38 make polkit work 宋文武
2014-11-24 14:31 ` Ludovic Courtès [this message]
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=878uj01xgm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=iyzsong@gmail.com \
/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).