unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27889: Polkit actions are not updated after guix system reconfigure
@ 2017-07-31 21:08 Ryan Moe
  2017-07-31 21:34 ` Danny Milosavljevic
  0 siblings, 1 reply; 5+ messages in thread
From: Ryan Moe @ 2017-07-31 21:08 UTC (permalink / raw)
  To: 27889

When a service is added to or removed from the system configuration,
polkit actions are not appropriately registered or unregistered.

The policy files are added and deleted correctly but the polkitd
process needs a SIGHUP afterwards to update the list of registered
actions.


Steps to reproduce:

1. Add (xfce-desktop-service) to (services) in config.scm. [Or any
service which adds polkit actions]

2. Run guix system reconfigure.

3. Observe that the policy files are in place but not registered:
    $ ls /etc/polkit-1/actions/*xfce*
    /etc/polkit-1/actions/org.xfce.thunar.policy

    $ pkaction | grep -i xfce
    $

4. Run killall -HUP polkitd

5. Observe that actions are registered.
    $ pkaction | grep -i xfce
    org.xfce.thunar

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-01 10:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-31 21:08 bug#27889: Polkit actions are not updated after guix system reconfigure Ryan Moe
2017-07-31 21:34 ` Danny Milosavljevic
2017-07-31 23:10   ` Ryan Moe
2017-08-01  7:17     ` Danny Milosavljevic
2017-08-01 10:03   ` Ludovic Courtès

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).