Traffic Server
  1. Traffic Server
  2. TS-15

User nobody / group nobody might not exist

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0a
    • Component/s: Build
    • Labels:
      None

      Description

      The user nobody, or group nobody, might not exist on some system, causing "make install" to fail. We should check for some common alternatives here, and/or provide switches to configure to specify which user and group to use (two switches). For example, on Ubuntu the user "nobody" is a member of the group "nogroup", causing our install breaks.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          77d 9h 24m 1 George Paul 21/Jan/10 18:29
          Resolved Resolved Closed Closed
          215d 8h 21m 1 Leif Hedstrom 25/Aug/10 02:50
          Gavin made changes -
          Workflow jira [ 12481280 ] TS Workflow [ 12522526 ]
          Leif Hedstrom made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          George Paul made changes -
          Link This issue relates to TS-348 [ TS-348 ]
          Leif Hedstrom made changes -
          Fix Version/s 2.0.0a [ 12314343 ]
          Fix Version/s 2.0.0 [ 12314484 ]
          George Paul made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.0 [ 12314484 ]
          Resolution Fixed [ 1 ]
          Hide
          George Paul added a comment -

          This patch 'TS-15_user_patch1.diff' has been committed to the traffic server 'trunk' and 'dev' branches. Tested on ubuntu804 and fedora11.
          -George

          Show
          George Paul added a comment - This patch ' TS-15 _user_patch1.diff' has been committed to the traffic server 'trunk' and 'dev' branches. Tested on ubuntu804 and fedora11. -George
          Hide
          George Paul added a comment -

          This patch 'TS-15_user_patch1.diff' has been committed to traffic server 'dev' branch.
          -George

          Show
          George Paul added a comment - This patch ' TS-15 _user_patch1.diff' has been committed to traffic server 'dev' branch. -George
          George Paul made changes -
          Assignee George Paul [ georgep ]
          George Paul made changes -
          Field Original Value New Value
          Attachment TS-15_user_patch1.diff [ 12429094 ]
          Hide
          George Paul added a comment -

          This patch 'TS-15_user_patch1.diff' is a modified patch of 'fix-nobody-user.patch' submitted by 'mturk@apache.org' and updates TrafficCop.cc and RecordsConfig.cc also. By default the $pkgsysuser and $pkgsysgroup is the current user doing the build. To enable a different system user and group use the '-with-user=<newuser>' and '-with-group=<newgroup>' options with 'configure'.

          patch -p0 -i TS-15_user_patch1.diff

          thanks to 'mturk@apache.org' for the original patch.

          Tested on Ubuntu-8.04. Please review and let me know if there are any issues.

          cheers,

          -George

          Show
          George Paul added a comment - This patch ' TS-15 _user_patch1.diff' is a modified patch of 'fix-nobody-user.patch' submitted by 'mturk@apache.org' and updates TrafficCop.cc and RecordsConfig.cc also. By default the $pkgsysuser and $pkgsysgroup is the current user doing the build. To enable a different system user and group use the '- with-user=<newuser>' and ' -with-group=<newgroup>' options with 'configure'. patch -p0 -i TS-15 _user_patch1.diff thanks to 'mturk@apache.org' for the original patch. Tested on Ubuntu-8.04. Please review and let me know if there are any issues. cheers, -George
          Hide
          Nuno Fernandes added a comment -

          I can confirm that this problems exists in Mandriva 2010 distribution as the nobody user maps to nogroup.

          Show
          Nuno Fernandes added a comment - I can confirm that this problems exists in Mandriva 2010 distribution as the nobody user maps to nogroup.
          Hide
          Paul Querna added a comment -

          recent versions of httpd have used the 'daemon' user/group by default, which AFAIK, exists on... every unixy OS?

          Show
          Paul Querna added a comment - recent versions of httpd have used the 'daemon' user/group by default, which AFAIK, exists on... every unixy OS?
          Hide
          Bryan Call added a comment -

          We should add a defines to specify the default user and group. Then they can be overridden during configure.

          The defines should be:
          TS_SERVER_USER
          TS_INSTALL_USER
          TS_INSTALL_GROUP

          Show
          Bryan Call added a comment - We should add a defines to specify the default user and group. Then they can be overridden during configure. The defines should be: TS_SERVER_USER TS_INSTALL_USER TS_INSTALL_GROUP
          Leif Hedstrom created issue -

            People

            • Assignee:
              George Paul
              Reporter:
              Leif Hedstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development