diff options
-rwxr-xr-x | ipa-server/ipa-server.spec | 9 | ||||
-rw-r--r-- | ipa-server/ipa-server.spec.in | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/ipa-server/ipa-server.spec b/ipa-server/ipa-server.spec index 9a95ceeb9..731d6add4 100755 --- a/ipa-server/ipa-server.spec +++ b/ipa-server/ipa-server.spec @@ -1,6 +1,6 @@ Name: ipa-server Version: 0.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: IPA authentication server Group: System Environment/Base @@ -85,6 +85,10 @@ if [ $1 = 1 ]; then /sbin/chkconfig --add ipa_kpasswd /sbin/chkconfig --add ipa_webgui fi +/bin/touch /var/log/ipa_error.log +/bin/chown apache /var/log/ipa_error.log +/bin/chmod 600 /var/log/ipa_error.log + %preun if [ $1 = 0 ]; then @@ -143,6 +147,9 @@ fi %attr(700,apache,apache) %dir %{_localstatedir}/cache/ipa/sessions %changelog +* Thu Jan 31 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-6 +- Ensure that the ipa_webgui error log exists and has correct permissions. + * Tue Jan 29 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-5 - Put user-modifiable files into /etc/ipa so they can be marked as config(noreplace). diff --git a/ipa-server/ipa-server.spec.in b/ipa-server/ipa-server.spec.in index 7c117557e..741c0c1eb 100644 --- a/ipa-server/ipa-server.spec.in +++ b/ipa-server/ipa-server.spec.in @@ -1,6 +1,6 @@ Name: ipa-server Version: VERSION -Release: 5%{?dist} +Release: 6%{?dist} Summary: IPA authentication server Group: System Environment/Base @@ -85,6 +85,10 @@ if [ $1 = 1 ]; then /sbin/chkconfig --add ipa_kpasswd /sbin/chkconfig --add ipa_webgui fi +/bin/touch /var/log/ipa_error.log +/bin/chown apache /var/log/ipa_error.log +/bin/chmod 600 /var/log/ipa_error.log + %preun if [ $1 = 0 ]; then @@ -143,6 +147,9 @@ fi %attr(700,apache,apache) %dir %{_localstatedir}/cache/ipa/sessions %changelog +* Thu Jan 31 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-6 +- Ensure that the ipa_webgui error log exists and has correct permissions. + * Tue Jan 29 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-5 - Put user-modifiable files into /etc/ipa so they can be marked as config(noreplace). |