ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 19840: Ambari server setup fails to create custom user if SELinux is installed on Ubuntu
Date Mon, 31 Mar 2014 14:40:51 GMT

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

Ship it!


Ship It!

- Dmytro Sen


On March 31, 2014, 1:07 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19840/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 1:07 p.m.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-5277
>     https://issues.apache.org/jira/browse/AMBARI-5277
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari-server.py 8c81a73 
> 
> Diff: https://reviews.apache.org/r/19840/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message