You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/07/05 12:00:01 UTC
[jira] [Commented] (AMBARI-21379) Ambari Agent doesn't start as
non-root user with "ambari-agent start" logged in as root
[ https://issues.apache.org/jira/browse/AMBARI-21379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074655#comment-16074655 ]
Hudson commented on AMBARI-21379:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1654 (See [https://builds.apache.org/job/Ambari-branch-2.5/1654/])
AMBARI-21379. Ambari Agent doesn't start as non-root user with (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9cd94a795ad8d5f22135940222f6cdecb9e2b3b3])
* (edit) ambari-agent/etc/init.d/ambari-agent
> Ambari Agent doesn't start as non-root user with "ambari-agent start" logged in as root
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-21379
> URL: https://issues.apache.org/jira/browse/AMBARI-21379
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.5.2
>
> Attachments: AMBARI-21379.patch
>
>
> When running Ambari Server and Agents as non-root user, If I logged in as
> root, then agent process doesn't start with user mentioned in run_as from
> ambari-agent.ini when I run "$ambari-agent start" whereas running "$service
> ambari-agent start" launches the agent process with run_as user.
> Ambari Server doesn't show this behaviour when logged in as root and running
> commands "$ambari-server start" or "$service ambari-server start" always start
> with non-root user.
> Locally tested with Ambari 2.4.2.0 version
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)