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

Bug#181591: marked as done (libc6: /etc/init.d/devpts.sh has an error)



Your message dated Wed, 19 Feb 2003 10:35:01 -0500
with message-id <20030219153501.GB5094@nevyn.them.org>
and subject line Bug#181591: libc6: /etc/init.d/devpts.sh has an error
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; 19 Feb 2003 09:37:01 +0000
>From Klaus@ethgen.de Wed Feb 19 03:37:00 2003
Return-path: <Klaus@ethgen.de>
Received: from adsl-40-204-bs1.tiscali.ch (hathi.ethgen.de) [212.254.40.204] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18lQex-00050W-00; Wed, 19 Feb 2003 03:37:00 -0600
Received: from baloo.ket ([192.168.17.3])
	by hathi.ethgen.de with esmtp (Exim 3.36 #1 (Debian))
	id 18lQeq-0001Cn-00; Wed, 19 Feb 2003 10:36:52 +0100
Received: from klaus by baloo.ket with local (Exim 3.36 #1 (Debian))
	id 18lQef-0000Rg-00; Wed, 19 Feb 2003 10:36:41 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Klaus Ethgen <Klaus@Ethgen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: /etc/init.d/devpts.sh has an error
X-Mailer: reportbug 2.10
Date: Wed, 19 Feb 2003 10:36:41 +0100
Message-Id: <[🔎] E18lQef-0000Rg-00@baloo.ket>
Sender: Klaus Ethgen <klaus@baloo>
X-RBL-Warning: (inputs.orbz.org) Mail rejected because the server you are sending to is misconfigured (ORBZ is dead) - see http
X-RBL-Warning: (outputs.orbz.org) Mail rejected because the server you are sending to is misconfigured (ORBZ is dead) - see http
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.4 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF,SPAM_PHRASE_01_02
	version=2.44
X-Spam-Level: 

Package: libc6
Version: 2.3.1-11
Severity: normal
Tags: patch

The System gives /etc/init.d/rcS: line 17: [: =: unary operator expected
on startup.

this is because a bug in /etc/init.d/devpts.sh

The following patch will fix this.

---Patch---
--- /tmp/devpts.sh	2003-02-19 10:29:55.000000000 +0100
+++ /etc/init.d/devpts.sh	2003-02-19 10:27:43.000000000 +0100
@@ -10,9 +10,9 @@
 #	First find out if devpts is available. Also check if devfs
 #	is already mounted - in that case we don't want to use devpts.
 #
-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`
+devpts_avail=`grep -ci '[<[:space:]]devpts' /proc/filesystems || true`
+devpts_mounted=`grep -ci '/dev/pts' /proc/mounts || true`
+devfs_mounted=`grep -ci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
 
 if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
 then
---Patch---

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux baloo 2.4.20 #1 Sat Feb 1 17:48:41 CET 2003 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE (ignored: LC_ALL set)

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

-- no debconf information


---------------------------------------
Received: (at 181591-done) by bugs.debian.org; 19 Feb 2003 15:35:08 +0000
>From drow@false.org Wed Feb 19 09:35:08 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 18lWFY-0000ad-00; Wed, 19 Feb 2003 09:35:08 -0600
Received: from nevyn.them.org ([66.93.61.169] ident=mail)
	by crack.them.org with asmtp (Exim 3.12 #1 (Debian))
	id 18lY8e-0006U4-00; Wed, 19 Feb 2003 11:36:08 -0600
Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian))
	id 18lWFR-0001L9-00; Wed, 19 Feb 2003 10:35:01 -0500
Date: Wed, 19 Feb 2003 10:35:01 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: Klaus Ethgen <Klaus@Ethgen.de>, 181591-done@bugs.debian.org
Subject: Re: Bug#181591: libc6: /etc/init.d/devpts.sh has an error
Message-ID: <20030219153501.GB5094@nevyn.them.org>
References: <[🔎] E18lQef-0000Rg-00@baloo.ket>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E18lQef-0000Rg-00@baloo.ket>
User-Agent: Mutt/1.5.1i
Delivered-To: 181591-done@bugs.debian.org
X-Spam-Status: No, hits=-3.6 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

On Wed, Feb 19, 2003 at 10:36:41AM +0100, Klaus Ethgen wrote:
> Package: libc6
> Version: 2.3.1-11
> Severity: normal
> Tags: patch
> 
> The System gives /etc/init.d/rcS: line 17: [: =: unary operator expected
> on startup.
> 
> this is because a bug in /etc/init.d/devpts.sh
> 
> The following patch will fix this.
> 
> ---Patch---
> --- /tmp/devpts.sh	2003-02-19 10:29:55.000000000 +0100
> +++ /etc/init.d/devpts.sh	2003-02-19 10:27:43.000000000 +0100
> @@ -10,9 +10,9 @@
>  #	First find out if devpts is available. Also check if devfs
>  #	is already mounted - in that case we don't want to use devpts.
>  #
> -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`
> +devpts_avail=`grep -ci '[<[:space:]]devpts' /proc/filesystems || true`
> +devpts_mounted=`grep -ci '/dev/pts' /proc/mounts || true`
> +devfs_mounted=`grep -ci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
>  
>  if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
>  then
> ---Patch---

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: