[Bruno, would be great if you could your feedback on this one (or simply
the thumbs up for SVN if you are happy).]

Hi Al,

Thanks a lot for reporting this issue and sorry for the late response.

I've now had a closer look at this and can confirm the issue you
describe. Whilst your patch (Thanks for that btw.!) does indeed make it
go away, I feel it is a bit too general and may make mindi not give any
messages where it really should. I therefore include an alternative
patch that deals with things a bit more specifically:

I've found that there are actually two separate issues here which the
attached patch deals with explicitly and individually:

1) lvmiopversion is not a symlink and shouldn't be treated as such.

2) pvdata and lvmcreate_initrd simply don't exist in LVM2 simply and 
   thus shouldn't be checked in the first place if we have an LVM2 
   kernel.

Best regards & thanks a lot again,
Andree

On Mon, 2006-02-06 at 21:02 +0300, Al Nikolov wrote:
> Package: mindi
> Version: 1.04-4
> Severity: important
> Tags: patch
> 
> mindi is looking for LVM-Tools resolving symlinks and guessing paths in
> a way that makes me completely messed. In my lvm-200 system, it fails to
> find several utilities which reside in /sbin:
> 
> 
> # mindi
> lilo.real found; will be used instead of lilo (*grumble* *mutter*)
> Changing TMP_ROOT to /home because you're using tmpfs for /tmp
> Mindi Linux mini-distro generator v1.04 by Hugo Rabson
> Latest Mindi is available from http://www.mondorescue.org
> BusyBox sources are available from http://www.busybox.net
> ------------------------------------------------------------------------------
> Do you want to use your own kernel to build the boot disk (y/n) ?y
> Would you like to use LILO (instead of syslinux)
> for your boot CD/floppies (y/n) ?n
> Analyzing dependency requirements                               92%
> |Where are your LVM-Tools? Couldn't find /sbin/lvmcreate_initrd
> Where are your LVM-Tools? Couldn't find /sbin/lvmiopversion
> Where are your LVM-Tools? Couldn't find /sbin/pvdata
> 
> 
> I hope this patch should provide with a safe workaround on this bug.
> 
> -- System Information:
> Debian Release: 3.1
> Architecture: i386 (i686)
> Kernel: Linux 2.6.8-2-686-smp
> Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
> 
> Versions of packages mindi depends on:
> ii  bzip2                     1.0.2-7        high-quality block-sorting file 
> co
> ii  file                      4.12-1         Determines file type using 
> "magic"
> ii  gawk                      1:3.1.4-2      GNU awk, a pattern scanning and 
> pr
> ii  mindi-busybox             1.00-4         Collection of shell utilities in 
> a
> ii  mindi-kernel              2.4.27-2       failsafe Linux kernel for 
> Mindi/Mo
> ii  mindi-partimagehack       0.6.2-4        disk partition imaging utility 
> for
> ii  mkisofs                   4:2.01+01a01-2 Creates ISO-9660 CD-ROM 
> filesystem
> ii  ms-sys                    1.1.3-1        Write a Microsoft compatible 
> boot 
> ii  nano                      1.2.4-5        free Pico clone with some new 
> feat
> ii  parted                    1.6.21-1       The GNU Parted disk partition 
> resi
> ii  syslinux                  2.11-0.1       Bootloader for Linux/i386 using 
> MS
> 
> -- no debconf information
-- 
Andree Leidenfrost
Sydney - Australia

Attachment: mindi_deb#351687.diff
Description: Binary data

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to