Your message dated Sun, 24 Dec 2006 08:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#404315: fixed in mindi 2.20-2
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)

--- Begin Message ---
Package: mindi                                                                  
                                                                                
        
Version: 2.20-1                                                                 
                                                                                
        
Severity: important

Mindi has support for detecting LABEL= syntax in /etc/fstab, however it is
not working on Debian, because of path to cut(1) is not "/bin/cut" but
"/usr/bin/cut". 

So if you use LABEL= syntax, mindi does not run at all.

detailed error log is available at:
http://sourceforge.net/mailarchive/message.php?msg_id=37518492

The attached patch (which removes the hardcoded path) fixes the problem.
(and has been accepted in upstream)

-- 
Opinions above are GNU-copylefted.
--- mindi.ok2   2006-11-25 13:10:24.000000000 +0100
+++ mindi       2006-11-25 13:10:36.000000000 +0100
@@ -1357,7 +1357,7 @@
                # current_partition contains only first column of /etc/fstab
                if [ "`echo "$current_partition" | /bin/grep -i "LABEL="`" != 
"" ]; then
                        str_to_find_fmt_with=$current_partition
-                       redhat_label=`echo "$current_partition" | /bin/cut 
-d'=' -f2`
+                       redhat_label=`echo "$current_partition" | cut -d'=' -f2`
                        actual_dev=""
 
                        # 1st try, findfs - the RHEL way of finding labels and 
their partitions
@@ -1367,7 +1367,7 @@
        
                        # 2nd try : blkid, the good way for all LABEL except 
swap
                        if [ "x$actual_dev" = "x" -a -x "/sbin/blkid" ]; then
-                               actual_dev=`/sbin/blkid | /bin/grep 
"$redhat_label" | grep LABEL= | /bin/cut -d':' -f1`
+                               actual_dev=`/sbin/blkid | /bin/grep 
"$redhat_label" | grep LABEL= | cut -d':' -f1`
                                # For LVM FS it will give a /dev/dm-# which 
should then be converted
                                if [ $LVM = "v2" ] && [ "`echo $actual_dev | 
grep '/dev/dm'`" ]; then
                                        major=`/bin/ls -l $actual_dev | awk 
'{print $5}'`
@@ -1386,7 +1386,7 @@
                        # 3rd try, which works on a standard partition 
(ext2/3), but not on swap
                        # For LVM gives a /dev/mapper entry 
                        if [ "x$actual_dev" = "x" ]; then
-                               actual_dev=`/bin/mount -l | /bin/grep 
"\[$redhat_label\]" | /bin/cut -d' ' -f1`
+                               actual_dev=`/bin/mount -l | /bin/grep 
"\[$redhat_label\]" | cut -d' ' -f1`
                        fi
        
                        # 4th try, with vol_id 

--- End Message ---
--- Begin Message ---
Source: mindi
Source-Version: 2.20-2

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

mindi_2.20-2.diff.gz
  to pool/main/m/mindi/mindi_2.20-2.diff.gz
mindi_2.20-2.dsc
  to pool/main/m/mindi/mindi_2.20-2.dsc
mindi_2.20-2_amd64.deb
  to pool/main/m/mindi/mindi_2.20-2_amd64.deb



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.
Andree Leidenfrost <[EMAIL PROTECTED]> (supplier of updated mindi 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: Sun, 24 Dec 2006 08:03:53 +1100
Source: mindi
Binary: mindi
Architecture: source amd64
Version: 2.20-2
Distribution: unstable
Urgency: high
Maintainer: Andree Leidenfrost <[EMAIL PROTECTED]>
Changed-By: Andree Leidenfrost <[EMAIL PROTECTED]>
Description: 
 mindi      - creates boot/root disks based on your system
Closes: 403454 404315
Changes: 
 mindi (2.20-2) unstable; urgency=high
 .
   * Explicitly create a temporary directory for use by mindi to avoid
     mindi completely removing the /home directory under some
     circumstances. (Thank you Bruno Cornec & Matija Nalis for the
     patch!) (Closes: #403454.)
   * Replace hard-coded occurrences of /bin/cut to fix fstab label
     handling in mindi. (Thank you Matija Nalis for the patch!)
     (Closes: #404315.)
Files: 
 b354f3dc65ecd2ffc73a081b9e2e0999 611 utils optional mindi_2.20-2.dsc
 5552a0aa451032924293426eda2b0d44 19501 utils optional mindi_2.20-2.diff.gz
 c0367aedfe58a250560e62a8c41d8eba 155544 utils optional mindi_2.20-2_amd64.deb

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

iD8DBQFFjakSiLvX3b2IzawRAoc+AJ4xE3ajOlKEgacqJh2LpNHD3bay4gCgp+Kz
IyY4anO7MazSn72/Qi/Ci1s=
=/k9I
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to