Permalink
Browse files

Ensure netdata owns /var/lib/netdata/.

Netdata needs to be able to create the health and registry directories
on launch. The inability to do this prevents the daemon from starting.
  • Loading branch information...
1 parent bf91af2 commit 4007440677b89cec67036af48377505041325a4a @facetoe facetoe committed Dec 8, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/debian/netdata.postinst.in
@@ -14,7 +14,7 @@ case "$1" in
fi
if ! dpkg-statoverride --list /var/lib/netdata >/dev/null 2>&1; then
- dpkg-statoverride --update --add root netdata 0755 /var/lib/netdata
+ dpkg-statoverride --update --add netdata netdata 0755 /var/lib/netdata
fi
if ! dpkg-statoverride --list /var/lib/netdata/www >/dev/null 2>&1; then

0 comments on commit 4007440

Please sign in to comment.