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:27:03 UTC
git commit: updated refs/heads/4.4-forward to 94bb5c2
Repository: cloudstack
Updated Branches:
refs/heads/4.4-forward 5eb026534 -> 94bb5c29b
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)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/94bb5c29
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/94bb5c29
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/94bb5c29
Branch: refs/heads/4.4-forward
Commit: 94bb5c29b293b5eebc21c67124d429a59736f11a
Parents: 5eb0265
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:26:42 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/94bb5c29/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
}