GNU bug report logs - #44986
[PATCH] doc: Give references and examples for services-to-restart.

Previous Next

Package: guix;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Tue, 1 Dec 2020 09:15:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44986 in the body.
You can then email your comments to 44986 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44986; Package guix. (Tue, 01 Dec 2020 09:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Josefsson <simon <at> josefsson.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 01 Dec 2020 09:15:02 GMT) Full text and rfc822 format available.

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

From: Simon Josefsson <simon <at> josefsson.org>
To: bug-guix <at> gnu.org
Subject: [PATCH] doc: Give references and examples for services-to-restart.
Date: Tue, 01 Dec 2020 10:14:44 +0100
[Message part 1 (text/plain, inline)]
Hi!  I started using unattended-upgrades, and was confused which service
names (config.scm vs herd) to use.  I think this small documentation
patch would help others.  What do you think?

/Simon
[0001-doc-Give-references-and-examples-for-services-to-res.patch (text/x-diff, inline)]
From c414dd60652ecdd124b189b2c46ce30ae9db986d Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon <at> josefsson.org>
Date: Tue, 1 Dec 2020 10:10:17 +0100
Subject: [PATCH] doc: Give references and examples for services-to-restart.

* doc/guix.texi (Unattended Upgrades): Give references and examples
for services-to-restart.
---
 doc/guix.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 889f380108..02d3077983 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17175,6 +17175,10 @@ only restarts services that are not currently running, which is
 conservative: it minimizes disruption but leaves outdated services
 running.
 
+Use @command{herd status} to find out candidates for restarting.
+@xref{Services}, for general information about services.  Common
+services to restart would include @code{ntpd} and @code{ssh-daemon}.
+
 By default, the @code{mcron} service is restarted.  This ensures that
 the latest version of the unattended upgrade job will be used next time.
 
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 03 Dec 2020 16:49:02 GMT) Full text and rfc822 format available.

Notification sent to Simon Josefsson <simon <at> josefsson.org>:
bug acknowledged by developer. (Thu, 03 Dec 2020 16:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 44986-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 44986-done <at> debbugs.gnu.org
Subject: Re: bug#44986: [PATCH] doc: Give references and examples for
 services-to-restart.
Date: Thu, 03 Dec 2020 17:48:31 +0100
Hi Simon,

Simon Josefsson <simon <at> josefsson.org> skribis:

> Hi!  I started using unattended-upgrades, and was confused which service
> names (config.scm vs herd) to use.  I think this small documentation
> patch would help others.  What do you think?

Sounds like a good idea.

> From c414dd60652ecdd124b189b2c46ce30ae9db986d Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon <at> josefsson.org>
> Date: Tue, 1 Dec 2020 10:10:17 +0100
> Subject: [PATCH] doc: Give references and examples for services-to-restart.
>
> * doc/guix.texi (Unattended Upgrades): Give references and examples
> for services-to-restart.
> ---
>  doc/guix.texi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 889f380108..02d3077983 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -17175,6 +17175,10 @@ only restarts services that are not currently running, which is
>  conservative: it minimizes disruption but leaves outdated services
>  running.
>  
> +Use @command{herd status} to find out candidates for restarting.
> +@xref{Services}, for general information about services.  Common
> +services to restart would include @code{ntpd} and @code{ssh-daemon}.

Applied, thanks!

Another option is to look at the ‘shepherdnames’ field in ‘guix system
search’.  Not sure if it’s worth mentioning here.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Jan 2021 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.