GNU bug report logs - #74678
[PATCH] services: admin: Improve use of unattended-upgrade reboot? field.

Previous Next

Package: guix-patches;

Reported by: Richard Sent <richard <at> freakingpenguin.com>

Date: Tue, 3 Dec 2024 23:30:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Richard Sent <richard <at> freakingpenguin.com>
Cc: 74678-done <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: [bug#74678] [PATCH] services: admin: Improve use of
 unattended-upgrade reboot? field.
Date: Mon, 09 Dec 2024 22:55:48 +0100
Richard Sent <richard <at> freakingpenguin.com> skribis:

> This ensures the unattended upgrade job successfully reboots regardless of the
> value for services-to-restart. Previously the mcron service may be restarted
> which would halt script execution before the system rebooted.
>
> * gnu/services/admin.scm (unattended-upgrade-mcron-jobs): Do not restart
> services when reboot? is #t.
> * doc/guix.texi (Unattended Upgrades): Document it.
>
> Change-Id: I8e486a764ec1dc5c3090130cc447a0cc3f5a2e00
> ---
> Hi all,
>
> I noticed my server would not reboot automatically until I set
> services-to-restart to '() (default value: '(mcron)). This patch
> should make unattended-upgrade easier to use for those who don't want
> to dive into the code.

Good catch.  Applied, thanks!

Ludo’.




This bug report was last modified 164 days ago.

Previous Next


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