Opened 8 years ago

Closed 8 years ago

#492 closed defect (fixed)

mindi 2.0.7.9 rev 2858 doesn't return the kernel.

Reported by: vicgat 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 Changed 8 years ago by vicgat

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 Changed 8 years ago by vicgat

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

comment:3 Changed 8 years ago by bruno

Fixed in rev [2860]

comment:4 Changed 8 years ago by bruno

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.