Opened 18 years ago
Closed 18 years ago
#80 closed defect (duplicate)
mondorestore segfault
Reported by: | nienberg | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | mondo | Version: | 2.0.9 |
Severity: | minor | Keywords: | |
Cc: |
Description
Admittedly this is a little convoluted, but I can segfault mondorestore with the following procedure:
Make a mondoarchive CD of a system with mdadm raid 1, with hda and hdc drives.
Interactive restore to a system with only one drive hda and a CDrom on hdc.
In the screen to revise the partition layout, select one of the raid partitions md0-2 and click on the Edit button, then the Raid button. A segfault occurs.
This isn't very serious because I'm pretty sure I could still get a successful restore by just deleting the raid partitions, then deleting the physical partitions, then adding a new set for the one drive and continuing with the restore. Alternatively, I could probably manually edit the mountlist file in a second terminal before getting to the mountlist editor screen.
I wonder if mondo should recognize that one of the devs in the mountlist is actually the CDrom from which mondo is running and not display it. It generates a lot of errors like "the partition hdc does not contain a valid filesystem" or some such (from my memory, I didn't write it down).
Already in trac #73