Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13116

Extraneous ‘list’ command being invoked through sudo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None

      Description

      When ambari-agent is running as root, all commands should not use sudo, but
      for some reason the 'list' command is falling through and is being run by
      sudo:

      Sep 14 20:26:43 revo1 sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=list
      Sep 14 20:26:43 revo1 sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=list
      Sep 14 20:26:43 revo1 sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=list

        Issue Links

          Activity

          Hide
          aonishuk Andrew Onischuk added a comment -

          Committed to trunk and branch-2.1

          Show
          aonishuk Andrew Onischuk added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-branch-2.1 #540 (See https://builds.apache.org/job/Ambari-branch-2.1/540/)
          AMBARI-13116. Extraneous ‘list’ command being invoked through sudo (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e1efd557e6ba3847298b6211ee4f150ec5565a54)

          • ambari-agent/conf/unix/ambari-agent
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #540 (See https://builds.apache.org/job/Ambari-branch-2.1/540/ ) AMBARI-13116 . Extraneous ‘list’ command being invoked through sudo (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e1efd557e6ba3847298b6211ee4f150ec5565a54 ) ambari-agent/conf/unix/ambari-agent
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3451 (See https://builds.apache.org/job/Ambari-trunk-Commit/3451/)
          AMBARI-13116. Extraneous ‘list’ command being invoked through sudo (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0a204e04f0a2163cc0ade0318ebb7df98770214e)

          • ambari-agent/conf/unix/ambari-agent
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3451 (See https://builds.apache.org/job/Ambari-trunk-Commit/3451/ ) AMBARI-13116 . Extraneous ‘list’ command being invoked through sudo (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0a204e04f0a2163cc0ade0318ebb7df98770214e ) ambari-agent/conf/unix/ambari-agent

            People

            • Assignee:
              aonishuk Andrew Onischuk
              Reporter:
              aonishuk Andrew Onischuk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development