parent
a79bc68acb
commit
0c0696b0d3
@ -7,7 +7,7 @@ After=ipmi.service
|
|||||||
EnvironmentFile=-/etc/sysconfig/ipmievd
|
EnvironmentFile=-/etc/sysconfig/ipmievd
|
||||||
ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
|
ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/ipmievd.pid0
|
PIDFile=/var/run/ipmievd.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
14
ipmitool-1.8.11-systemd.patch
Normal file
14
ipmitool-1.8.11-systemd.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up ipmitool-1.8.12/lib/helper.c.systemd ipmitool-1.8.12/lib/helper.c
|
||||||
|
--- ipmitool-1.8.12/lib/helper.c.systemd 2012-08-13 14:24:47.391037471 +0200
|
||||||
|
+++ ipmitool-1.8.12/lib/helper.c 2012-08-13 14:24:53.088016793 +0200
|
||||||
|
@@ -549,10 +549,6 @@ ipmi_start_daemon(struct ipmi_intf *intf
|
||||||
|
sigset_t sighup;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
- /* if we are started from init no need to become daemon */
|
||||||
|
- if (getppid() == 1)
|
||||||
|
- return;
|
||||||
|
-
|
||||||
|
#ifdef SIGHUP
|
||||||
|
sigemptyset(&sighup);
|
||||||
|
sigaddset(&sighup, SIGHUP);
|
@ -1,7 +1,7 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Summary: Utility for IPMI control
|
Summary: Utility for IPMI control
|
||||||
Version: 1.8.12
|
Version: 1.8.12
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://ipmitool.sourceforge.net/
|
URL: http://ipmitool.sourceforge.net/
|
||||||
@ -20,6 +20,7 @@ Provides: OpenIPMI-tools = 2.0.14-3
|
|||||||
Patch1: ipmitool-1.8.10-ipmievd-init.patch
|
Patch1: ipmitool-1.8.10-ipmievd-init.patch
|
||||||
Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch
|
Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch
|
||||||
Patch3: ipmitool-1.8.11-remove-umask0.patch
|
Patch3: ipmitool-1.8.11-remove-umask0.patch
|
||||||
|
Patch4: ipmitool-1.8.11-systemd.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a utility for interfacing with devices that support
|
This package contains a utility for interfacing with devices that support
|
||||||
@ -42,6 +43,7 @@ setting LAN configuration, and chassis power control.
|
|||||||
%patch1 -p1 -b .ipmievd-init
|
%patch1 -p1 -b .ipmievd-init
|
||||||
%patch2 -p0 -b .condrestart
|
%patch2 -p0 -b .condrestart
|
||||||
%patch3 -p1 -b .umask
|
%patch3 -p1 -b .umask
|
||||||
|
%patch4 -p1 -b .systemd
|
||||||
|
|
||||||
for f in AUTHORS ChangeLog; do
|
for f in AUTHORS ChangeLog; do
|
||||||
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
||||||
@ -103,6 +105,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 27 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-2
|
||||||
|
- Fixed starting ipmievd under systemd (#819234).
|
||||||
|
|
||||||
* Fri Aug 10 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-1
|
* Fri Aug 10 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-1
|
||||||
- update to ipmitool-1.8.12
|
- update to ipmitool-1.8.12
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user