summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/016882.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016882.html')
-rw-r--r--zarb-ml/mageia-dev/2012-June/016882.html221
1 files changed, 221 insertions, 0 deletions
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 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] updating sshd kill ssh connection
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20updating%20sshd%20kill%20ssh%20connection&In-Reply-To=%3C4FEAC362.4000302%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="016879.html">
+ <LINK REL="Next" HREF="016884.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] updating sshd kill ssh connection</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20updating%20sshd%20kill%20ssh%20connection&In-Reply-To=%3C4FEAC362.4000302%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] updating sshd kill ssh connection">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Wed Jun 27 10:25:06 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="016879.html">[Mageia-dev] updating sshd kill ssh connection
+</A></li>
+ <LI>Next message: <A HREF="016884.html">[Mageia-dev] updating sshd kill ssh connection
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#16882">[ date ]</a>
+ <a href="thread.html#16882">[ thread ]</a>
+ <a href="subject.html#16882">[ subject ]</a>
+ <a href="author.html#16882">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Olivier Thauvin at 27/06/12 09:17 did gyre and gimble:
+&gt;<i> * Sander Lepik (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">sander.lepik at eesti.ee</A>) wrote:
+</I>&gt;&gt;<i> 27.06.2012 11:06, Olivier Thauvin kirjutas:
+</I>&gt;&gt;&gt;<i> I was updating remotly my build machine when:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> 192/254: openssh-server
+</I>&gt;&gt;&gt;<i> #############################################################################################################################################################
+</I>&gt;&gt;&gt;<i> Migrating sysvinit service 'sshd' to systemd native unit 'sshd.service'
+</I>&gt;&gt;&gt;<i> via systemd install rules.
+</I>&gt;&gt;&gt;<i> Connection to cauldron64.latmos.ipsl.fr closed by remote host.
+</I>&gt;&gt;&gt;<i> Connection to cauldron64.latmos.ipsl.fr closed.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> This must _never_ happend if the update goes wrong you completly loose
+</I>&gt;&gt;&gt;<i> the hand on the computer.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> BTW: restarting sshd never shutdown pending ssh connection.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Please remove or fix this.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Let's see the state of machine now I was disconnected during urpmi...
+</I>&gt;&gt;<i> Check your /etc/ssh/sshd_config - you must use &quot;UsePAM yes&quot; there.
+</I>&gt;&gt;<i> <A HREF="https://wiki.mageia.org/en/Mageia_2_Errata#SSH_daemon_issues">https://wiki.mageia.org/en/Mageia_2_Errata#SSH_daemon_issues</A>
+</I>&gt;<i>
+</I>&gt;<i> We already use PAM in ssh (because ldap)...
+</I>
+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:
+
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at jimmy</A> ~]$ ssh marley
+Last login: Wed Jun 27 09:23:42 2012 from jimmy.rasta.guthr.ie
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at marley</A> ~]$ sudo -i
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at marley</A> ~]# systemctl restart sshd.service
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at marley</A> ~]# logout
+
+
+Col
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+
+
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="016879.html">[Mageia-dev] updating sshd kill ssh connection
+</A></li>
+ <LI>Next message: <A HREF="016884.html">[Mageia-dev] updating sshd kill ssh connection
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#16882">[ date ]</a>
+ <a href="thread.html#16882">[ thread ]</a>
+ <a href="subject.html#16882">[ subject ]</a>
+ <a href="author.html#16882">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>