incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1306671 - in /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src: deb/oozie/oozie.preinst rpm/oozie/SPECS/oozie.spec
Date Thu, 29 Mar 2012 01:33:33 GMT
Author: rvs
Date: Thu Mar 29 01:33:32 2012
New Revision: 1306671

URL: http://svn.apache.org/viewvc?rev=1306671&view=rev
Log:
BIGTOP-498. Oozie's home dir is currently set to /var/run/oozie but should be /var/lib/oozie

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/oozie/oozie.preinst
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/oozie/oozie.preinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/oozie/oozie.preinst?rev=1306671&r1=1306670&r2=1306671&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/oozie/oozie.preinst (original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/oozie/oozie.preinst Thu
Mar 29 01:33:32 2012
@@ -38,7 +38,7 @@ case "$1" in
                   --system \
                   --disabled-login \
                   --group \
-                  --home /var/run/oozie \
+                  --home /var/lib/oozie \
                   --gecos "Oozie User" \
                   --shell /bin/false \
                   oozie  >/dev/null

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec?rev=1306671&r1=1306670&r2=1306671&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec (original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec Thu
Mar 29 01:33:32 2012
@@ -152,7 +152,7 @@ Requires: bigtop-utils
 
 %pre
 getent group oozie >/dev/null || /usr/sbin/groupadd -r oozie >/dev/null
-getent passwd oozie >/dev/null || /usr/sbin/useradd --comment "Oozie User" --shell /bin/false
-M -r -g oozie --home /var/run/oozie oozie >/dev/null
+getent passwd oozie >/dev/null || /usr/sbin/useradd --comment "Oozie User" --shell /bin/false
-M -r -g oozie --home %{data_oozie} oozie >/dev/null
 
 %post 
 /sbin/chkconfig --add oozie 
@@ -196,7 +196,7 @@ fi
 %defattr(-, oozie, oozie)
 %dir %{_localstatedir}/log/oozie
 %dir %{_localstatedir}/run/oozie
-%{data_oozie}
+%attr(0755,oozie,oozie) %{data_oozie}
 
 %files client
 %defattr(-,root,root)



Mime
View raw message