From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-June/016882.html | 221 +++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-June/016882.html (limited to 'zarb-ml/mageia-dev/2012-June/016882.html') diff --git a/zarb-ml/mageia-dev/2012-June/016882.html b/zarb-ml/mageia-dev/2012-June/016882.html new file mode 100644 index 000000000..1a62e23f2 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016882.html @@ -0,0 +1,221 @@ + + + + [Mageia-dev] updating sshd kill ssh connection + + + + + + + + + +

[Mageia-dev] updating sshd kill ssh connection

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Wed Jun 27 10:25:06 CEST 2012 +

+
+ +
'Twas brillig, and Olivier Thauvin at 27/06/12 09:17 did gyre and gimble:
+> * Sander Lepik (sander.lepik at eesti.ee) wrote:
+>> 27.06.2012 11:06, Olivier Thauvin kirjutas:
+>>> I was updating remotly my build machine when:
+>>>
+>>>   192/254: openssh-server
+>>> #############################################################################################################################################################
+>>> Migrating sysvinit service 'sshd' to systemd native unit 'sshd.service'
+>>> via systemd install rules.
+>>> Connection to cauldron64.latmos.ipsl.fr closed by remote host.
+>>> Connection to cauldron64.latmos.ipsl.fr closed.
+>>>
+>>> This must _never_ happend if the update goes wrong you completly loose
+>>> the hand on the computer.
+>>>
+>>> BTW: restarting sshd never shutdown pending ssh connection.
+>>>
+>>> Please remove or fix this.
+>>>
+>>> Let's see the state of machine now I was disconnected during urpmi...
+>> Check your /etc/ssh/sshd_config - you must use "UsePAM yes" there.
+>> https://wiki.mageia.org/en/Mageia_2_Errata#SSH_daemon_issues
+> 
+> We already use PAM in ssh (because ldap)...
+
+Then check your /etc/pam.d/system-auth (or /etc/pam.d/sshd which should
+include system-auth).
+
+
+The system-auth we ship includes:
+
+-session    optional      pam_systemd.so
+
+
+This ensures that user processes inside sshd are not marked as processes
+of the service and thus do not get reaped.
+
+
+So it looks like something has not been propagated properly there on
+upgrade (system-auth should be modified appropriately, but perhaps sshd
+is custom or some other changes are messing things up).
+
+There is certainly not a fundamental error, so it must be configuration
+in some regard:
+
+[colin at jimmy ~]$ ssh marley
+Last login: Wed Jun 27 09:23:42 2012 from jimmy.rasta.guthr.ie
+[colin at marley ~]$ sudo -i
+[root at marley ~]# systemctl restart sshd.service
+[root at marley ~]# logout
+
+
+Col
+
+
+-- 
+
+Colin Guthrie
+colin(at)mageia.org
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited http://www.tribalogic.net/
+Open Source:
+  Mageia Contributor http://www.mageia.org/
+  PulseAudio Hacker http://www.pulseaudio.org/
+  Trac Hacker http://trac.edgewall.org/
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1