GNU bug report logs

#27889 Polkit actions are not updated after guix system reconfigure

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 31 Jul 2017 21:09:10 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 31 17:09:10 2017
Received: from localhost ([127.0.0.1]:35809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1dcHw6-0006IC-20
	for submit@debbugs.gnu.org; Mon, 31 Jul 2017 17:09:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ryan.moe@gmail.com>) id 1dcHw4-0006I0-Hp
 for submit@debbugs.gnu.org; Mon, 31 Jul 2017 17:09:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ryan.moe@gmail.com>) id 1dcHvy-0007Jm-Mq
 for submit@debbugs.gnu.org; Mon, 31 Jul 2017 17:09:03 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38288)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ryan.moe@gmail.com>) id 1dcHvy-0007Jh-KK
 for submit@debbugs.gnu.org; Mon, 31 Jul 2017 17:09:02 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44668)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ryan.moe@gmail.com>) 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 <ryan.moe@gmail.com>) 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 <ryan.moe@gmail.com>) 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 <bug-guix@gnu.org>; Mon, 31 Jul 2017 14:09:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=c+t6Di5vifMVq6VOV3Ov9hHQcKGPkrYuobtN2pW5ass=;
 b=NBqzCRidWWLpwlGXVCyyspHIzPsXB5m/ICAN6iSG3VQy7hH23u+QLGZ/Qg8kIa+PJ9
 4gR2c2EAhHbO0pUh4REd5PVY+ncab/ZPAGlpQwdy1gRpLPZIUF7kAw0FkcNSnJZH9GgQ
 vSi/oajyzkY+clSPzJk/W1ye18ROCln06I5iNCNF4EdRYQWmLPwmlBsKHSPJQPZ6twED
 Ck0YbzRpanq9herG/05OVOP+D4mKFVSz9yXPNZMzSDDW3bFscpRyGGNHWnWjPkIWQWxG
 e7O84RRo+NBcq3KW4EC3qTSDdY1lyP7Jj6fJHsvyDqYpCjWRz+bct6n0y/g/Gqhj+LxN
 NUfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=c+t6Di5vifMVq6VOV3Ov9hHQcKGPkrYuobtN2pW5ass=;
 b=mWSwy4D4tLm4mAyujeb3+qC/2soSJXfU2PdNvcUiFTSPV9V0rBjtorGG6+efGCLePb
 cuYfEnvr8oABt3N8bfxyysRbwluC5WeK5mZeE6zfvRup3GBt1h2lNT7RjbOnENX5R6Zk
 HOc6zplMAnvrKSSm/anP14m+21JQzWq4OH2r+7ALBoFUWPgyCRlATRSAaCPgXgFrqHQq
 iRXzRlUqq7SOcPmng+ttiCi3wRk/5uKhjapbiBMRDBaNJMq4kfkJegCj2xOwiM0BN0nW
 lEMXZrBZrP1W9EDv3QXM5JnBq3S69Qa7NTA3Atx+lAoN4ack8ZXM8Vwx6c8KQlzWCeNx
 I5ng==
X-Gm-Message-State: AIVw111MGX49t7kFCzppP4YwmrJ/SlX/ZkZaYrJBpgxPLlMM9T1CLWJ2
 sut8IUa0qMmrCiKftQQuPRWwj8a2sw==
X-Received: by 10.237.35.203 with SMTP id k11mr25850926qtc.182.1501535340034; 
 Mon, 31 Jul 2017 14:09:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.144.11 with HTTP; Mon, 31 Jul 2017 14:08:59 -0700 (PDT)
From: Ryan Moe <ryan.moe@gmail.com>
Date: Mon, 31 Jul 2017 14:08:59 -0700
Message-ID: <CAN-ReHqDxmNcsPAffCo4PYKpf0qjvdvGne0eAeB7Pf8spHsc_A@mail.gmail.com>
Subject: Polkit actions are not updated after guix system reconfigure
To: bug-guix@gnu.org
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -4.0 (----)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 07:45:50 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.