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

Bug#226836: marked as done (libc6: syntax error in devpts.sh init script)



Your message dated Sat, 10 Jan 2004 14:03:34 +0900
with message-id <81smiocs49.wl@omega.webmasters.gr.jp>
and subject line Bug#226836: libc6: syntax error in devpts.sh init script
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; 8 Jan 2004 22:46:07 +0000
>From kilian.cavalotti@crans.org Thu Jan 08 16:46:06 2004
Return-path: <kilian.cavalotti@crans.org>
Received: from jknet.taket.org [81.56.197.40] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AeeOq-00043K-00; Thu, 08 Jan 2004 11:56:52 -0600
Received: from [127.0.0.1] (unknown [192.168.0.6])
	by jknet.taket.org (Postfix) with ESMTP
	id 0A98751C715; Thu,  8 Jan 2004 18:56:50 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Kilian CAVALOTTI <kilian.cavalotti@crans.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: syntax error in devpts.sh init script
X-Mailer: reportbug 2.37
Date: Thu, 08 Jan 2004 18:56:50 +0100
Message-Id: <[🔎] 20040108175651.0A98751C715@jknet.taket.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5
X-Spam-Level: 

Package: libc6
Version: 2.3.2.ds1-10
Severity: normal

Line 17 from /etc/init.d/devpts.sh should be: 
if [[ $devfs_mounted = 0 && $devpts_avail != 0 ]]
instead of:
if [ $devfs_mounted = 0 && $devpts_avail != 0 ]


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux sirius 2.6.0 #10 Wed Jan 7 18:13:32 CET 2004 i686
Locale: LANG=C, LC_CTYPE=C

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

-- no debconf information


---------------------------------------
Received: (at 226836-done) by bugs.debian.org; 10 Jan 2004 07:19:06 +0000
>From gotom@debian.or.jp Sat Jan 10 01:19:05 2004
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AfBHd-0002y4-00; Fri, 09 Jan 2004 23:03:37 -0600
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id B87E7DEB7C; Sat, 10 Jan 2004 14:03:34 +0900 (JST)
Date: Sat, 10 Jan 2004 14:03:34 +0900
Message-ID: <81smiocs49.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Colin Watson <cjwatson@debian.org>, 226836-done@bugs.debian.org
Cc: Kilian CAVALOTTI <kilian.cavalotti@crans.org>
Subject: Re: Bug#226836: libc6: syntax error in devpts.sh init script
In-Reply-To: <[🔎] 20040109001312.GD7005@riva.ucam.org>
References: <[🔎] 20040108175651.0A98751C715@jknet.taket.org>
	<[🔎] 20040109001312.GD7005@riva.ucam.org>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 226836-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5
X-Spam-Level: 

At Fri, 9 Jan 2004 00:13:12 +0000,
Colin Watson wrote:
> 
> On Thu, Jan 08, 2004 at 06:56:50PM +0100, Kilian CAVALOTTI wrote:
> > Package: libc6
> > Version: 2.3.2.ds1-10
> > Severity: normal
> > 
> > Line 17 from /etc/init.d/devpts.sh should be: 
> > if [[ $devfs_mounted = 0 && $devpts_avail != 0 ]]
> > instead of:
> > if [ $devfs_mounted = 0 && $devpts_avail != 0 ]
> 
> It would be better to use a portable shell construct, such as:
> 
>   if [ "$devfs_mounted" = 0 ] && [ "$devpts_avail" != 0 ]
> 
> ([[ ... ]] is bash-specific.)

The latest glibc cvs tree uses above style suggested by Colin.
I've closed this bug.

Regards,
-- gotom



Reply to: