'guix system switch-generation' does not reload Shepherd services

OpenSubmitted by Ludovic Courtès.
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Severity
important
Merged with
L
L
Ludovic Courtès wrote on 3 Oct 2019 11:09
‘guix system roll-back’ doe sn’t reload services
(address . bug-Guix@gnu.org)
87wodmyz37.fsf@gnu.org
Hello,
‘guix system roll-back’ and ‘switch-generation’ don’t reload servicesand don’t run activation scripts like ‘guix system reconfigure’ does.Indeed:
Toggle snippet (12 lines)(define (switch-to-system-generation store spec) "Switch the system profile to the generation specified by SPEC, andre-install bootloader with a configuration file that uses the specified systemgeneration as its default entry. STORE is an open connection to the store." (let ((number (relative-generation-spec->number %system-profile spec))) (if number (begin (reinstall-bootloader store number) (switch-to-generation* %system-profile number)) (leave (G_ "cannot switch to system generation '~a'~%") spec))))
Ludo’.
L
L
Ludovic Courtès wrote on 6 Nov 2019 18:46
control message for bug #36855
(address . control@debbugs.gnu.org)
87woccvqxx.fsf@gnu.org
merge 36855 37596quit
L
L
Ludovic Courtès wrote on 6 Nov 2019 18:46
(address . control@debbugs.gnu.org)
87v9rwvqxf.fsf@gnu.org
retitle 36855 'guix system switch-generation' does not reload Shepherd servicesquit
L
L
Ludovic Courtès wrote on 6 Nov 2019 18:46
(address . control@debbugs.gnu.org)
87tv7gvqxa.fsf@gnu.org
severity 36855 importantquit
?