Looks Like New Changes To 'install' Break Mergemaster

Tim Daneliuk tundra at tundraware.com
Sun Mar 17 19:52:38 UTC 2013


On 03/17/2013 02:36 PM, Tim Daneliuk wrote:
> $ mergemaster -Fi
>
> *** The directory specified for the temporary root environment,
>      /var/tmp/temproot, exists.  This can be a security risk if untrusted
>      users have access to the system.
>
>    Use 'd' to delete the old /var/tmp/temproot and continue
>    Use 't' to select a new temporary root directory
>    Use 'e' to exit mergemaster
>
>    Default is to use /var/tmp/temproot as is
>
> How should I deal with this? [Use the existing /var/tmp/temproot] d
>
>     *** Deleting the old /var/tmp/temproot
>
> *** Creating the temporary root environment in /var/tmp/temproot
>   *** /var/tmp/temproot ready for use
>   *** Creating and populating directory structure in /var/tmp/temproot
>
> install: illegal option -- l
> usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>                 [-o owner] file1 file2
>         install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>                 [-o owner] file1 ... fileN directory
>         install -d [-v] [-g group] [-m mode] [-o owner] directory ...
>
>    *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
>        the temproot environment
>


More specifically, running 'sh -x mergemaster' show us this:


> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


+ cd /usr/src
+ od=/var/tmp/temproot/usr/obj
+ make -m /usr/src/share/mk DESTDIR=/var/tmp/temproot distrib-dirs
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk _obj SUBDIR_OVERRIDE=etc
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk everything SUBDIR_OVERRIDE=etc
+ MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk DESTDIR=/var/tmp/temproot distribution
install: illegal option -- l
usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 file2
        install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 ... fileN directory
        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
+ echo ''

+ echo '  *** FATAL ERROR: Cannot '\''cd'\'' to /usr/src and install files to'
   *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
+ echo '      the temproot environment'
       the temproot environment
+ echo ''

+ exit 1



-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the freebsd-questions mailing list