-
Notifications
You must be signed in to change notification settings - Fork 0
/
revision-2971.patch
37 lines (34 loc) · 1.02 KB
/
revision-2971.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: conf/corosync.conf.example
===================================================================
--- conf/corosync.conf.example (revision 2970)
+++ conf/corosync.conf.example (revision 2971)
@@ -15,10 +15,10 @@
logging {
fileline: off
- to_stderr: yes
+ to_stderr: no
to_logfile: yes
to_syslog: yes
- logfile: /tmp/corosync.log
+ logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
Index: corosync.spec.in
===================================================================
--- corosync.spec.in (revision 2970)
+++ corosync.spec.in (revision 2971)
@@ -52,6 +52,7 @@
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
+mkdir -p -m 0700 %{buildroot}/%{_localstatedir}/log/cluster
## tree fixup
# drop static libs
@@ -106,6 +107,7 @@
%{_libexecdir}/lcrso/vsf_quorum.lcrso
%{_libexecdir}/lcrso/vsf_ykd.lcrso
%dir %{_localstatedir}/lib/corosync
+%dir %{_localstatedir}/log/cluster
%{_mandir}/man8/corosync_overview.8*
%{_mandir}/man8/corosync.8*
%{_mandir}/man8/corosync-blackbox.8*