From c54ce3cafbc51febe71fb2a997dbfc8ac9167fb0 Mon Sep 17 00:00:00 2001 From: Joris van Lieshout Date: Wed, 21 May 2014 17:10:07 +0200 Subject: [PATCH] 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 --- systemvm/patches/debian/config/etc/logrotate.d/dnsmasq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq b/systemvm/patches/debian/config/etc/logrotate.d/dnsmasq index 838415d3049..265459077f1 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 }