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

Bug#193951: marked as done (linuxrc: should NOT exec /sbin/init)



Your message dated Tue, 3 Jun 2003 13:07:27 +0200
with message-id <E19N9dX-0003Wc-00@saruman.uio.no>
and subject line linuxrc: should NOT exec /sbin/init
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; 20 May 2003 04:49:35 +0000
>From joe@nahmias.net Mon May 19 23:49:34 2003
Return-path: <joe@nahmias.net>
Received: from user-0ccerf2.cable.mindspring.com (a750.nahmias.net) [24.199.109.226] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19Hz4A-0003fx-00; Mon, 19 May 2003 23:49:34 -0500
Received: by a750.nahmias.net (Postfix, from userid 1000)
	id 111B0E80D; Tue, 20 May 2003 00:49:31 -0400 (EDT)
From: Joe Nahmias <joe@nahmias.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linuxrc: should NOT exec /sbin/init
X-Mailer: reportbug 1.50
Date: Tue, 20 May 2003 00:49:17 -0400
Message-Id: <20030520044931.111B0E80D@a750.nahmias.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-18.0 required=4.0
	tests=BAYES_10,HAS_PACKAGE,PATCH_UNIFIED_DIFF,PGP_SIGNATURE
	autolearn=ham version=2.53-bugs.debian.org_2003_05_09
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_09 (1.174.2.15-2003-03-30-exp)

Package: rootskel
Version: 0.29; not installed; reported 2003-05-20
Severity: critical
Tags: patch
Justification: breaks the whole system

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

The recent change to /linuxrc to make it exec /sbin/init breaks
debian-installer.  I get a kernel panic, using the d-i netboot image
from 2003-05-19 that includes the changed /linuxrc, when trying to run
init.  Per Matt Kraai, this is because busybox does not like to be
called as /sbin/init UNLESS it is as PID 1.  

The following patch fixes linuxrc to allow the installer to boot.

Joe Nahmias, DD wannabe


- --- rootskel-0.29/src/linuxrc.orig	2003-05-03 12:48:00.000000000 -0400
+++ rootskel-0.29/src/linuxrc	2003-05-20 00:45:08.000000000 -0400
@@ -9,4 +9,6 @@
 mount -t proc proc proc
 mount -t devfs devfs dev
 # Close all open files on the initrd, and run busybox init.
- -exec chroot . /sbin/init <dev/console >dev/console 2>&1
+rm -f linuxrc # this program
+ln -s /sbin/init linuxrc
+exec chroot . /linuxrc <dev/console >dev/console 2>&1


- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux a750.nahmias.net 2.4.20 #1 Thu Jan 9 11:22:09 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ybPaKl23+OYWEqURAqSsAJwM9zhUte6EChqhY/y0g8tIJHtbGACeKZoS
ZnC0h3VX+Lj/jU10T37C8Vo=
=HGY2
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 193951-done) by bugs.debian.org; 3 Jun 2003 12:12:01 +0000
>From pre@saruman.uio.no Tue Jun 03 07:11:55 2003
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19NAdu-00085W-00; Tue, 03 Jun 2003 07:11:54 -0500
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 2.12 #7)
	id 19NAds-0003F9-00
	for 193951-done@bugs.debian.org; Tue, 3 Jun 2003 14:11:52 +0200
Received: from [129.240.130.14] (helo=mons.uio.no)
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 19NAdl-0004Dn-U2
	for 193951-done@bugs.debian.org; Tue, 03 Jun 2003 14:11:45 +0200
Received: from ulrik.uio.no ([129.240.12.4])
	by mons.uio.no with esmtp (Exim 2.12 #7)
	id 19N9hE-0005VL-00; Tue, 3 Jun 2003 13:11:16 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by ulrik.uio.no with esmtp (Exim 2.12 #7)
	id 19N9hA-000792-00; Tue, 3 Jun 2003 13:11:12 +0200
Received: from pre by saruman.uio.no with local (Exim 2.12 #7)
	id 19N9dX-0003Wc-00; Tue, 3 Jun 2003 13:07:27 +0200
To: 193951-done@bugs.debian.org
Subject: Re: linuxrc: should NOT exec /sbin/init
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E19N9dX-0003Wc-00@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Tue, 3 Jun 2003 13:07:27 +0200
X-MailScanner-Information: Please contact postmaster@uio.no for more information
X-UiO-MailScanner: Found to be clean
Delivered-To: 193951-done@bugs.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0
	tests=BAYES_01
	version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)


This bug was fixed in v0.30 of rootskel.



Reply to: