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

Bug#248923: marked as done (discover: [patch] There is no */usr*/bin/cut while rc.S scripts are being run)



Your message dated Sat, 30 Jul 2005 19:24:51 -0300
with message-id <87ek9gkk3w.fsf@nurf.casa>
and subject line Fixed on 1.7.2
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; 5 May 2004 02:36:20 +0000
>From jjminar@fastmail.fm Tue May 04 19:36:20 2004
Return-path: <jjminar@fastmail.fm>
Received: from ns1.deusystems.com (deusystems.cz) [212.80.75.66] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1BLCGh-0000F4-00; Tue, 04 May 2004 19:36:20 -0700
Received: (qmail 1854 invoked from network); 5 May 2004 02:37:20 -0000
Received: from unknown (HELO mail.haltyr.bohnice.centrum.czf) (10.10.8.133)
  by kerberos.deusystems.com with SMTP; 5 May 2004 02:37:20 -0000
Received: by mail.haltyr.bohnice.centrum.czf (Postfix, from userid 1000)
	id 15DBD48CE; Wed,  5 May 2004 04:34:01 +0200 (CEST)
From: "& Minar" <jjminar@fastmail.fm>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: discover: [patch] There is no */usr*/bin/cut while rc.S scripts are being run
X-Mailer: reportbug 1.50
Date: Wed, 05 May 2004 04:34:01 +0200
Message-Id: <20040505023401.15DBD48CE@mail.haltyr.bohnice.centrum.czf>
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: discover
Version: 1.1-6
Severity: important
Tags: patch

/etc/init.d/discover uses /usr/bin/cut.  But the /usr hierarchy isn't
necessarily mounted, and therefore rc.S scripts must not use programs
from /usr/bin.

Please apply this patch:

--- BAD/etc/init.d/discover	Mon Apr  8 19:12:25 2002
+++ GOOD/etc/init.d/discover	Wed May  5 04:27:50 2004
@@ -16,7 +16,7 @@
 # the config file:
 if [ -f $CONFFILE ]
 then
-    ARGUMENTS=$(sed "s/#.*$//" $CONFFILE | grep "^boot " | cut -c6-)
+    ARGUMENTS=$(sed "s/#.*$//" $CONFFILE | grep "^boot " | sed "s/^.....//")
     # Deal with pre-0.9.7 syntax:
     ARGUMENTS=$(echo $ARGUMENTS | sed "s/,/ /g")
 fi

Reviewing the whole script for such problems would probably be a good
idea.

Cheers,
Jan.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kontryhel 2.4.26-jan #3 SMP Mon Apr 19 05:00:00 CEST 2004 i686
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2

Versions of packages discover depends on:
ii  ash                           0.3.8-37   NetBSD /bin/sh
ii  libc6                         2.2.5-11.5 GNU C Library: Shared libraries an
ii  libdiscover1                  1.1-6      hardware identification library


---------------------------------------
Received: (at 248923-done) by bugs.debian.org; 30 Jul 2005 22:18:22 +0000
>From otavio@debian.org Sat Jul 30 15:18:20 2005
Return-path: <otavio@debian.org>
Received: from aveiro.procergs.com.br [200.198.128.42] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1Dyzeu-0008S9-00; Sat, 30 Jul 2005 15:18:20 -0700
Received: from localhost (unknown [201.10.58.28])
	by aveiro.procergs.com.br (Postfix) with ESMTP id 2515B5000085
	for <248923-done@bugs.debian.org>; Sat, 30 Jul 2005 19:17:48 -0300 (BRST)
Received: by localhost (Postfix, from userid 1000)
	id AC5571C0B308; Sat, 30 Jul 2005 19:24:51 -0300 (BRT)
From: Otavio Salvador <otavio@debian.org>
To: 248923-done@bugs.debian.org
Subject: Fixed on 1.7.2
Organization: OS Systems Ltda.
X-URL: http://www.debian.org/~otavio/
X-Attribution: OS
Date: Sat, 30 Jul 2005 19:24:51 -0300
Message-ID: <87ek9gkk3w.fsf@nurf.casa>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 248923-done@bugs.debian.org
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: discover1
Version: 1.7.2

This problem was fixed on version 1.7.2 of package and then I'm
closing this bug.

Any problem, please, reopen it.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



Reply to: