with vnstat 1.12 (as in 14.10 and later) vnstat changes the user id during 
startup to whatever is defined as DaemonGroup and DaemonUser in 
/etc/vnstat.conf.    Hence, the proper way would be to 
(0) upgrade to vnstat 1.12 (if not already done)
(1) change in /etc/vnstat.conf DaemonUser and DaemonGroup from "" to "vnstat", 
and
(2) in /lib/systemd/system/vnstat.service or /etc/init.d/vnstat depending on 
start-up system user from "vnstat" to "root"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1285706

Title:
  wrong database file ownership

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vnstat/+bug/1285706/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to