You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/06/10 16:29:18 UTC

[4/5] git commit: updated refs/heads/4.4 to 99aa7a0

If for some reason dnsmasq.log does not exist anymore logrotate will create it with nobody as owner. This will prevent dnsmasq deamon from logging to that file.

Signed-off-by: Daan Hoogland <da...@onecht.net>
(cherry picked from commit c54ce3cafbc51febe71fb2a997dbfc8ac9167fb0)
(cherry picked from commit 94bb5c29b293b5eebc21c67124d429a59736f11a)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8ff5ca0b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8ff5ca0b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8ff5ca0b

Branch: refs/heads/4.4
Commit: 8ff5ca0b2f44ae3d4dd9f4dd11eaf94ff4fb740b
Parents: 4262080
Author: Joris van Lieshout <jv...@schubergphilis.com>
Authored: Wed May 21 17:10:07 2014 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Tue Jun 10 16:28:51 2014 +0200

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/logrotate.d/dnsmasq | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8ff5ca0b/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq b/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq
index 838415d3..2654590 100644
--- a/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq
+++ b/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq
@@ -8,6 +8,6 @@
     postrotate
         [ ! -f /var/run/dnsmasq/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq/dnsmasq.pid`
     endscript
-    create 0640 nobody root
+    create 0640 dnsmasq root
 }