Date: Fri, 03 Apr 2015 01:41:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199133] [net/vnstat] New vnstat install breaks after reboot with database file permissions Message-ID: <bug-199133-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199133 Bug ID: 199133 Summary: [net/vnstat] New vnstat install breaks after reboot with database file permissions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: feld@FreeBSD.org Reporter: yuri@rawbw.com Flags: maintainer-feedback?(feld@FreeBSD.org) Assignee: feld@FreeBSD.org Error messages I am getting: > Apr 2 18:21:15 freebsd64 vnstatd[578]: Error: Unable to create database backup "/var/lib/vnstat/.em0". > Apr 2 18:21:15 freebsd64 vnstatd[578]: Error: Unable to write database, continuing with cached data. > Apr 2 18:21:15 freebsd64 vnstatd[578]: Error: Unable to open database "/var/lib/vnstat/tap0" for writing: Permission denied > Apr 2 18:26:16 freebsd64 vnstatd[578]: Error: Unable to create database backup "/var/lib/vnstat/.em0". > Apr 2 18:26:16 freebsd64 vnstatd[578]: Error: Unable to open database "/var/lib/vnstat/tap0" for writing: Permission denied > Apr 2 18:27:45 freebsd64 login: ROOT LOGIN (root) ON ttyv0 > Apr 2 18:29:14 freebsd64 login: ROOT LOGIN (root) ON ttyv1 > Apr 2 18:31:18 freebsd64 vnstatd[578]: Error: Unable to create database backup "/var/lib/vnstat/.em0". > Apr 2 18:31:18 freebsd64 vnstatd[578]: Error: Unable to open database "/var/lib/vnstat/tap0" for writing: Permission denied Actual file permissions: > # ls -l /var/lib/ | grep vnstat > drwxr-xr-x 2 vnstat vnstat 6 Mar 31 21:14 vnstat > # ls -la /var/lib/vnstat > total 19 > drwxr-xr-x 2 vnstat vnstat 6 Mar 31 21:14 . > drwxr-xr-x 9 root wheel 9 Mar 31 21:03 .. > -rw-r--r-- 1 root vnstat 2792 Mar 31 21:08 .em0 > -rw-r----- 1 vnstat vnstat 2792 Apr 2 18:36 .tap0 > -rw-r--r-- 1 root vnstat 2792 Mar 31 21:08 em0 > -rw-r--r-- 1 root vnstat 2792 Mar 31 21:08 tap0 Security info: > # procstat -s 578 > PID COMM EUID RUID SVUID EGID RGID SVGID UMASK FLAGS GROUPS > 578 vnstatd 284 284 284 284 284 284 - - 284 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199133-13>