Traffic Server
  1. Traffic Server
  2. TS-420

TS fails to use user ID with user name longer than 8 characters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.1.0, 2.0.1, 2.0.0
    • Fix Version/s: 2.1.3
    • Component/s: Core
    • Labels:
      None
    • Environment:

      OpenSUSE Linux 11.3
      Kernel 2.6.34-12 64-bit

      Description

      Attempt to configure proxy.config.admin.user_id with username of length longer than 8 characters causes TS to fail at startup. TS fails attempting to change uid using the first 8 characters of the username.

      E.g. (from records.config):
      CONFIG proxy.config.admin.user_id STRING bandersnatch

      TS fails with message:
      FATAL: Can't find entry in password file for user: bandersn

      1. ts.login.2.0.0.patch
        0.5 kB
        Yakov Markovitch
      2. ts.login.trunk.patch
        0.5 kB
        Yakov Markovitch

        Activity

        Yakov Markovitch created issue -
        Hide
        Yakov Markovitch added a comment -

        Attached patches against 2.0.0 and trunk that fix this bug.

        Show
        Yakov Markovitch added a comment - Attached patches against 2.0.0 and trunk that fix this bug.
        Yakov Markovitch made changes -
        Field Original Value New Value
        Attachment ts.login.trunk.patch [ 12452638 ]
        Attachment ts.login.2.0.0.patch [ 12452637 ]
        Leif Hedstrom made changes -
        Fix Version/s 2.1.2 [ 12315091 ]
        Leif Hedstrom made changes -
        Assignee Leif Hedstrom [ zwoop ]
        Leif Hedstrom made changes -
        Fix Version/s 2.1.3 [ 12315273 ]
        Fix Version/s 2.1.2 [ 12315091 ]
        Hide
        Leif Hedstrom added a comment -

        Checked in on trunk. If you feel this needs to be backported to 2.0.x as well, please let us know by reopening this bug, and we'll start the "vote" process on the STATUS file for the 2.0.x branch.

        Thanks for the patch!

        Show
        Leif Hedstrom added a comment - Checked in on trunk. If you feel this needs to be backported to 2.0.x as well, please let us know by reopening this bug, and we'll start the "vote" process on the STATUS file for the 2.0.x branch. Thanks for the patch!
        Leif Hedstrom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12518517 ] TS Workflow [ 12522672 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7d 1h 27m 1 Leif Hedstrom 27/Aug/10 16:58
        Resolved Resolved Closed Closed
        150d 12h 7m 1 Leif Hedstrom 25/Jan/11 05:06

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            Yakov Markovitch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development