Hadoop Common
  1. Hadoop Common
  2. HADOOP-7811

TestUserGroupInformation#testGetServerSideGroups test fails in chroot

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 0.23.1
    • Component/s: security, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      It is common when running in chroot to have root's group vector preserved when running as your self.

      For example

      1. Enter chroot
        $ sudo chroot /myroot
      1. still root
        $ whoami
        root
      1. switch to user preserving root's group vector
        $ sudo -u user -P -s
      1. root's groups
        $ groups root
        a b c
      1. user's real groups
        $ groups user
        d e f
      1. user's effective groups
        $ groups
        a b c d e f
        -------------------------------
      1. HADOOP-7811.patch
        0.9 kB
        Jonathan Eagles

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mahadev konar made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.23.1 [ 12318884 ]
        Jonathan Eagles made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jonathan Eagles made changes -
        Field Original Value New Value
        Attachment HADOOP-7811.patch [ 12503131 ]
        Jonathan Eagles created issue -

          People

          • Assignee:
            Jonathan Eagles
            Reporter:
            Jonathan Eagles
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development