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
(In reply to Marcin Cieślak from comment #1) # touch /usr/local/etc/bsdstats.conf # service bsdstats start Starting bsdstats. Posting OS statistics to rpt.bsdstats.org (through TOR) ... SUCCESS Posting device statistics to rpt.bsdstats.org (through TOR) ... SUCCESS Posting CPU information to rpt.bsdstats.org (through TOR) ... SUCCESS Posting port statistics to rpt.bsdstats.org (through TOR) ... BSDstats failed: ports submission request failed /usr/local/etc/rc.d/bsdstats: WARNING: failed to start bsdstats
(In reply to VVD from comment #2) # rm /usr/local/etc/bsdstats.conf # service bsdstats start Starting bsdstats. Posting OS statistics to rpt.bsdstats.org (through TOR) ... SUCCESS Posting device statistics to rpt.bsdstats.org (through TOR) ... SUCCESS Posting CPU information to rpt.bsdstats.org (through TOR) ... SUCCESS grep: /usr/local/etc/bsdstats.conf: No such file or directory Posting port statistics to rpt.bsdstats.org (through TOR) ... SUCCESS
Created attachment 220685 [details] proposed patch This might fix it.
This should be fixed in the latest version ... I've tested for it, and can't recreate ... Please advise if you are still seeing an issue, thx
(In reply to scrappy from comment #5) The issue has been reported again on 2021-08-25 in bug #258035, which has already been added to the See Also field, by Steve. Please check again if you can reproduce.
*** Bug 258035 has been marked as a duplicate of this bug. ***
Maintainer reset.