rpms/smartmontools/devel smartd-conf.py, 1.9, 1.10 smartmontools.spec, 1.27, 1.28

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Feb 22 12:13:41 UTC 2007


Author: tmraz

Update of /cvs/dist/rpms/smartmontools/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29693

Modified Files:
	smartd-conf.py smartmontools.spec 
Log Message:
* Thu Feb 22 2007 Tomas Mraz <tmraz at redhat.com> - 1:5.36-8
- enable SMART on disks when smartd-conf.py runs (fix
  by Calvin Ostrum) (#214502)



Index: smartd-conf.py
===================================================================
RCS file: /cvs/dist/rpms/smartmontools/devel/smartd-conf.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- smartd-conf.py	27 Jun 2006 15:40:29 -0000	1.9
+++ smartd-conf.py	22 Feb 2007 12:13:39 -0000	1.10
@@ -82,7 +82,7 @@
 	    if float(getfile("/sys/module/libata/version")) < 1.20:
 		comment = "# not yet supported in this kernel version\n# "
 	if not comment:
-	    status = os.system("/usr/sbin/smartctl -i %s%s 2>&1 >/dev/null" %
+	    status = os.system("/usr/sbin/smartctl -s on -i %s%s 2>&1 >/dev/null" %
 		(driver, drive.device))
 	    if not os.WIFEXITED(status) or os.WEXITSTATUS(status) != 0:
 		comment = "# smartctl -i returns error for this drive\n# "


Index: smartmontools.spec
===================================================================
RCS file: /cvs/dist/rpms/smartmontools/devel/smartmontools.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- smartmontools.spec	12 Feb 2007 14:21:41 -0000	1.27
+++ smartmontools.spec	22 Feb 2007 12:13:39 -0000	1.28
@@ -1,7 +1,7 @@
 Summary:	Tools for monitoring SMART capable hard disks
 Name:		smartmontools
 Version:	5.36
-Release: 	7%{?dist}
+Release: 	8%{?dist}
 Epoch:		1
 Group:		System Environment/Base
 License:	GPL
@@ -81,6 +81,10 @@
 
 
 %changelog
+* Thu Feb 22 2007 Tomas Mraz <tmraz at redhat.com> - 1:5.36-8
+- enable SMART on disks when smartd-conf.py runs (fix
+  by Calvin Ostrum) (#214502)
+
 * Mon Feb 12 2007 Tomas Mraz <tmraz at redhat.com> - 1:5.36-7
 - redirect service script output to null (#224566)
 




More information about the fedora-cvs-commits mailing list