Change in vdsm[master]: Adding constant for log file permissions

ybronhei at redhat.com ybronhei at redhat.com
Sun Feb 24 15:08:49 UTC 2013


Yaniv Bronhaim has uploaded a new change for review.

Change subject: Adding constant for log file permissions
......................................................................

Adding constant for log file permissions

Change-Id: Iaa362d47f5d1b5d7fbc1c3ab96c3381aefefd6f3
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M configure.ac
M vdsm/vdsm-logrotate.conf.in
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/80/12380/1

diff --git a/configure.ac b/configure.ac
index 434d209..457457d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,6 +63,7 @@
 AC_SUBST([QEMUGROUP], [qemu])
 AC_SUBST([SNLKUSER], [sanlock])
 AC_SUBST([SNLKGROUP], [sanlock])
+AC_SUBST([VDSMLOGPERM], [600])
 
 # VDSM default paths
 AC_SUBST([vdsmdir], ['${datarootdir}/vdsm'])
diff --git a/vdsm/vdsm-logrotate.conf.in b/vdsm/vdsm-logrotate.conf.in
index 53b8531..2dc4033 100644
--- a/vdsm/vdsm-logrotate.conf.in
+++ b/vdsm/vdsm-logrotate.conf.in
@@ -6,7 +6,7 @@
     compresscmd /usr/bin/xz
     uncompresscmd /usr/bin/unxz
     compressext .xz
-    create 644 @VDSMUSER@ @VDSMGROUP@
+    create @VDSMLOGPERM@ @VDSMUSER@ @VDSMGROUP@
 }
 /var/log/core/*.dump {
     rotate 1


--
To view, visit http://gerrit.ovirt.org/12380
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa362d47f5d1b5d7fbc1c3ab96c3381aefefd6f3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list