Opened 13 years ago

Closed 13 years ago

#492 closed defect (fixed)

mindi 2.0.7.9 rev 2858 doesn't return the kernel.

Reported by: victor gattegno Owned by: Victor Gattegno
Priority: high Milestone: 3.0.0
Component: mindi Version: 2.2.9.7
Severity: major Keywords: mindi kernel
Cc: victor.gattegno@…, bruno.cornec@…

Description

I found a bug in /usr/sbin/mindi 2.0.7.9 rev 2858

The line 2901 of /usr/sbin/mindi should be deleted It contains: "fi", that fi should not exist there.

This is the proof:

# mindi --findkernel
OK, I used my initiative and found that
/boot/vmlinuz-2.6.18-128.el5 is probably your kernel.
# echo $?
255

It did found the kernel but it did not return it.

If i deleted the fi of line 2901, it finds the kernel AND it returns it :

# mindi --findkernel
OK, I used my initiative and found that
/boot/vmlinuz-2.6.18-128.el5 is probably your kernel.
/boot/vmlinuz-2.6.18-128.el5
/boot/vmlinuz-2.6.18-128.el5
# echo $?
0

Change History (4)

comment:1 by victor gattegno, 13 years ago

mindi 2.0.7.9 rev 2858 source can be checked here: http://trac.mondorescue.org/browser/branches/2.2.9/mindi/mindi

comment:2 by victor gattegno, 13 years ago

I forgot to say that it impacts mondoarchive, which fails with: "---FATALERROR--- Kernel not found" if mindi is not modified.

comment:3 by Bruno Cornec, 13 years ago

Fixed in rev [2860]

comment:4 by Bruno Cornec, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.