Bug 758934 - smartd should be enabled by default
Summary: smartd should be enabled by default
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: smartmontools
Version: 16
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 01:22 UTC by Jan Kratochvil
Modified: 2011-12-02 11:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-02 11:56:24 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.