Your message dated Tue, 01 Nov 2005 11:47:13 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#335870: fixed in ltsp 0.58debian3
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; 26 Oct 2005 12:13:08 +0000
>From [EMAIL PROTECTED] Wed Oct 26 05:13:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gateway.bzzware.org [212.125.240.90] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EUk9T-0006zO-00; Wed, 26 Oct 2005 05:13:07 -0700
Received: from fajx300.bzzware.org (tunet.bzzware.org [192.168.12.3])
        by gateway.bzzware.org (Postfix) with ESMTP id 8B87BC882
        for <[EMAIL PROTECTED]>; Wed, 26 Oct 2005 14:12:35 +0200 (CEST)
Received: by fajx300.bzzware.org (Postfix, from userid 1000)
        id 4207810394; Wed, 26 Oct 2005 14:12:39 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Finn-Arne Johansen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ltsp-server: ltsp-build-client fails if some options as an empty value
X-Mailer: reportbug 3.8
Date: Wed, 26 Oct 2005 14:12:39 +0200
Message-Id: <[EMAIL PROTECTED]>
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: ltsp-server
Version: 0.58debian2
Severity: normal
Tags: patch

I tried to install using this command-line:
ltsp-build-client \
  --root /opt/ltsp/i386 \
  --mirror file:///cdrom \
  --dist sarge \
  --components "main local" \
  --security-mirror "" \
  --late-packages "kernel-image-2.6-386 kernel-image-netbootable"

This should give me an bootable chroot with a 2.6-kernel
but because of the loop: 
  while [ -n "$1" ] ; do 
    .. 
    test -n "$1" && shift 
  done 

the --late-packages was ignored because of
  --security-mirror ""

I modified the loop to use
  while [ $# -gt 0 ] ; do 
    .. 
    shift 
  done 

Now things work the way I want them

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13-x300
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages ltsp-server depends on:
ii  atftpd                       0.7-7       advanced TFTP server
ii  debootstrap                  0.2.45-0.2  Bootstrap a basic Debian system
ii  netkit-inetd                 0.10-10     The Internet Superserver
ii  nfs-kernel-server            1:1.0.6-3.1 Kernel NFS server support
ii  syslinux                     2.11-0.1    Bootloader for Linux/i386 using MS

-- no debconf information

*** ltsp-build-client.diff
--- /usr/sbin/ltsp-build-client.org     2005-10-26 13:07:01.000000000 +0200
+++ /usr/sbin/ltsp-build-client 2005-10-26 13:59:26.774579215 +0200
@@ -68,34 +68,34 @@
 }
 
 # process commandline arguments
-while [ -n "$1" ]; do
-  case $1 in
+while [ $# -gt 0 ]; do
+  case "$1" in
     --root) ROOT="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --dist) DIST="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --components) COMPONENTS="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --mirror) MIRROR="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --extra-mirror) EXTRA_MIRROR="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --exclude) EXCLUDE="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --security-mirror) SECURITY_MIRROR="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --early-packages) EARLY_PACKAGES="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --late-packages) LATE_PACKAGES="$2"
-      test -n "$1" && shift
+      shift
       ;;
     --help) get_help
       exit 0
@@ -107,7 +107,7 @@
       exit 1
       ;;
   esac
-  test -n "$1" && shift
+  shift
 done
 
 test -z "$ROOT" && ROOT=/opt/ltsp/$(dpkg --print-architecture)

---------------------------------------
Received: (at 335870-close) by bugs.debian.org; 1 Nov 2005 19:48:10 +0000
>From [EMAIL PROTECTED] Tue Nov 01 11:48:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EX26D-0001mm-00; Tue, 01 Nov 2005 11:47:13 -0800
From: Petter Reinholdtsen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#335870: fixed in ltsp 0.58debian3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 01 Nov 2005 11:47:13 -0800
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: ltsp
Source-Version: 0.58debian3

We believe that the bug you reported is fixed in the latest version of
ltsp, which is due to be installed in the Debian FTP archive:

ldm_0.58debian3_all.deb
  to pool/main/l/ltsp/ldm_0.58debian3_all.deb
ltsp-client-builder_0.58debian3_all.udeb
  to pool/main/l/ltsp/ltsp-client-builder_0.58debian3_all.udeb
ltsp-client_0.58debian3_i386.deb
  to pool/main/l/ltsp/ltsp-client_0.58debian3_i386.deb
ltsp-server-standalone_0.58debian3_all.deb
  to pool/main/l/ltsp/ltsp-server-standalone_0.58debian3_all.deb
ltsp-server_0.58debian3_all.deb
  to pool/main/l/ltsp/ltsp-server_0.58debian3_all.deb
ltsp_0.58debian3.dsc
  to pool/main/l/ltsp/ltsp_0.58debian3.dsc
ltsp_0.58debian3.tar.gz
  to pool/main/l/ltsp/ltsp_0.58debian3.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated ltsp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  1 Nov 2005 20:24:31 +0100
Source: ltsp
Binary: ltsp-server ltsp-server-standalone ltsp-client ltsp-client-builder ldm
Architecture: source all i386
Version: 0.58debian3
Distribution: unstable
Urgency: low
Maintainer: Petter Reinholdtsen <[EMAIL PROTECTED]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description: 
 ldm        - LTSP display manager
 ltsp-client - LTSP client environment
 ltsp-client-builder - Build an LTSP environment in the installer target (udeb)
 ltsp-server - Basic LTSP server environment
 ltsp-server-standalone - Complete LTSP server environment
Closes: 335870
Changes: 
 ltsp (0.58debian3) unstable; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Generate simple fstab on the client, to quiet down fsck during boot.
   * Adjust bind-mount config to get X configuration working also when
     xdebconfigurator is not used.
 .
   [ Vagrant Cascadian ]
   * Handle "" commandline parameters.  (Closes: #335870)
Files: 
 a134e10b46c87e2b82c222ec96592533 675 misc optional ltsp_0.58debian3.dsc
 beda8b7ea22561e05ba75fab0bd89a95 137001 misc optional ltsp_0.58debian3.tar.gz
 c7f4e75ef66c685dd68a1d2104cd31cd 18168 misc optional 
ltsp-server_0.58debian3_all.deb
 4655e47c1427625058256efbd74ae366 12368 misc optional 
ltsp-server-standalone_0.58debian3_all.deb
 591cb53a9db5a0ad51a78e1358f7e961 28420 misc optional ldm_0.58debian3_all.deb
 edc3fa6584e50c2b9465895e4adf2cb4 1460 debian-installer optional 
ltsp-client-builder_0.58debian3_all.udeb
 98bd6a32e70ca1079b880b0911df0955 40134 misc optional 
ltsp-client_0.58debian3_i386.deb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDZ8WD20zMSyow1ykRAtPcAJ4hdUJ4DyqVzNyz7RhbHPHcQ7cdCgCffevE
YlBg6RnZWKHkPoSmfUW0+uo=
=pzgR
-----END PGP SIGNATURE-----


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

Reply via email to