Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176738

Summary: MondoRescue re-activation in gentoo
Product: Gentoo Linux Reporter: Bruno Cornec <bruno>
Component: New packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, cancellettopugno, fauli, maintainer-wanted, mvolaski, robert.miesen, ts77
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Modified mindi-busybox ebuild to link page.h to /usr/src/linux
9 screenshots of qemu 64 bit vm
attachment 1: host log
attachment 2: guest hosed
backup and VM boot log

Description Bruno Cornec 2007-05-01 22:36:39 UTC
Hello,

I'd like to submit new version of mondo/mindi/mindi-busybox for gentoo (as been masked for a while)
I'm now the new maintainer and want to provide regularly ebuild for the project.
Latest versions are available at : ftp://ftp.mondorescue.org/gentoo/1.6

Cf: 
http://bugs.gentoo.org/show_bug.cgi?id=79262
http://bugs.gentoo.org/show_bug.cgi?id=84106
http://bugs.gentoo.org/show_bug.cgi?id=106497
http://bugs.gentoo.org/show_bug.cgi?id=176443
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 22:36:35 UTC
*** Bug 84106 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Seifert 2007-10-11 17:19:54 UTC
devs, is there anything missing to get this back into portage?
Its been quite some months without any comment on this :(.
Comment 3 Talamona Francesco 2007-10-12 05:15:19 UTC
The 2.2.4 version is usable with a little tweaking, those are the things I remember are needed:

1) rename mondo ebuild to mondo-rescue (already reported upstream and scheduled for next release)

2) replace app-cdr/cdrtools with virtual/cdrtools

3) add parted in RDEPEND for mondo-archive (reported upstream, IIRC was then added to mindi ebuild)

4) modify mindi-busybox to make it compile with recent sys-apps/util-linux.
It needs page.h, is affected by bug 168599 (see comment 2).

In x86 arch it can compile, backup and restore (not tested by me), in amd64 it can compile and backup, but ISO created are a little tricky to use due to a bug, many symlinks aren't recreated, so many binaries fail to run. I wasn't able to debug this (yet).
Comment 4 Talamona Francesco 2007-10-12 05:19:11 UTC
Created attachment 133233 [details]
Modified mindi-busybox ebuild to link page.h to /usr/src/linux

Tested with x86 and amd64, please check and report back.
Comment 5 Wolfram Schlich (RETIRED) gentoo-dev 2008-01-23 08:48:48 UTC
Hey Bruno,

is your offer still valid?
If yes, have you incorporated the fixes from Talamona Francesco?
I am thinking about proxy-maintaining mondo-rescue, that means
I'll commit ebuilds that you provide if they compile cleanly...

Thanks,
Wolfram
Comment 6 Talamona Francesco 2008-01-23 19:49:32 UTC
Now the installation process is smooth, just download the ebuilds from the folder /gentoo/nover/test (for example from the italian mirror: http://www.dcl-arch.it/pub/mondorescue/gentoo/nover/test/) digest and unmask them.

The backup is working too. 

I'm having some hiccups at restore, which I'm going to report to the mondo rescue mailing list, maybe for an x86 arch it can run to completion.
Comment 7 Bruno Cornec 2008-01-23 22:59:05 UTC
Hello Wolfram,

My Offer is still valid.
I integrated most of Francesco patches and even had a report from him today, with new bugs to fix ;-)

Compilation isn't an issue anymore. There are still issues to solve at restore time, but gentoo isn't alone here !
Francesco, you may want to try with the previous ebuild of mindi-busybox (compiled statically) that should solve your issue in the mean time.

So if you agree to proxy the ebuilds, that's ok for me.

Bruno.
Comment 8 Wolfram Schlich (RETIRED) gentoo-dev 2008-01-25 20:37:25 UTC
Ok, so which ebuilds should I use?
ftp://ftp.mondorescue.org/gentoo/nover/test or
ftp://ftp.mondorescue.org/gentoo/1.6 ?
Comment 9 Bruno Cornec 2008-02-03 05:57:56 UTC
(In reply to comment #8)
> Ok, so which ebuilds should I use?

ftp://ftp.mondorescue.org/gentoo/nover/test is indeed the right one, as 2.2.5 is still in beta stage.
Once 2.2.5 becomes final, which shouldn't be too long, then the URL will be ftp://ftp.mondorescue.org/gentoo/nover




Comment 10 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-05 00:15:32 UTC
Bruno:

03-05 00:53 --> I have some questions about your mondo ebuilds
03-05 00:54 --> currently, there are app-backup/mondo-rescue, sys-apps/mindi and sys-apps/mindi-kernel in gentoo portage. at ftp://ftp.mondorescue.org/gentoo/nover/test,
                there are mondo, mondo-rescue, mindi and mindi-busybox
03-05 00:55 --> I guess mondo and mondo-rescue are the same and they just have another name
03-05 00:55 --> but what about mindi-kernel (which seems to be gone) and mindi-busybox (which seems to be new)?
03-05 01:11 --> so you're gone again
03-05 01:11 --> *sigh*
Comment 11 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-13 11:25:20 UTC
ok, so I just committed these package:
=app-backup/mondo-rescue-2.2.5
=sys-apps/mindi-2.0.0
=sys-apps/mindi-busybox-1.7.3
they are still package.mask'ed though.
can someone please review/test them and report? thanks!
Comment 12 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-23 10:18:36 UTC
(In reply to comment #11)
> ok, so I just committed these package:
> =app-backup/mondo-rescue-2.2.5
> =sys-apps/mindi-2.0.0
> =sys-apps/mindi-busybox-1.7.3
> they are still package.mask'ed though.
> can someone please review/test them and report? thanks!

Nobody? :(
Comment 13 Talamona Francesco 2008-03-30 14:36:34 UTC
They do compile, install and backup.

I'am unable to do a restore booting a virtual machine with the iso created, it seems it doesn't contain the binaries needed to restore.

I've made some screenshot of various warning messages during boot, should I attach them to this bug report?
Comment 14 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-30 21:16:06 UTC
(In reply to comment #13)
> They do compile, install and backup.
> 
> I'am unable to do a restore booting a virtual machine with the iso created, it
> seems it doesn't contain the binaries needed to restore.
> 
> I've made some screenshot of various warning messages during boot, should I
> attach them to this bug report?

Sure...
Bruno, can you please have a look when the screenshots are here? Thanks.
Comment 15 Talamona Francesco 2008-03-31 06:04:17 UTC
Created attachment 147770 [details]
9 screenshots of qemu 64 bit vm

The zip contains the screenshots taken during boot a short after, with a little comment and the command used to run the backup.
Comment 16 Bruno Cornec 2008-03-31 07:53:20 UTC
Thanks for the report. Could you also attach your /var/log/mondoarchive.log from the original system, and also, if possible the /var/log/mondorestore.log on the restored sustem (USB should work)
Comment 17 Talamona Francesco 2008-03-31 17:59:56 UTC
Created attachment 147871 [details]
attachment 1 [details]: host log

I can provide this one
Comment 18 Talamona Francesco 2008-03-31 18:04:26 UTC
Created attachment 147875 [details]
attachment 2 [details]: guest hosed

I'm unable to mount an USB key. So no log provided :-(

Feel free to ask for more file/tests
Comment 19 Talamona Francesco 2008-03-31 18:07:22 UTC
I created a little confusion using the reserver word "attachment", sorry
Comment 20 Bruno Cornec 2008-04-01 00:14:16 UTC
Ok, you're using an old test version I made during the 2.2.5 beta phase. Now the official 2.2.5 is out and normally the bug you're encoutering was fixed by that revision:

r1883 | bruno | 2008-02-06 10:13:31 +0100 (mer, 06 fév 2008) | 2 lines
Chemins modifiés :
   M /branches/2.2.5/mindi/mindi

ReadAllLink rewritten again to try to fix bug reports on ML. Needs more tests.

Current rev is 1892
Could you please retry with the version available at:
ftp://ftp.mondorescue.org/gentoo/nover
Comment 21 Talamona Francesco 2008-04-02 19:18:28 UTC
Created attachment 148125 [details]
backup and VM boot log

I upgraded to latest mindi version, and these are the requested logs. It took a lifetime to boot qemu with USB and then the key wasn't recognized as a block device... Good old floppy images came to the rescue :-)
Comment 22 Talamona Francesco 2008-04-11 17:31:38 UTC
Any comments?
Comment 23 Bruno Cornec 2008-04-14 12:12:46 UTC
The errors I see in your logs are the following:

Making 16384KB boot disk...............cp: cannot overwrite directory `./lib' with non-directory
udev device manager found
cp: cannot overwrite directory `./lib' with non-directory

This one is mindi's fault. I'm working on it at the moment.

And:
mkfs.vfat 2.11 (12 Mar 2005)
Syntax error at line 3 column 0 in file /etc/mtools/mtools.conf: unrecognized keyword

this one is not mindi's fault.

Comment 24 Talamona Francesco 2008-04-14 17:07:28 UTC
(In reply to comment #23)
> And:
> mkfs.vfat 2.11 (12 Mar 2005)
> Syntax error at line 3 column 0 in file /etc/mtools/mtools.conf: unrecognized
> keyword
> 
> this one is not mindi's fault.

It's because of mtoolstest, it found mtools.conf unconfigured. Is it relevant? Should I provide more logs, now that mtoolstest is ok, or I have to wait while you work on the other issue?
Comment 25 Bruno Cornec 2008-04-17 07:43:03 UTC
Hello,

I've been able to reproduce and fix the issue mentioned here.
Could you test it's also fixed for you ?

ebuilds are here:
ftp://ftp.mondorescue.org/gentoo/nover/test/mondo-2.2.6.ebuild
ftp://ftp.mondorescue.org/gentoo/nover/test/mindi-2.0.2.ebuild

Thanks for your patience and work on this.
Bruno.
Comment 26 Talamona Francesco 2008-04-17 18:54:31 UTC
It works great (after renaming mondo to mondo-rescue!). I was able to install, make it run, and to compare and nuke the virtual machine: success!
Thanks.
Comment 27 Bruno Cornec 2008-04-18 00:08:42 UTC
Wolfram it's up to you :-)