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

Bug#211260: marked as done (rootskel: /linuxrc should include path for chroot)



Your message dated Wed, 17 Sep 2003 05:34:06 -0700
with message-id <[🔎] 20030917123406.GC325@ip68-107-137-100.tc.ph.cox.net>
and subject line Bug#211260: rootskel: /linuxrc should include path for chroot
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 Sep 2003 20:25:55 +0000
>From sesse@samfundet.no Tue Sep 16 15:24:49 2003
Return-path: <sesse@samfundet.no>
Received: from cassarossa.samfundet.no [129.241.93.19] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19zMNV-0007Vg-00; Tue, 16 Sep 2003 15:24:49 -0500
Received: by cassarossa.samfundet.no (Postfix, from userid 20053)
	id 06E174B9DA; Tue, 16 Sep 2003 22:24:48 +0200 (CEST)
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rootskel: /linuxrc should include path for chroot
X-Mailer: reportbug 1.50
Date: Tue, 16 Sep 2003 22:24:47 +0200
Message-Id: <[🔎] 20030916202448.06E174B9DA@cassarossa.samfundet.no>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-4.9 required=4.0
	tests=HAS_PACKAGE,RCVD_IN_ORBS
	version=2.53-bugs.debian.org_2003_9_16
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_16 (1.174.2.15-2003-03-30-exp)

Package: rootskel
Version: 0.36
Severity: normal
Tags: patch d-i

/linuxrc has a line saying

  exec chroot . /linuxrc </dev/console >/dev/console 2>&1

On my own images, I've had problems with this script not finding chroot.
Changing the line to

  exec /usr/sbin/chroot . /linuxrc </dev/console >/dev/console 2>&1

fixes the problems.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux cassarossa 2.4.20 #4 SMP Tue Mar 18 18:01:22 CET 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US.ISO8859-1


---------------------------------------
Received: (at 211260-done) by bugs.debian.org; 17 Sep 2003 12:34:02 +0000
>From toff1@cox.net Wed Sep 17 07:33:53 2003
Return-path: <toff1@cox.net>
Received: from fed1mtao01.cox.net [68.6.19.244] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19zbVF-0000sz-00; Wed, 17 Sep 2003 07:33:49 -0500
Received: from iMacBlue ([68.107.134.103]) by fed1mtao01.cox.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP
          id <20030917123347.TEJI10480.fed1mtao01.cox.net@iMacBlue>;
          Wed, 17 Sep 2003 08:33:47 -0400
Received: by iMacBlue (sSMTP sendmail emulation); Wed, 17 Sep 2003 05:34:06 -0700
From: "Chris Tillman" <toff1@cox.net>
Date: Wed, 17 Sep 2003 05:34:06 -0700
To: 211260-done@bugs.debian.org
Cc: debian-boot@lists.debian.org
Subject: Re: Bug#211260: rootskel: /linuxrc should include path for chroot
Message-ID: <[🔎] 20030917123406.GC325@ip68-107-137-100.tc.ph.cox.net>
Mail-Followup-To: 211260-done@bugs.debian.org, debian-boot@lists.debian.org
References: <[🔎] 20030916202448.06E174B9DA@cassarossa.samfundet.no> <[🔎] 20030917090807.Q23296@macwheel.xs4all.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <[🔎] 20030917090807.Q23296@macwheel.xs4all.nl>
User-Agent: Mutt/1.3.28i
Delivered-To: 211260-done@bugs.debian.org
X-Spam-Status: No, hits=-6.7 required=4.0
	tests=BAYES_30,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT
	version=2.53-bugs.debian.org_2003_9_16
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_16 (1.174.2.15-2003-03-30-exp)

On Wed, Sep 17, 2003 at 09:08:07AM +0200, Geert Stappers wrote:
> On Tue, Sep 16, 2003 at 10:24:47PM +0200, Steinar H. Gunderson wrote:
> > Package: rootskel
> > Version: 0.36
> > Severity: normal
> > Tags: patch d-i
> > 
> > /linuxrc has a line saying
> > 
> >   exec chroot . /linuxrc </dev/console >/dev/console 2>&1
> > 
> > On my own images, I've had problems with this script not finding chroot.
> > Changing the line to
> > 
> >   exec /usr/sbin/chroot . /linuxrc </dev/console >/dev/console 2>&1
> > 
> > fixes the problems.
> > 
> 
> dejavu. This has been reported before, it told that the error exists 
> due that chroot is the only executable in /usr/sbin. an other workaround
> was proposed in extending PATH with /usr/sbin.
> 
>     whatever
> 
> Please apply:
> 
> RCS file: /cvs/debian-boot/debian-installer/rootskel/src/linuxrc,v
> retrieving revision 1.11
> diff -u -r1.11 linuxrc
> --- rootskel/src/linuxrc        24 May 2003 12:43:23 -0000      1.11
> +++ rootskel/src/linuxrc        17 Sep 2003 07:01:26 -0000
> @@ -11,4 +11,4 @@
>  # Close all open files on the initrd, and run busybox init.
>  rm -f linuxrc # this program
>  ln -s /sbin/init linuxrc
> -exec chroot . /linuxrc <dev/console >dev/console 2>&1
> +exec /usr/sbin/chroot . /linuxrc <dev/console >dev/console 2>&1
> 
> So that we would see the error again
> and d-i makes the progress it should make.
> 
> 

Applied in CVS.

-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net



Reply to: