[BusyBox] bug#1175: marked as done (init: /etc/init.d/rcS does not execute everything)

BusyBox.net bug Tracking System owner at busybox.net
Fri Apr 26 18:46:08 UTC 2002


Your message dated Fri, 26 Apr 2002 18:20:35 -0600
with message-id <20020427002035.GG3265 at codepoet.org>
and subject line Fixed
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.)

Erik Andersen
(administrator, BusyBox.net bugs database)

--------------------------------------
Received: (at submit) by bugs.lineo.com; 1 Jun 2001 10:14:06 +0000
>From geg at iitb.fhg.de  Fri Jun  1 04:14:06 2001
Received: from scan1.fhg.de (scan1.fhg.de [153.96.1.35])
	by opensource.lineo.com (Postfix) with ESMTP id 04E1619338D
	for <submit at bugs.lineo.com>; Fri,  1 Jun 2001 04:14:00 -0600 (MDT)
Received: from scan1.fhg.de (localhost [127.0.0.1])
	by scan1.fhg.de (8.11.1/8.11.1) with ESMTP id f51ADwm04477
	for <submit at bugs.lineo.com>; Fri, 1 Jun 2001 12:13:58 +0200 (MET DST)
Received: from iitb.fhg.de (iitb.iitb.fhg.de [153.96.12.2])
	by scan1.fhg.de (8.11.1/8.11.1) with ESMTP id f51ADwD04473
	for <submit at bugs.lineo.com>; Fri, 1 Jun 2001 12:13:58 +0200 (MET DST)
Received: from venus.iitb.fhg.de (venus [153.96.9.82])
	by iitb.fhg.de (8.9.3/8.9.3) with ESMTP id MAA13624
	for <submit at bugs.lineo.com>; Fri, 1 Jun 2001 12:13:57 +0200 (MET DST)
Received: (from geg at localhost)
	by venus.iitb.fhg.de (8.9.3/8.9.2) id MAA04070
	for submit at bugs.lineo.com; Fri, 1 Jun 2001 12:13:55 +0200
Date: Fri, 1 Jun 2001 12:13:55 +0200
From: Sven Geggus <geg at iitb.fhg.de>
To: submit at bugs.lineo.com
Subject: init: /etc/init.d/rcS does not execute everything
Message-ID: <20010601121354.A3882 at iitb.fhg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.3.17i
X-giggls-priority: very high :P

Package: busybox
Version: 0.51
Severity: normal

Hi there,

I recogniced, that /etc/init.d/rcS script does not execute Daemons in a
correct way.

It looks like the last command is not executed at all!

I´m trying to run inetd from this file, but it is not executed at all.

Whe I add multiple calls of inetd, it gets finaly started several times.

If I call inetd three times it is running twice!

It is not running at all when called twice though.

I´m using glibc-2.1.3 if this shoulf be of interest.

My /etc/init.d/rcS script uses a real bash (1.14.7), not the busybox
supplied sh.

It is even more strange, that the script starts the daemons just fine when
started manually from a shell.

I´m willing to help debugging this, but I´m not quite shure how I should.

Sven

P.S.:

This is what /etc/inittab looks like

--cut--
::sysinit:/etc/init.d/rcS

ttyS0::respawn:/bin/getty -L ttyS0 115200 vt100
--cut--

-- 
Sven Geggus @ Fraunhofer IITB, Karlsruhe (http://wsd.iitb.fhg.de/)
Phone: +49 721 6091-422, Fax: +49 721 6091-213
Linux powered DATA aquisition and evaluation, embedded systems,
combustion engine diagnosis

---------------------------------------
Received: (at 1175-done) by bugs.busybox.net; 27 Apr 2002 00:20:36 +0000
>From andersen at codepoet.org  Fri Apr 26 18:20:36 2002
Received: by winder.codepoet.org (Postfix, from userid 1000)
	id CE87B157981; Fri, 26 Apr 2002 18:20:35 -0600 (MDT)
Date: Fri, 26 Apr 2002 18:20:35 -0600
From: Erik Andersen <andersen at codepoet.org>
To: 1175-done at bugs.busybox.net
Subject: Fixed
Message-ID: <20020427002035.GG3265 at codepoet.org>
Reply-To: andersen at codepoet.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Operating-System: Linux 2.4.18-rmk1, Rebel-NetWinder(Intel StrongARM 110 rev 3), 185.95 BogoMips
X-No-Junk-Mail: I do not want to get *any* junk mail.

Init has been reworked so that scripts such as your are run 
with a controlling terminal, and so are no longer terminated
until they are complete,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list