emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46560: closed ([PATCH 0/2] Activate system when switching generation


From: GNU bug Tracking System
Subject: bug#46560: closed ([PATCH 0/2] Activate system when switching generations.)
Date: Tue, 09 Mar 2021 06:13:01 +0000

Your message dated Tue, 09 Mar 2021 07:12:40 +0100
with message-id <87k0qgzwh3.fsf_-_@waegenei.re>
and subject line Re: bug#46560: [PATCH 0/2] Activate system when switching 
generations.
has caused the debbugs.gnu.org bug report #46560,
regarding [PATCH 0/2] Activate system when switching generations.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
46560: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46560
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/2] Activate system when switching generations. Date: Tue, 16 Feb 2021 13:35:46 +0100
Hello,

As reported on previous bug report, rolling-back or switching generation
doesn't activate the system as a system reconfiguration would do.  This is
especially problematic when modifying in /run/setuid-programs, as it can't be
reverted easily.  Also it hinder modification in the activation script since
it's not straight forward to revert change made by those script without a
functional roll-back mechanism.

I'm not sure it's the right approach but at least it work: it add the
activate.scm script to the system profile and then load it when
switching-generation.

This is related to issues:
- #37596 and #38884 (they are duplicate)
- #36855 a more wider discussion

Cheers,
- Brice

Brice Waegeneire (2):
  gnu: services: Add activate script to the profile system directory.
  scripts: system: Activate system when switching generations.

 gnu/services.scm        | 10 +++++++++-
 guix/scripts/system.scm |  8 ++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

-- 
2.30.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#46560: [PATCH 0/2] Activate system when switching generations. Date: Tue, 09 Mar 2021 07:12:40 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hello Ludo,

Ludovic Courtès <ludo@gnu.org> writes:

> Brice Waegeneire <brice@waegenei.re> skribis:
>
>> Brice Waegeneire (2):
>>   gnu: services: Add activate script to the profile system directory.
>>   scripts: system: Activate system when switching generations.
>
> LGTM, thanks!

Pushed as df138dc20858725b90ed77be85f3318cbe1be73a and later. I'll close
#38884 and will do the same or comment #36855 and #37596 about the new
feature.

Cheers,
- Brice.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]