[mariadb/f20] Use %%ghost directive for the log file Related: 1043501
Honza Horak
hhorak at fedoraproject.org
Mon Jan 6 17:23:59 UTC 2014
commit 7e95015252688d603e77fef488f3cca47f67623f
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Mon Jan 6 18:09:21 2014 +0100
Use %%ghost directive for the log file
Related: 1043501
mariadb.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mariadb.spec b/mariadb.spec
index 1f840d8..d0f2675 100644
--- a/mariadb.spec
+++ b/mariadb.spec
@@ -768,8 +768,8 @@ fi
%attr(0755,mysql,mysql) %dir %{_localstatedir}/run/mariadb
%attr(0755,mysql,mysql) %dir %{_localstatedir}/lib/mysql
%attr(0750,mysql,mysql) %dir %{_localstatedir}/log/mariadb
-%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) %{_localstatedir}/log/mariadb/mariadb.log
-%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) %{_localstatedir}/log/mysqld.log
+%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{_localstatedir}/log/mariadb/mariadb.log
+%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{_localstatedir}/log/mysqld.log
%config(noreplace) %{_sysconfdir}/logrotate.d/mariadb
%files devel
@@ -808,6 +808,8 @@ fi
- Check if socket file is not being used by another process at a time
of starting the service
Related: #1045435
+- Use %%ghost directive for the log file
+ Related: 1043501
* Wed Nov 27 2013 Honza Horak <hhorak at redhat.com> 1:5.5.34-2
- Fix mariadb-wait-ready script
More information about the scm-commits
mailing list