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

Bug#138817: marked as done (diskless: eth0 hardcoded in /sbin/init replacement)

Your message dated Tue, 13 Sep 2005 09:55:21 +0200
with message-id <20050913075521.GA1577@diziet.irb.hr>
and subject line diskless removed
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; 18 Mar 2002 00:07:13 +0000
>From michael.weber@post.rwth-aachen.de Sun Mar 17 18:07:13 2002
Return-path: <michael.weber@post.rwth-aachen.de>
Received: from mailout03.sul.t-online.com [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16mkgD-0000TB-00; Sun, 17 Mar 2002 18:07:13 -0600
Received: from fwd09.sul.t-online.de 
	by mailout03.sul.t-online.com with smtp 
	id 16mjr5-0008WU-02; Mon, 18 Mar 2002 00:14:23 +0100
Received: from p508E8956.dip.t-dialin.net (520074448329-0001@[]) by fmrl09.sul.t-online.com
	with esmtp id 16mjqv-06YhKiC; Mon, 18 Mar 2002 00:14:13 +0100
Received: from goodvibes.webnet.de (localhost [])
	by p508E8956.dip.t-dialin.net (8.12.1/8.12.1/Debian -2) with ESMTP id g2HNDmss027335;
	Mon, 18 Mar 2002 00:13:48 +0100
Received: (from michaelw@localhost)
	by goodvibes.webnet.de (8.12.1/8.12.1/Debian -2) id g2HNDkKF027334;
	Mon, 18 Mar 2002 00:13:46 +0100
Date: Mon, 18 Mar 2002 00:13:46 +0100
From: Michael Weber <michaelw@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diskless: eth0 hardcoded in /sbin/init replacement
Message-ID: <20020317231345.GA27292@webnet.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
X-Reportbug-Version: 1.36
X-GPG-Fingerprint: F65C68CD: BF52 F4F7 5CAF 5349 1F47  A989 EA4A CD5C F65C 68CD
X-PGP-Fingerprint: 1D0DD0B9: 3C B3 B4 96 2F 38 D8 F1  25 68 53 2B 4A 15 A5 87
X-Sender: 520074448329-0001@t-dialin.net
Delivered-To: submit@bugs.debian.org

Package: diskless
Version: 0.3.17
Severity: normal


the diskless-image-* packages have eth0 hardcoded in /sbin/init, which
is a problem, if one wants to boot from eth1 :)

        IP=`ifconfig | grep -A1 eth0 | grep -v eth0 | sed 's/^.*inet addr:\([0-9\.]\+\).*$/\1/'`
The following snippet is more robust (and gives a better error message
in case it still fails).  The explicit test for an interface is not
needed, since at that point there should be only one interface up,
AFAICT (the one set up by the kernel).  In (the unlikely) case there
is another one up (say, if there are two, and for each a DHCP request
succeeds), the first one is taken here:

	IP="$(ifconfig | sed -n -e '/^[[:space:]]*inet addr:\([[:digit:].]*\).*$/{s//\1/p;q;}')"
	if [ -n "$IP" ]
		echo "Client IP address is $IP"
		echo "$0: could not determine IP address.  Bailing out."
		exit 1

I looked around for a better way to obtain the client's IP address,
but couldn't find one...

BTW: Is there a reason why *-secure/init and *-simple/init are not the
same?  It looks like they've gone out of sync at some point.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux goodvibes 2.4.16 #1 Sun Dec 9 14:40:03 CET 2001 i586
Locale: LANG=POSIX, LC_CTYPE=de_DE@euro

Versions of packages diskless depends on:
ii  debootstrap            Bootstrap a basic Debian system
ii  libmd5-perl                   2.02-2     backwards-compatible wrapper for D
ii  m4                            1.4-14     a macro processing language
ii  perl [perl5]                  5.6.1-5    Larry Wall's Practical Extraction 

Received: (at 138817-done) by bugs.debian.org; 13 Sep 2005 07:55:25 +0000
>From mvela@irb.hr Tue Sep 13 00:55:25 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EF5dV-00067X-00; Tue, 13 Sep 2005 00:55:25 -0700
Received: from diziet.irb.hr (diziet.irb.hr [])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j8D7tDOP024226;
	Tue, 13 Sep 2005 09:55:13 +0200
Received: from diziet.irb.hr (localhost [])
	by diziet.irb.hr (8.13.4/8.13.4/Debian-4) with ESMTP id j8D7tLv2029532;
	Tue, 13 Sep 2005 09:55:21 +0200
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.4/8.13.4/Submit) id j8D7tLkm029530;
	Tue, 13 Sep 2005 09:55:21 +0200
Date: Tue, 13 Sep 2005 09:55:21 +0200
From: Matej Vela <vela@debian.org>
To: 77389-done@bugs.debian.org, 88529-done@bugs.debian.org,
        101199-done@bugs.debian.org, 107702-done@bugs.debian.org,
        107721-done@bugs.debian.org, 138817-done@bugs.debian.org,
        144307-done@bugs.debian.org, 158694-done@bugs.debian.org,
        158696-done@bugs.debian.org, 162615-done@bugs.debian.org,
        164531-done@bugs.debian.org, 164532-done@bugs.debian.org,
        246358-done@bugs.debian.org, 246532-done@bugs.debian.org,
        251425-done@bugs.debian.org, 254116-done@bugs.debian.org,
        261829-done@bugs.debian.org, 262905-done@bugs.debian.org,
        293264-done@bugs.debian.org, 293807-done@bugs.debian.org,
        311590-done@bugs.debian.org, 311591-done@bugs.debian.org,
        315516-done@bugs.debian.org, 316658-done@bugs.debian.org,
        319253-done@bugs.debian.org, 326873-done@bugs.debian.org
Subject: diskless removed
Message-ID: <20050913075521.GA1577@diziet.irb.hr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.10i
X-Scanned-By: MIMEDefang 2.51 on
Delivered-To: 138817-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-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 4

diskless has been removed from Debian due to bugginess and lack of
maintenance.  Similar functionality is provided by lessdisks.  For
details, see <http://bugs.debian.org/107808>.

Reply to: