Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 2020 10:39:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251504] sysutils/bsdstats: grep: /usr/local/etc/bsdstats.conf: No such file or directory" on startup
Message-ID:  <bug-251504-7788-MJmLRsOB4u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251504-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251504-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251504

--- Comment #1 from Marcin Cie=C5=9Blak <saper@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=3D"YES"

> grep stat /etc/periodic.conf=20=20=20
daily_status_smart_devices=3D"/dev/ada0"
# 410.status-uucp
daily_status_uucp_enable=3D"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

--=20
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-251504-7788-MJmLRsOB4u>