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

Received: (at 27889) by debbugs.gnu.org; 31 Jul 2017 23:10:33 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 31 19:10:33 2017
Received: from localhost ([127.0.0.1]:35870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1dcJpZ-0000fW-2v
	for submit@debbugs.gnu.org; Mon, 31 Jul 2017 19:10:33 -0400
Received: from mail-qt0-f174.google.com ([209.85.216.174]:34231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ryan.moe@gmail.com>) id 1dcJpX-0000fK-H1
 for 27889@debbugs.gnu.org; Mon, 31 Jul 2017 19:10:31 -0400
Received: by mail-qt0-f174.google.com with SMTP id s6so236132qtc.1
 for <27889@debbugs.gnu.org>; Mon, 31 Jul 2017 16:10:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=dld/mth4u2vf3KxJPBkpurf1qiFfcxtWa/V8Ad61ojc=;
 b=l9nI5n2i7KMk+BOPK5i02V+FUHFXdZ2/5NfT8BFZVqmDSDSXOIf8F7rQuEJnrQTCkg
 vWMe1Souq8vtFtDCj/pCrzBLQtQkyy0HmHgkEl3NEhNmc5meN/37+zOJmeInNRJRS5s3
 otp3VkyLF+aaJK5O5fEM5oeDRJN/vlIFC9qM+U9gJ6VnMiYnQU9z0J7VLoIOv3a7vIic
 W5ern4AQUpXSFDvUZ8vZ3vogGH7ha3fl2U15IpFcbWu2FeZRcUSoN73UFwlj3U55l47Q
 CNtxBDfArRlTL56FMJedqw5KrUCDRF4s1fecqQBph2UPuQOeYcVfLu/H70F421CTzxfS
 zPsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=dld/mth4u2vf3KxJPBkpurf1qiFfcxtWa/V8Ad61ojc=;
 b=Mbyhv6uQb5H+YgeIz/kO+3HfvbYlyXQwBjEyp8xx2j1xNrhPYVeyc4srYiapG2lXKW
 QXSkk5aQNmcWgW29NmZw4h9279hLz27lOvqp8GJNr+7Ay4hjCQ/yhEquhI3u3fDuu0V+
 q9tF2Z+aqZsH/9nKZWEgWbeNQUncTIZ4UFYOMkUklPMXSu5didaT+8C7Cuibf5FKDJvR
 IEdM7N/9GWz/2UUz3KSYfeYamVG6dU3H18KJSDhOTGH9YgN/8X0LgIXdHU/QNBj1WlkB
 FFQ9Uf3KLJZqzAcwrAkPdOyX6LUVOFmNFHt71d2dHVfmxzj2ahkmvqGxPFiu8NTo/G48
 7egw==
X-Gm-Message-State: AIVw111GL0n2GT1dJ/bieQbsIwAGygDI2EqVZABNM+o6WSNp87YDyF+V
 23GnF6sSQ1EGIXRaejSYm339pmq9aw==
X-Received: by 10.200.54.50 with SMTP id m47mr22655675qtb.220.1501542626041;
 Mon, 31 Jul 2017 16:10:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.144.11 with HTTP; Mon, 31 Jul 2017 16:10:25 -0700 (PDT)
In-Reply-To: <20170731233404.691437c0@scratchpost.org>
References: <CAN-ReHqDxmNcsPAffCo4PYKpf0qjvdvGne0eAeB7Pf8spHsc_A@mail.gmail.com>
 <20170731233404.691437c0@scratchpost.org>
From: Ryan Moe <ryan.moe@gmail.com>
Date: Mon, 31 Jul 2017 16:10:25 -0700
Message-ID: <CAN-ReHoqipxjd-NOM7YvAjTU_2-KeAey3bxzfbJ1QmEQdbf0HA@mail.gmail.com>
Subject: Re: bug#27889: Polkit actions are not updated after guix system
 reconfigure
To: Danny Milosavljevic <dannym@scratchpost.org>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 27889
Cc: 27889@debbugs.gnu.org
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.5 (/)
On Mon, Jul 31, 2017 at 2:34 PM, Danny Milosavljevic
<dannym@scratchpost.org> wrote:
> 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?

polkitd isn't managed by shepherd. It looks to be managed by dbus and
I'm not sure how to restart an individual dbus service (or if you even
can). Restarting dbus-system is obviously too intrusive (it does
reload the policy files at the expense of restarting my X session :)).




Send a report that this bug log contains spam.


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