Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 16:20:48 +0100
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        Freebsd fs <freebsd-fs@freebsd.org>, FreeBSD-scsi <freebsd-scsi@freebsd.org>
Subject:   smartmontools and kern.securelevel
Message-ID:  <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I run smartmontools on my storage servers, to launch periodic disk tests  
and alert on disk errors.

Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools does  
not work anymore.
Certainly because it needs to write directly to raw devices.
(details of the levels, -1 to 3, in security(7))

Any workaround to this ?

Perhaps we could think about allowing SMART commands to be written to disks  
when sysctl kern.securelevel >=2 ?
(I assume smartmontools writes SMART commands)

Thank you very much !

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0985ABD3-D141-4EE2-B1B3-3016B16E2B68>