From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Moe Subject: bug#27889: Polkit actions are not updated after guix system reconfigure Date: Mon, 31 Jul 2017 14:08:59 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcHwx-0001Ug-LS for bug-guix@gnu.org; Mon, 31 Jul 2017 17:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcHww-00082j-UY for bug-guix@gnu.org; Mon, 31 Jul 2017 17:10:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33132) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcHww-00082e-QW for bug-guix@gnu.org; Mon, 31 Jul 2017 17:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcHww-0006JY-KR for bug-guix@gnu.org; Mon, 31 Jul 2017 17:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcHvx-0001P7-RH for bug-guix@gnu.org; Mon, 31 Jul 2017 17:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcHvx-0007JN-1F for bug-guix@gnu.org; Mon, 31 Jul 2017 17:09:01 -0400 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:38263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcHvw-0007JB-Sl for bug-guix@gnu.org; Mon, 31 Jul 2017 17:09:00 -0400 Received: by mail-qt0-x22f.google.com with SMTP id t37so119967627qtg.5 for ; Mon, 31 Jul 2017 14:09:00 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27889@debbugs.gnu.org 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