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

Bug#245967: marked as done (debian-installer: dev/pts/* not created)



Your message dated Mon, 26 Apr 2004 16:06:26 +0100
with message-id <20040426150625.GF24242@riva.ucam.org>
and subject line Bug#245967: debian-installer: dev/pts/* not created
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; 26 Apr 2004 13:48:58 +0000
>From davidw@dedasys.com Mon Apr 26 06:48:58 2004
Return-path: <davidw@dedasys.com>
Received: from ppp-217-133-4-36.cust-adsl.tiscali.it (dedasys.com) [217.133.4.36] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BI6Ti-00018K-00; Mon, 26 Apr 2004 06:48:58 -0700
Received: by dedasys.com (Postfix, from userid 1000)
	id 60B414C364; Mon, 26 Apr 2004 15:48:24 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "David N. Welton" <davidw@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-installer: dev/pts/* not created
X-Mailer: reportbug 2.56
Date: Mon, 26 Apr 2004 15:48:24 +0200
Message-Id: <[🔎] 20040426134824.60B414C364@dedasys.com>
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: debian-installer
Severity: normal


No idea if the installer is responsible for this.  If it's not, let me
know and I'll take it up with the appropriate package.

Anyway... freshly installed sarge system and I get this:

davidw@coosbay:~$ ls /dev/pts/*
/dev/pts/0  /dev/pts/1  /dev/pts/2  /dev/pts/3

which is in fact causing errors:

davidw@coosbay:~/workshop$ xterm 
xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys

So, thanks for any insight you can provide,
Dave

---------------------------------------
Received: (at 245967-done) by bugs.debian.org; 26 Apr 2004 15:06:29 +0000
>From cjwatson@flatline.org.uk Mon Apr 26 08:06:29 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 1BI7gj-0001oo-00; Mon, 26 Apr 2004 08:06:29 -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 245967-done@bugs.debian.org
	id 1BI7gh-0005PO-00; Mon, 26 Apr 2004 16:06:27 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for 245967-done@bugs.debian.org
	id 1BI7gg-0006j5-00; Mon, 26 Apr 2004 16:06:26 +0100
Date: Mon, 26 Apr 2004 16:06:26 +0100
From: Colin Watson <cjwatson@debian.org>
To: 245967-done@bugs.debian.org
Subject: Re: Bug#245967: debian-installer: dev/pts/* not created
Message-ID: <20040426150625.GF24242@riva.ucam.org>
References: <[🔎] 20040426134824.60B414C364@dedasys.com> <handler.245967.B.10829873384372.ack@bugs.debian.org> <[🔎] 87brleom76.fsf_-_@dedasys.com> <[🔎] 20040426144325.GE24242@riva.ucam.org> <[🔎] 871xmaol0e.fsf@dedasys.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 871xmaol0e.fsf@dedasys.com>
User-Agent: Mutt/1.3.28i
Delivered-To: 245967-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=-5.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: 1

On Mon, Apr 26, 2004 at 04:45:53PM +0200, David N. Welton wrote:
> Colin Watson <cjwatson@debian.org> writes:
> > I'd advise looking at the end of an strace to see what tty-related
> > devices xterm is actually trying to open.
> 
> Sure:
> 
> it cycles through these:
> 
> open("/dev/tty", O_RDWR)                = -1 EACCES (Permission denied)
> alarm(0)                                = 2
> rt_sigaction(SIGALRM, {SIG_DFL}, {0x8071900, [ALRM], SA_RESTART}, 8) = 0
> open("/dev/ptmx", O_RDWR)               = -1 EACCES (Permission denied)
> open("/dev/ptyp0", O_RDWR)              = -1 EACCES (Permission denied)
> open("/dev/ptyp1", O_RDWR)              = -1 EACCES (Permission denied)
> open("/dev/ptyp2", O_RDWR)              = -1 EACCES (Permission denied)
> 
> ...
> 
> and then poof:
> 
> write(2, "xterm: Error 32, errno 2: ", 26) = 26
> write(2, "No such file or directory\n", 26) = 26
> write(2, "Reason: get_pty: not enough ptys\n", 33) = 33
> 
> So maybe it's a makedev bug?  Not sure, but *something* didn't do its
> job right.

Yeah, that's definitely a makedev bug, namely #245718. It's closed with
makedev 2.3.1-68:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 25 Apr 2004 16:14:25 -0600
Source: makedev
Binary: makedev
Architecture: source all
Version: 2.3.1-68
Distribution: unstable
Urgency: medium
Maintainer: Bdale Garbee <bdale@gag.com>
Changed-By: Bdale Garbee <bdale@gag.com>
Description:
 makedev    - Creates device files in /dev
Closes: 244735 245718 245737 245739 245761 245777
Changes:
 makedev (2.3.1-68) unstable; urgency=medium
 .
   * oops, we need to leave 'tty' as 0666 as we tighten the permissions on
     other tty* devices, closes: #245761, #245737, #244735, #245718
   * mountpoint -q doesn't work in all cases to detect udev, try a different
     approach, closes: #245777, #245739
   * have the postinst do '/bin/chmod o= /dev/tty[0-9]*' to further address
     the console DOS potential raised in bug #244751
Files:
 8027fbea5754f942deee757f4a2b7d52 552 base required makedev_2.3.1-68.dsc
 ddaf18a7c322e7a8740efba6dfb11708 45312 base required makedev_2.3.1-68.diff.gz
 d493897720a4b76a5e89728ae599112b 39308 base required makedev_2.3.1-68_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAjDpeZKfAp/LPAagRAu6vAJoCuDjmjg87mhBYjHDOb7HAzUB/jwCeNWK7
OlCZj1S8AFBCGzgE/cdDeWA=
=ZGoG
-----END PGP SIGNATURE-----

Cheers,

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



Reply to: