Bug 197306 - Improve feedback of mergemaster
Summary: Improve feedback of mergemaster
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 02:21 UTC by Kalle Richter
Modified: 2015-02-04 02:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Richter 2015-02-04 02:21:10 UTC
Invoking `mergemaster` fails with the error message `Unknown modifier 't'`. Error messages of such low quality should not be shown to the user. He_she needs to know what went wrong (in which file, etc.) and how to get starting fixing the issue. The complete output of the failing command is:

    # mergemaster

    *** 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] 

       *** Leaving /var/tmp/temproot intact

    *** Creating the temporary root environment in /var/tmp/temproot
     *** /var/tmp/temproot ready for use
     *** Creating and populating directory structure in /var/tmp/temproot

    Unknown modifier 't'

    Syntax error: Unterminated quoted string

      *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
          the temproot environment
Comment 1 Glen Barber freebsd_committer 2015-02-04 02:37:07 UTC
Please provide output of 'uname -aUK'