diff --git a/lm_sensors-3.3.4-syslogorder.patch b/lm_sensors-3.3.4-syslogorder.patch new file mode 100644 index 0000000..644ae61 --- /dev/null +++ b/lm_sensors-3.3.4-syslogorder.patch @@ -0,0 +1,21 @@ +diff -up lm_sensors-3.3.4/prog/init/lm_sensors.service~ lm_sensors-3.3.4/prog/init/lm_sensors.service +--- lm_sensors-3.3.4/prog/init/lm_sensors.service~ 2011-04-27 20:35:18.671815000 +0300 ++++ lm_sensors-3.3.4/prog/init/lm_sensors.service 2014-01-19 16:39:48.878173066 +0200 +@@ -1,6 +1,5 @@ + [Unit] + Description=Initialize hardware monitoring sensors +-After=syslog.target + + [Service] + EnvironmentFile=/etc/sysconfig/lm_sensors +diff -up lm_sensors-3.3.4/prog/init/sensord.service~ lm_sensors-3.3.4/prog/init/sensord.service +--- lm_sensors-3.3.4/prog/init/sensord.service~ 2013-05-24 16:28:38.651221000 +0300 ++++ lm_sensors-3.3.4/prog/init/sensord.service 2014-01-19 16:39:41.822032580 +0200 +@@ -1,7 +1,6 @@ + [Unit] + Description=Log hardware monitoring data + After=lm_sensors.service +-After=syslog.target + + [Service] + EnvironmentFile=-/etc/sysconfig/sensord diff --git a/lm_sensors.spec b/lm_sensors.spec index bf15b3c..9dbf73f 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -1,6 +1,6 @@ Name: lm_sensors Version: 3.3.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Hardware monitoring tools Group: Applications/System License: LGPLv2+ and GPLv3+ and GPLv2+ and Verbatim and Public domain @@ -20,6 +20,8 @@ Patch0: lm_sensors-3.3.4-sensors-detect-null-input.patch Patch1: lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch Patch2: lm_sensors-3.3.4-man-sensors-conf-conv.patch Patch3: lm_sensors-3.3.4-sensors-detect-ppc-missing-vendor_id.patch +# http://lists.lm-sensors.org/pipermail/lm-sensors/2014-January/040947.html +Patch4: lm_sensors-3.3.4-syslogorder.patch Requires: /usr/sbin/modprobe %ifarch %{ix86} x86_64 @@ -70,6 +72,7 @@ database, and warns of sensor alarms. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 mv prog/init/README prog/init/README.initscripts chmod -x prog/init/fancontrol.init @@ -183,6 +186,9 @@ fi %changelog +* Sun Jan 19 2014 Ville Skyttä - 3.3.4-11 +- Do not order services after syslog.target. + * Fri Jan 10 2014 Jaromir Capik - 3.3.4-10 - Enhancing the sensord service wrapper (#863986) - UsrMove and libexec path tunings diff --git a/sensord.service b/sensord.service index 9a13082..96ae8a5 100644 --- a/sensord.service +++ b/sensord.service @@ -1,7 +1,6 @@ [Unit] Description=Log hardware monitoring data After=lm_sensors.service -After=syslog.target [Service] EnvironmentFile=-/etc/sysconfig/sensord