Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-20131

Installing system fails if you have a user called hpcc-dev

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Init system
    • Labels:

      Description

      The code

      groupNum=`grep -w ${user} /etc/passwd  | cut -d ':' -f 4`
      group=`grep -w ${groupNum} /etc/group | cut -d ':' -f 1`
      

      in install-init.in goes wrong of the first grep expression matches more than one user - in my case I had a user hpcc-dev on the box.

      probably needs to say grep -f ^${user}:

        Attachments

          Activity

            People

            • Assignee:
              Michael-Gardner Michael Gardner
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: