ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <>
Subject [jira] [Created] (AMBARI-10841) If /selinux/enforce file exists with value 0 cluster deployment fails
Date Wed, 29 Apr 2015 16:50:06 GMT
Vitaly Brodetskyi created AMBARI-10841:

             Summary: If /selinux/enforce file exists with value 0 cluster deployment fails
                 Key: AMBARI-10841
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Vitaly Brodetskyi
            Assignee: Vitaly Brodetskyi
            Priority: Critical
             Fix For: 2.1.0

If file {{/selinux/enforce}} exists with value 0, then service starts fail with the error:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 214, in execute
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/",
line 32, in hook
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/",
line 32, in setup_hadoop
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 118,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
274, in action_run
    raise ex
Fail: Execution of 'setenforce 0' returned 1. setenforce: SELinux is disabled

This message was sent by Atlassian JIRA

View raw message