Bug 758934

Summary: smartd should be enabled by default
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: smartmontoolsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: jan.kratochvil, mhlavink, robatino, tmraz
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-02 11:56:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Kratochvil 2011-12-01 01:22:53 UTC
Description of problem:
After fresh F-16 installation smartd was not running.

Version-Release number of selected component (if applicable):
smartmontools-5.42-1.fc16.x86_64

How reproducible:
Happened on both my F-16 installations.

Steps to Reproduce:
1. Install F-16 x86_64.
2. systemctl status smartd.service

Actual results:
smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
	  Loaded: loaded (/lib/systemd/system/smartd.service; disabled)
	  Active: inactive (dead)
	  CGroup: name=systemd:/system/smartd.service

Expected results:
smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
	  Loaded: loaded (/lib/systemd/system/smartd.service; enabled)
	  Active: active (running) since Thu, 01 Dec 2011 02:10:02 +0100; 12min ago
	Main PID: 32682 (smartd)
	  CGroup: name=systemd:/system/smartd.service
		  └ 32682 /usr/sbin/smartd -n -q never

Additional info:

Comment 1 Michal Hlavinka 2011-12-02 11:24:55 UTC
Daemons are not enabled by default after installation, you have to enable it yourself.

Comment 2 Jan Kratochvil 2011-12-02 11:35:20 UTC
I find the rason different, as explained by Tomas Bzatek:
Desktop has its own SMART checker.
The default installation therefore checks SMART.

It is questionable what should be done for servers.
For example standard Fedora-16-x86_64-DVD.iso supports "Web Server" installation set which AFAIK does not contain any desktop while still health of its storage devices is essential for its functionality.

It also sure makes sense for RHEL servers.

Comment 3 Tomas Mraz 2011-12-02 11:47:08 UTC
The Fedora packaging guidelines explicitly allow non-network facing daemons to be enabled by default. Therefore there is nothing that would block having smartd on by default.

Comment 4 Michal Hlavinka 2011-12-02 11:56:24 UTC
ok, https://fedoraproject.org/wiki/Starting_services_by_default says:

"""If a service does not require configuration to be functional and is not
network enabled, it may be enabled by default (but is not required to do
so)."""

I've changed it in rawhide