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.trunk.patch
        0.5 kB
        Yakov Markovitch
      2. ts.login.2.0.0.patch
        0.5 kB
        Yakov Markovitch

        Activity

        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.
        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!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development