Bug#243880: marked as done (ssh: broken wtmp entries ("gone - no logout") for 2.6 kernels)
Your message dated Mon, 17 May 2004 02:03:40 -0400
with message-id <E1BPbDw-0005lg-00@newraff.debian.org>
and subject line Bug#247538: fixed in openssh 1:3.8.1p1-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Apr 2004 10:49:47 +0000
>From kros@ippt.gov.pl Thu Apr 15 03:49:47 2004
Return-path: <kros@ippt.gov.pl>
Received: from brama.ippt.gov.pl [148.81.54.253]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BE4RG-0007yy-00; Thu, 15 Apr 2004 03:49:47 -0700
Received: from brama.ippt.gov.pl (localhost [127.0.0.1])
by brama.ippt.gov.pl (8.12.11/8.12.11/Debian-3) with ESMTP id i3FAlcJ4025736
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Thu, 15 Apr 2004 12:47:38 +0200
Received: (from kros@localhost)
by brama.ippt.gov.pl (8.12.11/8.12.11/Debian-3) id i3FAlccW025735;
Thu, 15 Apr 2004 12:47:38 +0200
Message-Id: <200404151047.i3FAlccW025735@brama.ippt.gov.pl>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Karol Roslaniec <kros@ippt.gov.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ssh: broken wtmp entries ("gone - no logout") for 2.6 kernels
X-Mailer: reportbug 2.56
Date: Thu, 15 Apr 2004 12:47:38 +0200
X-Virus-Scanned: by amavisd-new
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 1
Package: ssh
Version: 1:3.8p1-2
Severity: normal
Tags: patch
There is a bug in loginrec.c -- the "line" variable is declared too short
in syslogin_preform_logout() function.
Ssh truncates the pseudo-tty number, and every login with pts number
longer than 4 digits is marked as "gone - no logout" by "last"
command.
This was reported on OpenSSH list:
http://msgs.securepoint.com/cgi-bin/get/openssh-unix-dev-0404/23.html
Patch below.
-Karol
=[patch]================================================
--- loginrec.c.orig 2004-04-15 12:00:39.000000000 +0200
+++ loginrec.c 2004-04-15 12:04:24.000000000 +0200
@@ -1354,7 +1354,10 @@
syslogin_perform_logout(struct logininfo *li)
{
# ifdef HAVE_LOGOUT
- char line[8];
+# ifndef UT_LINESIZE
+# define UT_LINESIZE 8
+# endif
+ char line[UT_LINESIZE];
(void)line_stripname(line, li->line, sizeof(line));
=[patch]================================================
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-mm1
Locale: LANG=C, LC_CTYPE=pl_PL
Versions of packages ssh depends on:
ii adduser 3.52 Add and remove users and groups
ii debconf 1.4.21 Debian configuration management sy
ii dpkg 1.10.20 Package maintenance system for Deb
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libpam-modules 0.76-16 Pluggable Authentication Modules f
ii libpam-runtime 0.76-16 Runtime support for the PAM librar
ii libpam0g 0.76-16 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7d-1 SSL shared libraries
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.2.1-5 compression library - runtime
-- debconf information excluded
---------------------------------------
Received: (at 247538-close) by bugs.debian.org; 17 May 2004 06:10:04 +0000
>From rdonald@newraff.debian.org Sun May 16 23:10:04 2004
Return-path: <rdonald@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BPbK8-0003LL-00; Sun, 16 May 2004 23:10:04 -0700
Received: from rdonald by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1BPbDw-0005lg-00; Mon, 17 May 2004 02:03:40 -0400
From: Colin Watson <cjwatson@debian.org>
To: 247538-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#247538: fixed in openssh 1:3.8.1p1-1
Message-Id: <E1BPbDw-0005lg-00@newraff.debian.org>
Sender: Randall Donald <rdonald@newraff.debian.org>
Date: Mon, 17 May 2004 02:03:40 -0400
Delivered-To: 247538-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 7
Source: openssh
Source-Version: 1:3.8.1p1-1
We believe that the bug you reported is fixed in the latest version of
openssh, which is due to be installed in the Debian FTP archive:
openssh-client-udeb_3.8.1p1-1_powerpc.udeb
to pool/main/o/openssh/openssh-client-udeb_3.8.1p1-1_powerpc.udeb
openssh-server-udeb_3.8.1p1-1_powerpc.udeb
to pool/main/o/openssh/openssh-server-udeb_3.8.1p1-1_powerpc.udeb
openssh_3.8.1p1-1.diff.gz
to pool/main/o/openssh/openssh_3.8.1p1-1.diff.gz
openssh_3.8.1p1-1.dsc
to pool/main/o/openssh/openssh_3.8.1p1-1.dsc
openssh_3.8.1p1.orig.tar.gz
to pool/main/o/openssh/openssh_3.8.1p1.orig.tar.gz
ssh_3.8.1p1-1_powerpc.deb
to pool/main/o/openssh/ssh_3.8.1p1-1_powerpc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 247538@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated openssh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 11 May 2004 23:38:10 +0100
Source: openssh
Binary: ssh-askpass-gnome openssh-client-udeb ssh openssh-server-udeb
Architecture: source powerpc
Version: 1:3.8.1p1-1
Distribution: unstable
Urgency: low
Maintainer: Matthew Vernon <matthew@debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
openssh-client-udeb - Secure shell client for the Debian installer (udeb)
openssh-server-udeb - Secure shell server for the Debian installer (udeb)
ssh - Secure rlogin/rsh/rcp replacement (OpenSSH)
Closes: 211640 232333 238753 242808 244829 246068 247538
Changes:
openssh (1:3.8.1p1-1) unstable; urgency=low
.
* New upstream release.
- Use a longer buffer for tty names in utmp (closes: #247538).
* Make sure there's a newline at the end of sshd_config before adding
'UsePAM yes' (closes: #244829).
* Generate a new .orig.tar.gz without RFC.nroff, and remove
/usr/share/doc/ssh/RFC.gz (closes: #211640). It isn't DFSG-free and only
documents the obsolete SSH1 protocol, not to mention that it was never a
real RFC but only an Internet-Draft. It's available from
http://www.free.lp.se/bamse/draft-ylonen-ssh-protocol-00.txt if you want
it for some reason.
* Add openssh-client-udeb and openssh-server-udeb binary packages for use
in debian-installer. They still need libnss_files to be supplied in udeb
form by glibc.
* Work around lack of res_query weak alias in libresolv on amd64 (see
#242462, awaiting real fix upstream).
* Fix grammar in sshd(8) (closes: #238753).
* Add .desktop file and icon for ssh-askpass-gnome (closes: #232333).
* Update Polish debconf template translation (thanks, Emil Nowak;
closes: #242808).
* Add Turkish debconf template translation (thanks, Recai OktaÅ?;
closes: #246068).
Files:
48e979343fe79fdddcce81a877b7113f 890 net standard openssh_3.8.1p1-1.dsc
9ce6f2fa5b2931ce2c4c25f3af9ad50d 795948 net standard openssh_3.8.1p1.orig.tar.gz
79f711efd181e7f6a67925ecc406cabe 139831 net standard openssh_3.8.1p1-1.diff.gz
3984248fed7479a4bf15f8776dad3f75 728470 net standard ssh_3.8.1p1-1_powerpc.deb
5c26dc3f63f3b174608e9080069e1cf6 100740 debian-installer optional openssh-client-udeb_3.8.1p1-1_powerpc.udeb
481d209ae63d29cf32a7630140775786 120712 debian-installer optional openssh-server-udeb_3.8.1p1-1_powerpc.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer
iD8DBQFAoWRb9t0zAhD6TNERAnMiAJ94XBkqt8SReHjhwfIzPsawQUhiMgCdGUzK
vWUuAKi6g37QFrBzXlNOKaM=
=Qits
-----END PGP SIGNATURE-----
Reply to: