Ignore:
Timestamp:
Jun 19, 2011, 2:13:48 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Revert bad changes made accidentaly on the 2.2.8 branch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/mondorestore/mondo-rstr-tools.c

    r2776 r2833  
    721721run_program_and_log_output("mkdir -p " MNT_RESTORING
    722722                       "/var/run/console", FALSE);
     723/* To support latest Ubuntu where /var is a separate FS Cf: http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2007-04/msg01319.html */
     724run_program_and_log_output("mkdir -p " MNT_RESTORING
     725                       "/var/lock /var/run", FALSE);
    723726run_program_and_log_output("chmod 777 " MNT_RESTORING "/dev/null",
    724727                       FALSE);
     
    20862089                    sprintf(command, "umount " MNT_RESTORING "%s",
    20872090                            mountlist->el[lino].mountpoint);
    2088 
    2089                     /* To support latest Ubuntu where /var is a separate FS
    2090                      * Cf: http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2007-04/msg01319.html
    2091                      * we need to create some dirs under the real / before unmounting it */
    2092                     if (!strcmp(mountlist->el[lino].mountpoint, "/")) {
    2093                         run_program_and_log_output("mkdir -p " MNT_RESTORING "/var/lock", FALSE);
    2094                         run_program_and_log_output("mkdir -p " MNT_RESTORING "/var/run", FALSE);
    2095                     }
    20962091                }
    20972092            }
Note: See TracChangeset for help on using the changeset viewer.