Changeset 903 in MondoRescue for trunk/mondo


Ignore:
Timestamp:
Oct 25, 2006, 1:49:52 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r862:888 $SVN_M/branches/stable

Location:
trunk/mondo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/ChangeLog

    r794 r903  
    88- Internationalization (A huge thank to rene-marc dolhen <rmd_at_mecreant.org> who achieved that big task)
    99
    10 2.2.0 (2006-09-05)
     102.2.0 (2006-10-04)
     11- start-nfs now exports variables taken from PXE command line to mondo to override parameters during archiving - Fix bug #21 (Bruno Cornec)
     12- Fix for bug #71 mondo now works correctly on x86_64 (Brendan Bouffler/Bruno Cornec)
     13- Fix for bug #4 (B. Baumer)
     14- Fix PXE documentation (Brendan Bouffler)
     15- Attempt to fix bug #25 - bonding support (Michael Shapiro/Bruno Cornec)
     16- Write start and finish time to log - Fix bug #33 (Bruno Cornec)
     17- New mr_stresc function to escape commands submitted to system and fixes [[debianBTS(379966)]] (Andree Leidenfrost)
     18- New files mr_string.c and mr_string.h (v3.0 new organization) (Andree Leidenfrost)
     19- Fix for [[debianBTS(320152)]] display problem in newt (Andree Leidenfrost)
     20- Check for grub.conf being a symbolic link (Andree Leidenfrost)
     21- AFS support (Andree Leidenfrost/Bruno Cornec)
     22- Better post-nuke handling (first steps) (Andree Leidenfrost)
     23- Icon for use in menus (Andree Leidenfrost)
     24- Fix for bug #14 -E switch error (Bruno Cornec)
     25- Fix for bug #6 mondorestore will ask for prefix during selectve restore (Bruno Cornec)
     26- Fix for bug #21 prefix taken from PXE server first (Bruno Cornec)
     27- Fix for bug #24 ps options (Bruno Cornec)
     28>>>>>>> .merge-right.r888
    1129
    12302.0.9 (2006-08-04)
     
    2240- nfsmount option added to allow redeployment from another NFS server (Bruno Cornec)
    2341- This version should work a bit better with files having special char bug #7421 - but more to come (Bruno Cornec)
    24 - Fix Debian Bug #369321 by increasing MAX_TAPECATALOG_ENTRIES to 8192 and bkpinfo->optimal_set_size to 16MB (Andree Leidenfrost)
     42- Fix [[debianBTS(369321)]] by increasing MAX_TAPECATALOG_ENTRIES to 8192 and bkpinfo->optimal_set_size to 16MB (Andree Leidenfrost)
    2543- Fix problem with BurnProof+DVD (Andree Leidenfrost)
    2644- Fix bug #7820: mondo should now support files > 2GB (taps23_at_yahoo.com/Bruno Cornec)
    2745- Replaced all occurrences of egrep with 'grep -E' and of fgrep with 'grep -F' (Andree Leidenfrost)
    28 - Optimize grep usage - fixes Debian bug #222052 (Andree Leidenfrost)
     46- Optimize grep usage - fixes [[debianBTS(222052)]] (Andree Leidenfrost)
    2947- Avoid false alerts about growisofs not running under sudo (Andree Leidenfrost)
    3048- Increase PPCFG_RAMDISK_SIZE to 350 MB (Thomas Börkel/Bruno Cornec)
     
    6886- files > 2GB are now really supported (Andree Leidenfrost)
    6987- new SGML based Mondo Rescue documentation + new Web site (Bruno Cornec/Andree Leidenfrost)
    70 - mondoarchive aborts when 'mindi --findkernel' gives a fatal error (See also Debian bug #352323.) (Andree Leidenfrost)
     88- mondoarchive aborts when 'mindi --findkernel' gives a fatal error (See also [[debianBTS(352323)]].) (Andree Leidenfrost)
    7189- /tmp not excluded anymore from backup (Bruno Cornec)
    7290- New RPM Build environement (Bruno Cornec)
  • trunk/mondo/src/common/libmondo-devices.c

    r900 r903  
    15781578            if (bkpinfo->media_device != NULL) {
    15791579                mr_asprintf(&tmp,
    1580                         _("I think I've found your %s burner at SCSI node %s; am I right on the money? Say no if you have an IDE burner and you are running a 2.6 kernel. Instead, specify the IDE burner's /dev address at the next screen."),
     1580                        _("I think I've found your %s burner at SCSI node %s; Is this correct ? (say no if you have an IDE burner and you are running a 2.6 kernel. You will then be prompted for further details."),
    15811581                        bkpinfo->backup_media_string,
    15821582                        bkpinfo->media_device);
  • trunk/mondo/src/common/libmondo-files.c

    r900 r903  
    11091109        log_to_screen("Found bonding device %s; looking for corresponding ethN slave device\n", nfs_dev);
    11101110        mr_asprintf(&command,
    1111                 "ifconfig %s | awk '{print $5}'", nfs_dev);
     1111                "ifconfig %s | awk '{print $5}' | head -n1", nfs_dev);
    11121112        mac_addr = call_program_and_get_last_line_of_output(command);
    11131113        mr_asprintf(&command,
    1114                 "ifconfig | grep -E '%s' | head -n1  | cut -d' ' -f1", mac_addr);
     1114                "ifconfig | grep -E '%s' | grep -v '%s' | head -n1  | cut -d' ' -f1", mac_addr);
    11151115        mr_free(nfs_dev);
    11161116        nfs_dev = call_program_and_get_last_line_of_output(command);
  • trunk/mondo/src/mondorestore/mondo-rstr-tools.c

    r900 r903  
    793793    char *tmp = NULL;
    794794    char *tmp1 = NULL;
     795    char *envtmp1 = NULL;
     796    char *envtmp2 = NULL;
    795797    char *command = NULL;
    796798    char *iso_mnt = NULL;
     
    854856            /* We need to override prefix value in PXE mode as it's
    855857             * already done in start-nfs */
     858            envtmp1 = getenv("imgname");
     859            if (envtmp1 == NULL) {
     860                fatal_error("no imgname variable in environment");
     861            }
    856862            if (strstr(call_program_and_get_last_line_of_output
    857863               ("cat /proc/cmdline"), "pxe")) {
    858                     strcpy(bkpinfo->prefix,getenv("imgname"));
     864                    mr_allocstr(bkpinfo->prefix,envtmp1);
    859865            }
    860866
     
    985991        /* We need to override values in PXE mode as it's
    986992         * already done in start-nfs */
     993        envtmp1 = getenv("nfsmount");
     994        if (envtmp1 == NULL) {
     995            fatal_error("no nfsmount variable in environment");
     996            }
     997        envtmp2 = getenv("dirimg");
     998        if (envtmp2 == NULL) {
     999            fatal_error("no dirimg variable in environment");
     1000        }
    9871001        if (strstr(call_program_and_get_last_line_of_output
    9881002           ("cat /proc/cmdline"), "pxe")) {
    989                 strcpy(bkpinfo->nfs_mount,getenv("nfsmount"));
    990                 strcpy(bkpinfo->nfs_remote_dir,getenv("dirimg"));
    991             }
     1003                mr_allocstr(bkpinfo->nfs_mount,envtmp1);
     1004                mr_allocstr(bkpinfo->nfs_remote_dir,envtmp2);
     1005        }
    9921006    } else if (bkpinfo->backup_media_type == iso) {
    9931007        /* Patch by Conor Daly 23-june-2004
Note: See TracChangeset for help on using the changeset viewer.