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; 28 Jul 2004 13:15:05 +0000
>From [EMAIL PROTECTED] Wed Jul 28 06:15:05 2004
Return-path: <[EMAIL PROTECTED]>
Received: from prosun.first.gmd.de (prosun.first.fraunhofer.de) [194.95.168.2] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BpoGu-0000Kc-00; Wed, 28 Jul 2004 06:15:04 -0700
Received: from fortknox (localhost [127.0.0.1])
        by prosun.first.fraunhofer.de (8.12.10/8.12.10) with ESMTP id 
i6SDF1f6022132
        for <[EMAIL PROTECTED]>; Wed, 28 Jul 2004 15:15:02 +0200 (MEST)
Received: (qmail 2198 invoked from network); 28 Jul 2004 13:15:10 -0000
Received: from unknown (HELO no.intranet.wo.rk) (194.95.171.58)
  by fortknox.dyndns.org with AES256-SHA encrypted SMTPS
  cert [EMAIL PROTECTED]; 28 Jul 2004 13:15:10 -0000
Received: (nullmailer pid 25686 invoked by uid 1000);
        Wed, 28 Jul 2004 13:14:00 -0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Soeren Sonnenburg <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: package is unusable in its current state
Reply-To: Soeren Sonnenburg <[EMAIL PROTECTED]>
Date: Wed, 28 Jul 2004 15:13:59 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: diskless
Version: 0.3.18.0.5
Severity: grave

We've tried to setup diskless /diskless-image-simple and:

1) There seems to be an inconsistency in the naming scheme. Sometimes
configs are taken from the master from /etc/diskless-host (which does not
                exist) and in some version from /etc/diskless-image... on the 
client
only diskless-image is checked in /sbin/init , so booting a client fails.

2) If one fixes this one realizes that in /sbin/init only the /etc 
filesystem gets mounted all the rest (/dev /var /tmp) the client is 
supposed to deal with via the init.orig , i.e.
/etc/init.d/rcS -> /etc/rcS.d/S35mountall script. However that one does not
mount anything nfs related (nonfs nosmb etc in the very top of that file).
I suggest to mount everything in the /sbin/init wrapper like below (to not
                having to modify the standard S35mountall script etc).
Furthermore the WARNING: master... is almost invisible as the system boots
to fast, so there should be a timeout like the sleep 5 inserted below
(as this is only for administration it won't delay the standard client
 boot process). Also if the /etc/diskless-image/config does not exist or
the system cannot mount any /var /dev /tmp scripts for a client the system
should wait some minutes and then halt instead of go on booting...

---snip---
# Don't do anything special if root is rw (ie master system).
if touch /test-rw 2>/dev/null
then
        rm /test-rw 2>/dev/null
        echo "WARNING: master system installed" >&2
        sleep 5
        exec /sbin/init.orig $*
        echo "FATAL ERROR: exec /sbin/init.orig failed" >&2
        exit 1
fi

# Try and find configuration file
if [ -f /etc/diskless-image/config ]
then
        # Load config file
        . /etc/diskless-image/config

        # Get IP address, need to mount /proc first
        mount -n none /proc -t proc

        IP=`ifconfig | grep -A1 eth0 | grep -v eth0 | sed 's/^.*inet 
addr:\([0-9\.]\+\).*$/\1/'`
        echo "Client IP address is $IP"

        # Mount client's /etc directory
        echo -n "Mounting NFS-root directories..."
        echo -n "etc.."
        mount -n $nfsserver:/$nfshostsdir/$IP/etc /etc -orw,nolock >/dev/null

        # Update entries in /etc/mtab
        rm -f /etc/mtab~ /etc/nologin >/dev/null
        : > /etc/mtab >/dev/null
        mount -o remount / >/dev/null
        mount -o remount /etc >/dev/null
        echo -n "proc.."
        mount -o remount /proc >/dev/null

        echo -n "var.."
        mount $nfsserver:/$nfshostsdir/$IP/var /var -orw,nolock >/dev/null
        echo -n "dev.."
        mount $nfsserver:/$nfshostsdir/$IP/dev /dev -orw,nolock >/dev/null
        echo -n "tmp.."
        mount $nfsserver:/$nfshostsdir/$IP/tmp /tmp -orw,nolock >/dev/null

        # report success
        echo "done."
else
        echo "ERROR: Cannot find image config file"
        echo "       Not mounting NFS-root directories"
fi

# Only should get here if something went wrong
exec /sbin/init.orig $*
echo "FATAL ERROR: exec /sbin/init.orig failed" >&2
exit 1
---snip---


3) On the master: The /usr/lib/diskless-image should clearly go to 
/etc/diskless-image
and the former /etc/diskless-image should stay in /etc/diskless-host, as they 
contain
config files (e.g. templates in /usr/lib/diskless-image/templates).

4) The /lib/modules directory is not client writable thus it should become a
symlink to say /var/lib/modules

4) Furthermore there seems to be no documentation at all. While there is
some xml.gz file in /usr/share/doc... no html/text documentation is generated, 
as install-docs and dhelp are not found in the postinst script.

5) There are many minor issues like /etc/network/interfaces is getting
copied from the master (making the client fail as it gets the wrong network
                settings) which could be fixed by supplying a
template/network/interfaces... Also the diskless-newhost update rules in 
template/config require quite some updates to make certain programs work...

---------------------------------------
Received: (at 261829-done) by bugs.debian.org; 13 Sep 2005 07:55:26 +0000
>From [EMAIL PROTECTED] Tue Sep 13 00:55:26 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: 15

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]

Reply via email to