Do not order services after syslog.target.

https://bugzilla.redhat.com/show_bug.cgi?id=1055193
This commit is contained in:
Ville Skyttä 2014-01-19 16:41:55 +02:00
parent 3de330643f
commit bc69dd31cf
3 changed files with 28 additions and 2 deletions

View File

@ -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

View File

@ -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ä <ville.skytta@iki.fi> - 3.3.4-11
- Do not order services after syslog.target.
* Fri Jan 10 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.4-10
- Enhancing the sensord service wrapper (#863986)
- UsrMove and libexec path tunings

View File

@ -1,7 +1,6 @@
[Unit]
Description=Log hardware monitoring data
After=lm_sensors.service
After=syslog.target
[Service]
EnvironmentFile=-/etc/sysconfig/sensord