Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-378

couchdb start-up script breaks on Solaris 10, expects GNU find

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.10
    • 0.11.1, 1.0
    • Infrastructure
    • None
    • Solaris 10

    Description

      If I install couchdb on stock Solaris 10, this happens when trying to start it using command 'couchdb':

      1. couchdb
        find: bad option -mindepth
        find: [-H | -L] path-list predicate-list

      Reason here is that Solaris 10 doesn't ship with GNU find, and Solaris 10's own find doesn't support -mindepth or -maxdepth options. The offending command is in _add_config_dir function. Replacing it with a simple wildcard + test-expression should be trivial. Something along these lines:

      for file in "$1"/*; do
      test -f $file && _add_config_file $file
      done

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              onre Erno Palonheimo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: