OPNsense Forum

English Forums => Development and Code Review => Topic started by: tillsense on December 28, 2016, 07:32:04 pm

Title: Smart Plugin Warning on Reboot
Post by: tillsense on December 28, 2016, 07:32:04 pm
Hi,
on a boot/reboot, these messages are displayed. (Plugin: os-smart)

Quote
Root: /usr/local/etc/rc.d/smartd: WARNING: failed precmd routine for smartd
Root: /usr/local/etc/rc.d/smartd: WARNING: /usr/local/etc/smartd.conf is not readable.

there is no smartd.conf but file smartd with the right
Quote
-r-xr-xr-x  1 root  wheel   1155 Dec 13 14:06 smartd

cheers till

--------------------------------------------------------------------
OPNsense 17.1.b_73-amd64
FreeBSD 11.0-RELEASE-p5
OpenSSL 1.0.2j 26 Sep 2016
Title: Re: Smart Plugin Warning on Reboot
Post by: franco on January 26, 2017, 11:38:18 pm
Hey, how did you reboot here? A manual "reboot"?
Title: Re: Smart Plugin Warning on Reboot
Post by: tillsense on January 28, 2017, 07:48:55 pm
Hi Franco,

no, this is with every start / reboot and empty kernel issuess in log (17.1.r1-amd64)!?

Code: [Select]
kernel:
kernel:
kernel:
root: /usr/local/etc/rc.d/smartd: WARNING: failed precmd routine for smartd
root: /usr/local/etc/rc.d/smartd: WARNING: /usr/local/etc/smartd.conf is not readable.

cherrs till
Title: Re: Smart Plugin Warning on Reboot
Post by: mrkaehler on May 23, 2017, 10:59:35 am
I have also seen this in version 17.1.7 (fresh install via CD/DVD) on SSD.
Title: Re: Smart Plugin Warning on Reboot
Post by: franco on May 24, 2017, 07:40:10 am
We don't use "smartd" RC script, but it gets invoked on shutdown, so it complains about this situation.

# touch /usr/local/etc/smartd.conf

Should "fix" that displayed error, but it's really not relevant in any operational sense.


Cheers,
Franco