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

Bug#181541: marked as done (libc6: devpts.sh fails due to bad quoting)



Your message dated Wed, 19 Feb 2003 10:34:28 -0500
with message-id <20030219153428.GA5094@nevyn.them.org>
and subject line Bug#181541: libc6: devpts.sh fails due to bad quoting
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; 18 Feb 2003 21:54:09 +0000
>From forcer@forcix.cx Tue Feb 18 15:54:09 2003
Return-path: <forcer@forcix.cx>
Received: from rzaixsrv2.rrz.uni-hamburg.de [134.100.32.71] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18lFgm-0004nk-00; Tue, 18 Feb 2003 15:54:08 -0600
Received: from burse.uni-hamburg.de (die.burse.uni-hamburg.de [134.100.252.249])
	by rzaixsrv2.rrz.uni-hamburg.de (8.11.6/8.11.6) with ESMTP id h1ILs6048468;
	Tue, 18 Feb 2003 22:54:06 +0100
Received: from forcix.burse.uni-hamburg.de (forcix.burse.uni-hamburg.de [192.168.42.38])
	by burse.uni-hamburg.de (8.10.2/8.10.2) with ESMTP id h1ILrx602072;
	Tue, 18 Feb 2003 22:54:00 +0100
Received: from forcer by forcix.burse.uni-hamburg.de with local (Exim 3.36 #1 (Debian))
	id 18lFgd-00007i-00; Tue, 18 Feb 2003 22:53:59 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jorgen Schaefer <forcer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: devpts.sh fails due to bad quoting
X-Mailer: reportbug 2.10
Date: Tue, 18 Feb 2003 22:53:59 +0100
Message-Id: <[🔎] E18lFgd-00007i-00@forcix.burse.uni-hamburg.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: libc6
Version: 2.3.1-11
Severity: normal

Hi there!
>From /etc/init.d/devpts.sh:

devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
[...]
if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]

this fails on my system with

devpts.sh:17: [: =: unary operator expected

since the grep call does not return anything.
It probably should be if [ "$devfs_mounted" ...], no?

Greetings,
	-- Jorgen

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux forcix 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information


---------------------------------------
Received: (at 181541-done) by bugs.debian.org; 19 Feb 2003 15:34:35 +0000
>From drow@false.org Wed Feb 19 09:34:34 2003
Return-path: <drow@false.org>
Received: from crack.them.org [65.125.64.184] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18lWF0-0000Yv-00; Wed, 19 Feb 2003 09:34:34 -0600
Received: from nevyn.them.org ([66.93.61.169] ident=mail)
	by crack.them.org with asmtp (Exim 3.12 #1 (Debian))
	id 18lY88-0006Tn-00; Wed, 19 Feb 2003 11:35:36 -0600
Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian))
	id 18lWEu-0001Kg-00; Wed, 19 Feb 2003 10:34:28 -0500
Date: Wed, 19 Feb 2003 10:34:28 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: Jorgen Schaefer <forcer@debian.org>, 181541-done@bugs.debian.org
Subject: Re: Bug#181541: libc6: devpts.sh fails due to bad quoting
Message-ID: <20030219153428.GA5094@nevyn.them.org>
References: <[🔎] E18lFgd-00007i-00@forcix.burse.uni-hamburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E18lFgd-00007i-00@forcix.burse.uni-hamburg.de>
User-Agent: Mutt/1.5.1i
Delivered-To: 181541-done@bugs.debian.org
X-Spam-Status: No, hits=-2.5 required=4.0
	tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE,
	      SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

On Tue, Feb 18, 2003 at 10:53:59PM +0100, Jorgen Schaefer wrote:
> Package: libc6
> Version: 2.3.1-11
> Severity: normal
> 
> Hi there!
> >From /etc/init.d/devpts.sh:
> 
> devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
> [...]
> if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
> 
> this fails on my system with
> 
> devpts.sh:17: [: =: unary operator expected
> 
> since the grep call does not return anything.
> It probably should be if [ "$devfs_mounted" ...], no?

This was caused by a change in grep, and fixed in 2.3.1-12.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: