Your message dated Tue, 10 Jan 2006 19:31:33 +1100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#347318: fai: random lots of bugs
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; 10 Jan 2006 01:54:06 +0000
>From [EMAIL PROTECTED] Mon Jan 09 17:54:06 2006
Return-path: <[EMAIL PROTECTED]>
Received: from 133.105.233.220.exetel.com.au ([220.233.105.133] 
helo=giskard.kumria.com)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ew8i5-0005Q6-Lr
        for [EMAIL PROTECTED]; Mon, 09 Jan 2006 17:54:06 -0800
Received: from [203.7.227.45] (helo=eve.kumria.com ident=Debian-exim)
        by giskard.kumria.com with esmtpa (Exim 4.50)
        id 1Ew8h1-0002Wq-M6; Tue, 10 Jan 2006 12:53:19 +1100
Received: from anand by eve.kumria.com with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1EvxDV-0002FF-I5; Tue, 10 Jan 2006 00:37:45 +1100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Anand Kumria <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Tue, 10 Jan 2006 00:37:45 +1100
X-SA-Exim-Connect-IP: 203.7.227.45
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
Subject: fai: random lots of bugs
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on giskard.kumria.com)
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=-7.3 required=4.0 tests=BAYES_00,DATE_IN_PAST_12_24,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: fai
Version: random lots of bugs
Severity: normal

Hi,

This is just me putting lots of little issues into a bugreport.

1. I couldn't work out what the original error was on about; this is
clearer:

--- subroutines-linux.orig      2006-01-06 12:29:32.000000000 +1100
+++ subroutines-linux   2006-01-09 13:47:24.000000000 +1100
@@ -73,20 +73,34 @@
        echo "Monitoring to server $monserver enabled."
     else
        faimond=0
-       echo "Can't connect daemon on $monserver. Monitoring disabled."
+       echo "Can't connect to monserver on $monserver port 4711.
Monitoring disabled."
     fi
 }


2. Document (somewhere) how to turn off colour

touch $FAINFSROOT/.nocolorlogo (also document it is American and not
English)

3. please use consistent variable in various programs

/usr/sbin/fai refers to $diskvar ($LOGDIR/disk_var.sh)

/usr/sbin/fai then calls 'set_disk_info'

/usr/lib/fai/subroutines-linux calls 'set_disk_info' but internally
refers to $(disk-info) and $diskvar

/usr/sbin/setup_harddisk call it '$FAIOutputFile' which made tracking it
down substanially more difficult

4. It'd be nice if you could include a 'be nice to Xen' option

this would:
        - mv /lib/tls /lib/tls.disabled after construction of the NFS
          root (and/or after upgrades)
        - perhaps generate the /etc/fstab and $LOGDIR/disk_var.sh files
          from the passed in command line; for the moment I do:
     echo "Partitioning local harddisks"
-    [ ! -s $diskvar ] && setup_harddisks -d -X | tee $LOGDIR/format.log
     2>&1
+    #[ ! -s $diskvar ] && setup_harddisks -d -X | tee
$LOGDIR/format.log 2>&1
     # setup_harddisks must create $diskvar file
-    if [ ! -s $diskvar ]; then
-       cat $LOGDIR/format.log
-       sndmon "TASKERROR partition 21"
-       die "setup_harddisks did not create $diskvar file."
-    fi
+    #if [ ! -s $diskvar ]; then
+#      cat $LOGDIR/format.log
+#      sndmon "TASKERROR partition 21"
+#      die "setup_harddisks did not create $diskvar file."
+#    fi
+# For Xen, define things ourselves
+echo "BOOT_DEVICE=/dev/hda" >> $diskvar
+echo "ROOT_PARTITION=/dev/hda1" >> $diskvar
+echo "BOOT_PARTITION=/dev/hda1" >> $diskvar
+echo "SWAPLIST=/dev/hda2" >> $diskvar
+# For Xen, we also need to write out the fstab
+
+echo "# /etc/fstab: static file system information." >> $LOGDIR/fstab
+echo "#" >> $LOGDIR/fstab
+echo "#<file sys>          <mount point>     <type>   <options> <dump>   
<pass>" >> $LOGDIR/fstab
+echo "/dev/hda1       /               ext3 defaults,errors=remount-ro 0 1" >> 
$LOGDIR/fstab
+echo "/dev/hda2       none            swap    sw              0 0" >> 
$LOGDIR/fstab
+echo "proc            /proc           proc    defaults        0 0" >> 
$LOGDIR/fstab

5. note that scripts have to be executable

6. note that scripts are actually pulled into 'fai-do-script' via a
source

7. note that if they want to use 'ifclass' they should also:

'. /usr/lib/fai/subroutines'
 
perhaps 'ifclass' should be a seperate binary?


Thats all for now -- while it may sound like I'm being overly harsh on
you -- I've only just started using FAI.

Cheers,
Anand

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

---------------------------------------
Received: (at 347318-done) by bugs.debian.org; 10 Jan 2006 08:31:47 +0000
>From [EMAIL PROTECTED] Tue Jan 10 00:31:47 2006
Return-path: <[EMAIL PROTECTED]>
Received: from baalzebub.progsoc.uts.edu.au ([138.25.6.16])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EwEux-0005J9-Ci
        for [EMAIL PROTECTED]; Tue, 10 Jan 2006 00:31:47 -0800
Received: from wildfire by baalzebub.progsoc.uts.edu.au with local (Exim 4.50)
        id 1EwEuj-0001Nm-KW; Tue, 10 Jan 2006 19:31:33 +1100
Date: Tue, 10 Jan 2006 19:31:33 +1100
From: Anand Kumria <[EMAIL PROTECTED]>
To: Michael Tautschnig <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#347318: fai: random lots of bugs
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Sender: Anand Kumria <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
X-SA-Exim-Scanned: No (on baalzebub.progsoc.uts.edu.au); SAEximRunCond expanded 
to false
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=-4.0 required=4.0 tests=BAYES_20,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

*shrug*

I was told, on irc, to report my issues via a bug report.

probably it should have gone to the mailing list instead.

On Tue, Jan 10, 2006 at 08:58:05AM +0100, Michael Tautschnig wrote:
> [...]
> [...]
> Write a hook. See 
> http://faiwiki.informatik.uni-koeln.de/index.php/Using_FAI_to_set_up_XEN_domains
> for some more info.

Thanks for the pointer.  Helpful

> [...]
> > 
> > Thats all for now -- while it may sound like I'm being overly harsh on
> > you -- I've only just started using FAI.
> >
> Please do us all a favour and split up your bugreports...

I'll send email instead to the mailing list.

Thanks,
Anand

-- 
 `When any government, or any church for that matter, undertakes to say to
  its subjects, "This you may not read, this you must not see, this you are
  forbidden to know," the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, "If this goes on --"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to