Your message dated Tue, 13 Sep 2005 09:55:21 +0200 with message-id <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] Sun Mar 17 18:07:13 2002 Return-path: <[EMAIL PROTECTED]> Received: from mailout03.sul.t-online.com [194.25.134.81] 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 ([EMAIL PROTECTED]) 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 [127.0.0.1]) 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 [EMAIL PROTECTED]) 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 <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: diskless: eth0 hardcoded in /sbin/init replacement Message-ID: <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Package: diskless Version: 0.3.17 Severity: normal Hi, the diskless-image-* packages have eth0 hardcoded in /sbin/init, which is a problem, if one wants to boot from eth1 :) diskless-image-{simple,secure}/init: 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" ] then echo "Client IP address is $IP" else echo "$0: could not determine IP address. Bailing out." exit 1 fi ----------------------------------------------------------------------------- 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. Cheers, M/ -- 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, [EMAIL PROTECTED] Versions of packages diskless depends on: ii debootstrap 0.1.16.3 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 [EMAIL PROTECTED] Tue Sep 13 00:55:25 2005 Return-path: <[EMAIL PROTECTED]> Received: from mail.irb.hr [161.53.22.8] (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 [161.53.22.31]) 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 [127.0.0.1]) 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 [EMAIL PROTECTED]) 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 <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: diskless removed Message-ID: <[EMAIL PROTECTED]> 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 161.53.22.8 Delivered-To: [EMAIL PROTECTED] 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=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 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>. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]