You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/09/16 18:18:13 UTC

Review Request 38436: Extraneous ‘list’ command being invoked through sudo

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38436/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-13116
    https://issues.apache.org/jira/browse/AMBARI-13116


Repository: ambari


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


Diffs
-----

  ambari-agent/conf/unix/ambari-agent f894c8e 

Diff: https://reviews.apache.org/r/38436/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 38436: Extraneous ‘list’ command being invoked through sudo

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38436/#review99234
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Sept. 16, 2015, 4:18 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38436/
> -----------------------------------------------------------
> 
> (Updated Sept. 16, 2015, 4:18 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-13116
>     https://issues.apache.org/jira/browse/AMBARI-13116
> 
> 
> Repository: ambari
> 
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-agent/conf/unix/ambari-agent f894c8e 
> 
> Diff: https://reviews.apache.org/r/38436/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>