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

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

bug#54812: closed (‘guix system reconfigure’ closes SSH connections)


From: GNU bug Tracking System
Subject: bug#54812: closed (‘guix system reconfigure’ closes SSH connections)
Date: Sat, 09 Apr 2022 22:20:01 +0000

Your message dated Sun, 10 Apr 2022 00:19:09 +0200
with message-id <87zgkt6gte.fsf@gnu.org>
and subject line Re: bug#54812: ‘guix system reconfigure’ closes SSH connections
has caused the debbugs.gnu.org bug report #54812,
regarding ‘guix system reconfigure’ closes SSH connections
to be marked as done.

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


-- 
54812: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54812
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: ‘guix system reconfigure’ closes SSH connections Date: Sat, 09 Apr 2022 14:05:15 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
With OpenSSH turned into inetd style in commit
808b9e850491c7b1d867a5f1f4d5ee6f61f345d4, the service upgrade code used
by ‘guix system reconfigure’ and ‘guix deploy’ wrongfully decides that
the ‘sshd-*’ transient services corresponding to individual SSH
connections should be closed:

--8<---------------cut here---------------start------------->8---
$ sudo guix system reconfigure …
[…]
guix system: chargeur d'amorçage correctement installé sur « (/dev/sda) »
0,0 Mo seront téléchargés
 module-import-compiled  20KiB                                                  
                                                                     1.2MiB/s 
00:00 [##################] 100.0%
The following derivation will be built:
  /gnu/store/n99ahnnw94cay1drg499kxsg5ma6598p-upgrade-shepherd-services.scm.drv

0,0 Mo seront téléchargés
 module-import-compiled  20KiB                                                  
                                                                     1.8MiB/s 
00:00 [##################] 100.0%
construction de 
/gnu/store/n99ahnnw94cay1drg499kxsg5ma6598p-upgrade-shepherd-services.scm.drv...
shepherd: Removing service 'sshd-1'...
shepherd: Service sshd-1 has been stopped.
shepherd: Transient service sshd-1 unregistered.
shepherd: Done.
shepherd: Removing service 'sshd-3'...
shepherd: Service sshd-3 has been stopped.
shepherd: Transient service sshd-3 unregistered.
shepherd: Done.
shepherd: Service swap-swap could not be started.
shepherd: Service host-name has been started.
shepherd: Service user-homes has been started.
shepherd: Service sysctl has been started.
shepherd: Service host-name has been started.
shepherd: Service term-console could not be started.
shepherd: Service bluetooth has been started.
Pour compléter la mise à jour, lancez « herd restart SERVICE » pour arrêter,
mettre à jour et redémarrer tous les services qui n'ont pas été redémarrés
automatiquement.
Lancez « herd status » pour visualiser la liste des services de votre système.
--8<---------------cut here---------------end--------------->8---

I think the solution is to leave transient services untouched.

Unfortunately, the status sexp returned by ‘services->sexp’ currently
lacks information about whether a service is transient.

Ludo’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#54812: ‘guix system reconfigure’ closes SSH connections Date: Sun, 10 Apr 2022 00:19:09 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Ludovic Courtès <ludo@gnu.org> skribis:

> With OpenSSH turned into inetd style in commit
> 808b9e850491c7b1d867a5f1f4d5ee6f61f345d4, the service upgrade code used
> by ‘guix system reconfigure’ and ‘guix deploy’ wrongfully decides that
> the ‘sshd-*’ transient services corresponding to individual SSH
> connections should be closed:

Fixed with:

  eeb8ac43c8 services: shepherd: Do not unload transient services.
  a2c759c830 services: herd: Report whether a service is transient.

Ludo’.


--- End Message ---

reply via email to

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