You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2014/03/31 15:04:18 UTC
[jira] [Updated] (AMBARI-5277) Ambari server setup fails to create
custom user if SELinux is installed on Ubuntu
[ https://issues.apache.org/jira/browse/AMBARI-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitaly Brodetskyi updated AMBARI-5277:
--------------------------------------
Attachment: AMBARI-5277.patch
> Ambari server setup fails to create custom user if SELinux is installed on Ubuntu
> ---------------------------------------------------------------------------------
>
> Key: AMBARI-5277
> URL: https://issues.apache.org/jira/browse/AMBARI-5277
> Project: Ambari
> Issue Type: Task
> Components: agent
> Affects Versions: 1.5.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Fix For: 1.6.0
>
> Attachments: AMBARI-5277.patch
>
>
> When SELinux is present on the system, ambari-server setup command fails to create a new user.
> {quote}
> \# ambari-server setup
> Using python /usr/bin/python
> Setup ambari-server
> Checking SELinux...
> SELinux status is 'disabled'
> Ambari-server daemon is configured to run under user 'ret'. Change this setting [y/n] ( n )? y
> Enter user account for ambari-server daemon (root):fer
> ERROR: Failed: <attribute 'message' of 'exceptions.BaseException' objects>
> ERROR: Exiting with exit code 4.
> REASON: Failed to create user. Exiting.
> {quote}
> And there is no difference in state of SELinux - they can be disabled or enabled, same error appears anyway.
--
This message was sent by Atlassian JIRA
(v6.2#6252)