Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Revert "we do not want %ghost-ed log files"
Browse files Browse the repository at this point in the history
This reverts commit 0550ff7.
We do in fact want the log files to be %ghost so they are not
overwritten on every update.

Bug 1134578 - The Broker's user_action.log should not be overwritten on RPM upgrade
https://bugzilla.redhat.com/show_bug.cgi?id=1134578
  • Loading branch information
sosiouxme committed Dec 17, 2014
1 parent 55bdde9 commit 1585233
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions broker/openshift-origin-broker.spec
Expand Up @@ -201,6 +201,10 @@ sed -i -e '/NON-RUNTIME BEGIN/,/NON-RUNTIME END/d' %{buildroot}%{brokerdir}/Gemf
%defattr(0640,apache,apache,0750)
%attr(0750,-,-) %{_var}/log/openshift/broker
%attr(0750,-,-) %{_var}/log/openshift/broker/httpd
%attr(0640,-,-) %ghost %{_var}/log/openshift/broker/production.log
%attr(0640,-,-) %ghost %{_var}/log/openshift/broker/development.log
%attr(0640,-,-) %ghost %{_var}/log/openshift/broker/user_action.log
%attr(0640,-,-) %ghost %{_var}/log/openshift/broker/usage.log
%attr(0750,-,-) %{brokerdir}/script
%attr(0750,-,-) %{brokerdir}/tmp
%attr(0750,-,-) %{brokerdir}/tmp/cache
Expand Down
2 changes: 2 additions & 0 deletions node/rubygem-openshift-origin-node.spec
Expand Up @@ -233,6 +233,8 @@ fi
%attr(0750,-,-) /usr/sbin/*
%attr(0755,-,-) /usr/bin/*
%attr(0750,-,-) %{_var}/log/openshift/node
%attr(0640,-,-) %ghost %{_var}/log/openshift/node/platform.log
%attr(0640,-,-) %ghost %{_var}/log/openshift/node/platform-trace.log
/usr/libexec/openshift/lib/quota_attrs.sh
/usr/libexec/openshift/lib/archive_git_submodules.sh
%dir %attr(0755,-,-) %{openshift_lib}/cartridge_sdk
Expand Down
4 changes: 4 additions & 0 deletions openshift-console/openshift-origin-console.spec
Expand Up @@ -201,6 +201,10 @@ fi
%{openshiftconfigdir}
%attr(0750,-,-) %{_var}/log/openshift/console
%attr(0750,-,-) %{_var}/log/openshift/console/httpd
%attr(0644,-,-) %ghost %{_var}/log/openshift/console/production.log
%attr(0644,-,-) %ghost %{_var}/log/openshift/console/development.log
%attr(0644,-,-) %ghost %{_var}/log/openshift/console/httpd/error_log
%attr(0644,-,-) %ghost %{_var}/log/openshift/console/httpd/access_log
%attr(0750,-,-) %{consoledir}/script
%attr(0750,-,-) %{consoledir}/tmp
%attr(0750,-,-) %{consoledir}/tmp/cache
Expand Down

0 comments on commit 1585233

Please sign in to comment.