Bug 4233 - smartd.service fails to start
Summary: smartd.service fails to start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Damien Lallement
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks: 2120
  Show dependency treegraph
 
Reported: 2012-01-23 02:33 CET by Curtis Hildebrand
Modified: 2012-01-25 07:35 CET (History)
1 user (show)

See Also:
Source RPM: smartmontools-5.42-2.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Curtis Hildebrand 2012-01-23 02:33:18 CET
I installed from Cauldron after alpha3 was released.  All updates are applied except for the kernel.

Smartd fails to start.  Probably from the wrong EnvironmentFile given in the service file:

/etc/systemd/system/multi-user.target.wants/smartd.service ::

[Service]
EnvironmentFile=/etc/sysconfig/smartmontools
ExecStart=/usr/sbin/smartd -n $smartd_opts


The EnvironmentFile variable above should be:  /etc/sysconfig/smartd


/var/log/messages:
Jan 18 20:21:16 localhost systemd[1]: smartd.service failed to run 'start' task: No such file or directory
Jan 18 20:21:16 localhost systemd[1]: Unit smartd.service entered failed state.

]# systemctl status smartd.service
smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
          Loaded: loaded (/lib/systemd/system/smartd.service; enabled)
          Active: failed
          CGroup: name=systemd:/system/smartd.service
Comment 1 Manuel Hiebel 2012-01-23 12:14:24 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
CC: (none) => dmorganec
Blocks: (none) => 2120
Assignee: bugsquad => mageia

Comment 2 Damien Lallement 2012-01-23 23:53:05 CET
Thanks for the report.
Can you test the new package please and close if fixed.
http://svnweb.mageia.org/packages?view=revision&revision=200470

Status: NEW => ASSIGNED

Comment 3 Curtis Hildebrand 2012-01-25 07:35:59 CET
Fixed.  Thanks.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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