Просмотр исходного кода

AMBARI-1871. ambari-agent RPM does not claim ownership of /var/lib/ambari-agent. (Matthew Farrellee via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1467859 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 12 лет назад
Родитель
Сommit
61ad106b0e
2 измененных файлов с 10 добавлено и 1 удалено
  1. 3 0
      CHANGES.txt
  2. 7 1
      ambari-agent/pom.xml

+ 3 - 0
CHANGES.txt

@@ -711,6 +711,9 @@ Trunk (unreleased changes):
  AMBARI-1384. WorkflowJsonService service doesn't use the API framework and is
  inconsistent with other API's. (billie)
 
+ AMBARI-1871. ambari-agent RPM does not claim ownership of
+ /var/lib/ambari-agent. (Matthew Farrellee via mahadev)
+
  BUG FIXES
 
  AMBARI-1919. JobTracker History Server failed to come up on 1.3.0 stack

+ 7 - 1
ambari-agent/pom.xml

@@ -239,7 +239,13 @@
               </sources>
             </mapping>
             <mapping>
-              <directory>/var/lib/ambari-agent</directory>
+              <directory>/var/lib/${project.artifactId}</directory>
+              <filemode>755</filemode>
+              <username>root</username>
+              <groupname>root</groupname>
+            </mapping>
+            <mapping>
+              <directory>/var/lib/${project.artifactId}</directory>
               <filemode>700</filemode>
               <username>root</username>
               <groupname>root</groupname>