[Bug 251504] sysutils/bsdstats: grep: /usr/local/etc/bsdstats.conf: No such file or directory" on startup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 1 10:39:20 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251504

--- Comment #1 from Marcin Cieślak <saper at saper.info> ---
A freshly installed bsdstats package should not greet the user with an error
message on startup:

grep: /usr/local/etc/bsdstats.conf: No such file or directory


Configuration:

> grep bsdstats /etc/rc.conf
bsdstats_enable="YES"

> grep stat /etc/periodic.conf   
daily_status_smart_devices="/dev/ada0"
# 410.status-uucp
daily_status_uucp_enable="YES"                  # Check uucp status


Easy to reproduce from the command line:

> sudo sh /usr/local/etc/periodic/monthly/300.statistics start
Posting OS statistics to rpt.bsdstats.org ... SUCCESS
Posting device statistics to rpt.bsdstats.org ... SUCCESS
Posting CPU information to rpt.bsdstats.org ... SUCCESS
grep: /usr/local/etc/bsdstats.conf: No such file or directory
Posting port statistics to rpt.bsdstats.org ... SUCCESS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list