Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-327

shell scripts failed to run on Solaris 8 (and probably other non recent UNIX)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • replication (scripts)
    • None

    Description

      There are several places where commands used are incompatible with older UNIX versions, even though these capabilities are present. There are ways to rewrite the shell scripts to be compatible with these older versions.

      The first example is the use of pgrep. Older machines will have grep, egrep and fgrep, but NOT pgrep. I've been doing UNIX for well over a decade and never heard of pgrep, although it is installed on my home server apparently.

      There are also enhancements like the use of 'cp -l'. This could be accomplished with the 'ln' command instead on older UNIX versions. Since it's also used recursively in snapshooter, which 'ln' doesn't support, it makes the command more complex.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paulsundling Paul Sundling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: