OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Smart Plugin Warning on Reboot
« previous next »
  • Print
Pages: [1]

Author Topic: Smart Plugin Warning on Reboot  (Read 4962 times)

tillsense

  • Sr. Member
  • ****
  • Posts: 325
  • Karma: 49
    • View Profile
Smart Plugin Warning on Reboot
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Smart Plugin Warning on Reboot
« Reply #1 on: January 26, 2017, 11:38:18 pm »
Hey, how did you reboot here? A manual "reboot"?
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 325
  • Karma: 49
    • View Profile
Re: Smart Plugin Warning on Reboot
« Reply #2 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
Logged

mrkaehler

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Smart Plugin Warning on Reboot
« Reply #3 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Smart Plugin Warning on Reboot
« Reply #4 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Smart Plugin Warning on Reboot
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2