Your message dated Fri, 05 Aug 2005 19:15:42 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Close bugs tagged as woody
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; 16 Feb 2005 23:52:13 +0000
>From [EMAIL PROTECTED] Wed Feb 16 15:52:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from hoiho.wlug.org.nz [203.97.10.50] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D1Yxp-0004D0-00; Wed, 16 Feb 2005 15:52:13 -0800
Received: from jrm by hoiho.wlug.org.nz with local (Exim 4.34)
        id 1D1Yxm-00045A-SH
        for [EMAIL PROTECTED]; Thu, 17 Feb 2005 12:52:10 +1300
Date: Thu, 17 Feb 2005 12:52:10 +1300
From: "John R. McPherson" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: broken /etc/init.d/devpts.sh script won't work
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (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_2005_01_02
X-Spam-Level: 

Package: libc6
Version: 2.2.5-11.8
Severity: Important

(Debian stable, with 2.6 kernel)

/etc/init.d/devpts.sh contains the following:

##
devpts_avail=`grep -qci '[<[:space:]]devpts' /proc/filesystems || true`
devpts_mounted=`grep -qci '/dev/pts' /proc/mounts || true`
devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || 
true`

if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
then
##

However, surely this is wrong, as `` backticks are used for recording
the stdout of the command, not the return value. because grep -q || true
doesn't print anything, this variable is assigned an empty string.

bash then complains with "[: =: unary operator expected" because it tries
to do
if [ = 0 ]
which is a syntax error. The end result is my devpts isn't mounted and
I can't run programs that want a pts like screen.

Furthermore, adding || true to each of those tests seems to make the
tests redundant, since ` anything || true ` will return 0 (true).

I think you probably want something like
   grep -qci '[<[:space:]]devpts' /proc/filesystems 
   devpts_avail=$?
(etc)

John McPherson


---------------------------------------
Received: (at 295618-done) by bugs.debian.org; 5 Aug 2005 10:15:49 +0000
>From [EMAIL PROTECTED] Fri Aug 05 03:15:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E0zEy-0001Gb-00; Fri, 05 Aug 2005 03:15:49 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
        by webmasters.gr.jp (Postfix) with ESMTP id B0A5CDEB83;
        Fri,  5 Aug 2005 19:15:42 +0900 (JST)
Date: Fri, 05 Aug 2005 19:15:42 +0900
Message-ID: <[EMAIL PROTECTED]>
From: GOTO Masanori <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        debian-glibc@lists.debian.org
Subject: Close bugs tagged as woody
User-Agent: Wanderlust/2.11.30 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 
(Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 28

These bugs are tagged as woody, because they're well-known problems
and for keeping open to come to light what the problem is.  However,
as you know, sarge was released.  Our stable version was moved from
woody to sarge.  It's high time to close old woody's bugs that are
still open.  Now I close these bugs.  If you have any objections to
close them, please reopen and let us know your trouble.

Regards,
-- gotom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to