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 #8 received at 27889@debbugs.gnu.org (full text, mbox, reply):

Received: (at 27889) by debbugs.gnu.org; 31 Jul 2017 21:34:18 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 31 17:34:17 2017
Received: from localhost ([127.0.0.1]:35825 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1dcIKP-0006uA-NK
	for submit@debbugs.gnu.org; Mon, 31 Jul 2017 17:34:17 -0400
Received: from dd1012.kasserver.com ([85.13.128.8]:41652)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@scratchpost.org>) id 1dcIKO-0006u2-4i
 for 27889@debbugs.gnu.org; Mon, 31 Jul 2017 17:34:16 -0400
Received: from localhost (77.118.188.11.wireless.dyn.drei.com [77.118.188.11])
 by dd1012.kasserver.com (Postfix) with ESMTPSA id 9496D1CA0567;
 Mon, 31 Jul 2017 23:34:11 +0200 (CEST)
Date: Mon, 31 Jul 2017 23:34:04 +0200
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 27889@debbugs.gnu.org
Subject: Re: bug#27889: Polkit actions are not updated after guix system
 reconfigure
Message-ID: <20170731233404.691437c0@scratchpost.org>
In-Reply-To: <CAN-ReHqDxmNcsPAffCo4PYKpf0qjvdvGne0eAeB7Pf8spHsc_A@mail.gmail.com>
References: <CAN-ReHqDxmNcsPAffCo4PYKpf0qjvdvGne0eAeB7Pf8spHsc_A@mail.gmail.com>
X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 27889
Cc: Ryan Moe <ryan.moe@gmail.com>
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: -0.7 (/)
Oops!

That's indeed still broken.

But gnu/services/shepherd.scm shepherd-service-file could be extended to provide a "restart" action (shepherd itself already supports it).

The general format for shepherd is:

(register-services
  (make <service>
        #:provides '(apache-2.0 apache httpd)
        #:requires '()
        #:start (...)
        #:stop (...)
        #:actions (make-actions
                   (restart (...)))))
                    ^^^^^^^^^^^^^

But the Guix <shepherd-service> record, which is the source that is eventually compiled to the above, neither has an "actions" slot nor a "restart" slot.  It would have to be extended with one.

I wonder whether it would make sense to make shepherd automatically default to a SIGHUP restart action for daemonized processes instead, though.  It's not exactly rare for daemons to provide that.

Also, does "guix system reconfigure" already call this restart action if it's present?




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 07:45:49 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.