Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1950108D9 for ; Thu, 26 Sep 2013 16:32:21 +0000 (UTC) Received: (qmail 19853 invoked by uid 500); 26 Sep 2013 16:32:14 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 19752 invoked by uid 500); 26 Sep 2013 16:32:12 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 19732 invoked by uid 99); 26 Sep 2013 16:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 16:32:12 +0000 Date: Thu, 26 Sep 2013 16:32:12 +0000 (UTC) From: "Erin A Boyd (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-3350) ambari-agent RPM claims ownership of /usr/sbin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erin A Boyd updated AMBARI-3350: -------------------------------- Description: **This also affects trunk** The ambari-agent.spec (generated from rpm-maven-plugin) claims ownership of /usr/sbin, $ grep sbin target/rpm/ambari-agent/SPECS/ambari-agent.spec | grep attr %attr(755,root,root) /usr/sbin This is a problem because the filesystem RPM owns /usr/sbin. According to rpm-maven-plugin documentation[0], this is because the only file under /usr/sbin is ambari-agent and "directoryIncluded If the value is true then the attribute string will be written for the directory if the sources identify all of the files in the directory (that is, no other mapping contributed files to the directory). This is the default behavior." The "no other mapping contributed files to the directory" bit is important. The solution is to add directoryInclude=false to the mapping. [0] http://mojo.codehaus.org/rpm-maven-plugin/map-params.html was: **This also affects trunk** The ambari-server.spec (generated from rpm-maven-plugin) claims ownership of /usr/sbin, $ grep sbin target/rpm/ambari-server/SPECS/ambari-server.spec | grep attr %attr(755,root,root) /usr/sbin This is a problem because the filesystem RPM owns /usr/sbin. According to rpm-maven-plugin documentation[0], this is because the only file under /usr/sbin is ambari-server and "directoryIncluded If the value is true then the attribute string will be written for the directory if the sources identify all of the files in the directory (that is, no other mapping contributed files to the directory). This is the default behavior." The "no other mapping contributed files to the directory" bit is important. The solution is to add directoryInclude=false to the mapping. [0] http://mojo.codehaus.org/rpm-maven-plugin/map-params.html > ambari-agent RPM claims ownership of /usr/sbin > ---------------------------------------------- > > Key: AMBARI-3350 > URL: https://issues.apache.org/jira/browse/AMBARI-3350 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.2.5 > Environment: Fedora 19 > Reporter: Erin A Boyd > Assignee: Erin A Boyd > Fix For: 1.4.2 > > > **This also affects trunk** > The ambari-agent.spec (generated from rpm-maven-plugin) claims ownership of /usr/sbin, > $ grep sbin target/rpm/ambari-agent/SPECS/ambari-agent.spec | grep attr > %attr(755,root,root) /usr/sbin > This is a problem because the filesystem RPM owns /usr/sbin. > According to rpm-maven-plugin documentation[0], this is because the only file under /usr/sbin is ambari-agent and > "directoryIncluded > If the value is true then the attribute string will be written for the directory if the sources identify all of the files in the directory (that is, no other mapping contributed files to the directory). This is the default behavior." > The "no other mapping contributed files to the directory" bit is important. > The solution is to add directoryInclude=false to the mapping. > [0] http://mojo.codehaus.org/rpm-maven-plugin/map-params.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira