Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D60E17DEE for ; Wed, 29 Apr 2015 16:50:07 +0000 (UTC) Received: (qmail 23060 invoked by uid 500); 29 Apr 2015 16:50:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 23032 invoked by uid 500); 29 Apr 2015 16:50:07 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 23012 invoked by uid 99); 29 Apr 2015 16:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 16:50:07 +0000 Date: Wed, 29 Apr 2015 16:50:06 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-10841) If /selinux/enforce file exists with value 0 cluster deployment fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vitaly Brodetskyi created AMBARI-10841: ------------------------------------------ Summary: If /selinux/enforce file exists with value 0 cluster deployment fails Key: AMBARI-10841 URL: https://issues.apache.org/jira/browse/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: {noformat} Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 32, in hook setup_hadoop() File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py", line 32, in setup_hadoop sudo=True, File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 274, in action_run raise ex Fail: Execution of 'setenforce 0' returned 1. setenforce: SELinux is disabled {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)