diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-June/016882.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016882.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016882.html | 221 |
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: +><i> * Sander Lepik (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">sander.lepik at eesti.ee</A>) wrote: +</I>>><i> 27.06.2012 11:06, Olivier Thauvin kirjutas: +</I>>>><i> I was updating remotly my build machine when: +</I>>>><i> +</I>>>><i> 192/254: openssh-server +</I>>>><i> ############################################################################################################################################################# +</I>>>><i> Migrating sysvinit service 'sshd' to systemd native unit 'sshd.service' +</I>>>><i> via systemd install rules. +</I>>>><i> Connection to cauldron64.latmos.ipsl.fr closed by remote host. +</I>>>><i> Connection to cauldron64.latmos.ipsl.fr closed. +</I>>>><i> +</I>>>><i> This must _never_ happend if the update goes wrong you completly loose +</I>>>><i> the hand on the computer. +</I>>>><i> +</I>>>><i> BTW: restarting sshd never shutdown pending ssh connection. +</I>>>><i> +</I>>>><i> Please remove or fix this. +</I>>>><i> +</I>>>><i> Let's see the state of machine now I was disconnected during urpmi... +</I>>><i> Check your /etc/ssh/sshd_config - you must use "UsePAM yes" there. +</I>>><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>><i> +</I>><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> |