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

Bug#254902: marked as done (/dev/pts/X not getting reused -> broken {u,w}tmp)



Your message dated Thu, 17 Jun 2004 18:31:17 +0100
with message-id <20040617173117.GB16362@riva.ucam.org>
and subject line Bug#254902: /dev/pts/X not getting reused -> broken {u,w}tmp
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; 17 Jun 2004 16:46:25 +0000
>From rover@lumbreras.org Thu Jun 17 09:46:25 2004
Return-path: <rover@lumbreras.org>
Received: from 114.red-217-126-149.pooles.rima-tde.net [217.126.149.114] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1Bb01w-0003H4-00; Thu, 17 Jun 2004 09:46:25 -0700
Received: (qmail 23042 invoked by uid 1000); 17 Jun 2004 16:46:21 -0000
Date: Thu, 17 Jun 2004 18:46:21 +0200
From: Roberto Lumbreras <rover@debian.org>
To: submit@bugs.debian.org
Subject: /dev/pts/X not getting reused -> broken {u,w}tmp
Message-ID: <[🔎] 20040617164621.GA1905@lumbreras.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: ssh
Version: 3.8p1-3
Severity: normal

Hi...

I'm using kernel 2.6.x, and /dev/pts/X are not reused. That is not new,
but the following it is, at least for me:

$ finger
finger: /dev//pts/7: No such file or directory
finger: /dev//pts/13: No such file or directory
finger: /dev//pts/21: No such file or directory
finger: /dev//pts/32: No such file or directory
finger: /dev//pts/40: No such file or directory
finger: /dev//pts/53: No such file or directory
finger: /dev//pts/56: No such file or directory
Login    Name                    Tty      Idle  Login Time   Office     Office Phone
user1    User 1                  pts/95   1:22  Jun 17 11:03 (host1)
user2    User 2                  pts/132     2  Jun 17 16:37 (host2)
user3    User 3                 *pts/21         Jun 16 15:08 (host3)
user4    User 4                  tty1           Jun 17 18:11
user5    User 5                  pts/113    10  Jun 17 12:59 (host4)
user6    User 6                 *pts/13         Jun 16 14:48 (host4)
user6    User 6                 *pts/32         Jun 16 16:32 (:0)
user6    User 6                 *pts/56         Jun 16 18:43 (:0.0)
rover    Roberto Lumbreras Past *pts/49         Jun 16 17:38 (114:S.0)
rover    Roberto Lumbreras Past  pts/50         Jun 16 17:38 (114:S.1)
rover    Roberto Lumbreras Past  pts/128  1:56  Jun 17 16:11 (114:S.2)
user7    User 7                 *:0             Jun 17 16:31
user7    User 7                 *pts/40         Jun 16 16:54 (:0.0)
user7    User 7                 *pts/53         Jun 16 18:17 (fuego.dat.etsit.upm.es:0.0)
user8    User 8                 *pts/7          Jun 16 13:36 (:0.0)

$ ls /dev/pts
1
1363
1364
2
3
4

Other programs like who and w are also very confused. last has a lot of
entries with "gone - no logout" for the users that are not still there.

I don't know if it's sshd faults or libpam-something... but ssh sessions
are not deleted from u/wtmp. Feel free to reassing the bug if you know
what piece of code is the bad one.

The problem is reproducible, but think it happens when /dev/pts/X has X
bigger than some number (100? I've not tested, but with a fresh system
it seems everything is ok).

Salud,
-- 
Roberto Lumbreras           .''`.            
                    <rover : :' : debian.org>
Debian Developer           `. `'             
                             `-              

---------------------------------------
Received: (at 254902-done) by bugs.debian.org; 17 Jun 2004 17:31:21 +0000
>From cjwatson@flatline.org.uk Thu Jun 17 10:31:21 2004
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bb0jQ-0005XG-00; Thu, 17 Jun 2004 10:31:21 -0700
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	for 254902-done@bugs.debian.org
	id 1Bb0jO-0002Rd-00; Thu, 17 Jun 2004 18:31:18 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for 254902-done@bugs.debian.org
	id 1Bb0jN-0004iE-00; Thu, 17 Jun 2004 18:31:17 +0100
Date: Thu, 17 Jun 2004 18:31:17 +0100
From: Colin Watson <cjwatson@debian.org>
To: 254902-done@bugs.debian.org
Subject: Re: Bug#254902: /dev/pts/X not getting reused -> broken {u,w}tmp
Message-ID: <20040617173117.GB16362@riva.ucam.org>
References: <[🔎] 20040617164621.GA1905@lumbreras.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 20040617164621.GA1905@lumbreras.org>
User-Agent: Mutt/1.3.28i
Delivered-To: 254902-done@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: 

On Thu, Jun 17, 2004 at 06:46:21PM +0200, Roberto Lumbreras wrote:
> Package: ssh
> Version: 3.8p1-3
> Severity: normal
> 
> Hi...
> 
> I'm using kernel 2.6.x, and /dev/pts/X are not reused.

Fixed in newer releases:

openssh (1:3.8.1p1-1) unstable; urgency=low

  * New upstream release.
    - Use a longer buffer for tty names in utmp (closes: #247538).
  [...]

 -- Colin Watson <cjwatson@debian.org>  Tue, 11 May 2004 23:38:10 +0100

A newer version of OpenSSH has just reached testing and will be in
today's mirror pulse.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: