Package: ipmitool
Version: 1.8.14-1
Severity: normal
Tags: patch

Dear Maintainer,

Upon upgrading from 1.8.13-1 to 1.8.14-1 on a server running systemd, I
found that ipmievd no longer starts.

Attached is the syslog output from the time of the upgrade.

Also attached is a patch which fixes the ipmievd.service unit file.

My guess is that the unit file was copied from openssh without any
testing.

Mangled and annotated flavor of the patch:

   [Unit]
# Match description of SysV init script?
  -Description=ipmitool server
  +Description=IPMI event daemon
# Default 'basic.target' should be sufficient:
  -After=network.target

   [Service]
# Definitely forking (doesn't even have a foreground mode):
  +Type=forking
   EnvironmentFile=-/etc/default/ipmievd
# Remove mysterious "-D" and correct environment variable name:
  -ExecStart=/usr/sbin/ipmievd -D $IPMIEVD_OPTS
  +ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
# Default 'control-group' should be sufficient:
  -KillMode=process
# Imagining a case where IPMI hardware isn't detected (and considering
# that ENABLED=false isn't effective), having five failed start attempts
# seems noisy:
  -Restart=on-failure

Furthermore there's a problem with /etc/default/ipmievd, IPMIEVD_OPTIONS
needs to default to "open daemon" like the SysV init script.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ipmitool depends on:
ii  libc6         2.18-7
ii  libncurses5   5.9+20140118-1
ii  libreadline6  6.3-6
ii  libssl1.0.0   1.0.1g-4
ii  libtinfo5     5.9+20140118-1
ii  lsb-base      4.1+Debian12

Versions of packages ipmitool recommends:
pn  openipmi  <none>

ipmitool suggests no packages.

-- Configuration Files:
/etc/default/ipmievd changed:
ENABLED="true"
IPMIEVD_OPTIONS=""


-- no debconf information

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
May 31 04:56:39 headboard systemd[1]: Reloading.
May 31 04:56:39 headboard systemd[1]: Stopping LSB: IPMI event daemon...
May 31 04:56:39 headboard ipmievd[3898]: Stopping IPMI event daemon ipmievd.
May 31 04:56:39 headboard systemd[1]: Stopped LSB: IPMI event daemon.
May 31 04:56:39 headboard systemd[1]: Reloading.
May 31 04:56:55 headboard systemd[1]: Reloading.
May 31 04:56:55 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:55 headboard systemd[1]: Started ipmitool server.
May 31 04:56:55 headboard ipmievd[5721]: /usr/sbin/ipmievd: option requires an 
argument -- 'D'
May 31 04:56:55 headboard ipmievd[5721]: ipmievd version 1.8.14
May 31 04:56:55 headboard ipmievd[5721]: usage: ipmievd [options...] <command>
May 31 04:56:55 headboard ipmievd[5721]: -h             This help
May 31 04:56:55 headboard ipmievd[5721]: -V             Show version information
May 31 04:56:55 headboard ipmievd[5721]: -v             Verbose (can use 
multiple times)
May 31 04:56:55 headboard ipmievd[5721]: -c             Display output in comma 
separated format
May 31 04:56:55 headboard ipmievd[5721]: -d N           Specify a /dev/ipmiN 
device to use (default=0)
May 31 04:56:55 headboard ipmievd[5721]: -I intf        Interface to use
May 31 04:56:55 headboard ipmievd[5721]: -H hostname    Remote host name for 
LAN interface
May 31 04:56:55 headboard ipmievd[5721]: -p port        Remote RMCP port 
[default=623]
May 31 04:56:55 headboard ipmievd[5721]: -U username    Remote session username
May 31 04:56:55 headboard ipmievd[5721]: -f file        Read remote session 
password from file
May 31 04:56:55 headboard ipmievd[5721]: -z size        Change Size of 
Communication Channel (OEM)
May 31 04:56:55 headboard ipmievd[5721]: -S sdr         Use local file for 
remote SDR cache
May 31 04:56:55 headboard ipmievd[5721]: -D tty:b[:s]   Specify the serial 
device, baud rate to use
May 31 04:56:55 headboard ipmievd[5721]: and, optionally, specify that 
interface is the system one
May 31 04:56:55 headboard ipmievd[5721]: -a             Prompt for remote 
password
May 31 04:56:55 headboard ipmievd[5721]: -Y             Prompt for the Kg key 
for IPMIv2 authentication
May 31 04:56:55 headboard ipmievd[5721]: -e char        Set SOL escape character
May 31 04:56:55 headboard ipmievd[5721]: -C ciphersuite Cipher suite to be used 
by lanplus interface
May 31 04:56:55 headboard ipmievd[5721]: -k key         Use Kg key for IPMIv2 
authentication
May 31 04:56:55 headboard ipmievd[5721]: -y hex_key     Use hexadecimal-encoded 
Kg key for IPMIv2 authentication
May 31 04:56:55 headboard ipmievd[5721]: -L level       Remote session 
privilege level [default=ADMINISTRATOR]
May 31 04:56:55 headboard ipmievd[5721]: Append a '+' to use name/privilege 
lookup in RAKP1
May 31 04:56:55 headboard ipmievd[5721]: -A authtype    Force use of auth type 
NONE, PASSWORD, MD2, MD5 or OEM
May 31 04:56:55 headboard ipmievd[5721]: -P password    Remote session password
May 31 04:56:55 headboard ipmievd[5721]: -E             Read password from 
IPMI_PASSWORD environment variable
May 31 04:56:55 headboard ipmievd[5721]: -K             Read kgkey from 
IPMI_KGKEY environment variable
May 31 04:56:55 headboard ipmievd[5721]: -m address     Set local IPMB address
May 31 04:56:55 headboard ipmievd[5721]: -b channel     Set destination channel 
for bridged request
May 31 04:56:55 headboard ipmievd[5721]: -t address     Bridge request to 
remote target address
May 31 04:56:55 headboard ipmievd[5721]: -B channel     Set transit channel for 
bridged request (dual bridge)
May 31 04:56:55 headboard ipmievd[5721]: -T address     Set transit address for 
bridge request (dual bridge)
May 31 04:56:55 headboard ipmievd[5721]: -l lun         Set destination lun for 
raw commands
May 31 04:56:55 headboard ipmievd[5721]: -o oemtype     Setup for OEM (use 
'list' to see available OEM types)
May 31 04:56:55 headboard ipmievd[5721]: -O seloem      Use file for OEM SEL 
event descriptions
May 31 04:56:55 headboard ipmievd[5721]: -N seconds     Specify timeout for lan 
[default=2] / lanplus [default=1] interface
May 31 04:56:55 headboard ipmievd[5721]: -R retry       Set the number of 
retries for lan/lanplus interface [default=4]
May 31 04:56:55 headboard ipmievd[5721]: Interfaces:
May 31 04:56:55 headboard ipmievd[5721]: open          Linux OpenIPMI Interface 
[default]
May 31 04:56:55 headboard ipmievd[5721]: imb           Intel IMB Interface
May 31 04:56:55 headboard ipmievd[5721]: lan           IPMI v1.5 LAN Interface
May 31 04:56:55 headboard ipmievd[5721]: lanplus       IPMI v2.0 RMCP+ LAN 
Interface
May 31 04:56:55 headboard ipmievd[5721]: serial-terminal  Serial Interface, 
Terminal Mode
May 31 04:56:55 headboard ipmievd[5721]: serial-basic  Serial Interface, Basic 
Mode
May 31 04:56:55 headboard ipmievd[5721]: Commands:
May 31 04:56:55 headboard ipmievd[5721]: open          Use OpenIPMI for 
asyncronous notification of events
May 31 04:56:55 headboard ipmievd[5721]: sel           Poll SEL for 
notification of events
May 31 04:56:55 headboard systemd[1]: ipmievd.service: main process exited, 
code=exited, status=1/FAILURE
May 31 04:56:55 headboard systemd[1]: Unit ipmievd.service entered failed state.
May 31 04:56:55 headboard systemd[1]: ipmievd.service holdoff time over, 
scheduling restart.
May 31 04:56:55 headboard systemd[1]: Stopping ipmitool server...
May 31 04:56:55 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:55 headboard systemd[1]: Started ipmitool server.
May 31 04:56:55 headboard ipmievd[5729]: /usr/sbin/ipmievd: option requires an 
argument -- 'D'
May 31 04:56:55 headboard ipmievd[5729]: ipmievd version 1.8.14
May 31 04:56:55 headboard ipmievd[5729]: usage: ipmievd [options...] <command>
May 31 04:56:55 headboard ipmievd[5729]: -h             This help
May 31 04:56:55 headboard ipmievd[5729]: -V             Show version information
May 31 04:56:55 headboard ipmievd[5729]: -v             Verbose (can use 
multiple times)
May 31 04:56:55 headboard ipmievd[5729]: -c             Display output in comma 
separated format
May 31 04:56:55 headboard ipmievd[5729]: -d N           Specify a /dev/ipmiN 
device to use (default=0)
May 31 04:56:55 headboard ipmievd[5729]: -I intf        Interface to use
May 31 04:56:55 headboard ipmievd[5729]: -H hostname    Remote host name for 
LAN interface
May 31 04:56:55 headboard ipmievd[5729]: -p port        Remote RMCP port 
[default=623]
May 31 04:56:55 headboard ipmievd[5729]: -U username    Remote session username
May 31 04:56:55 headboard ipmievd[5729]: -f file        Read remote session 
password from file
May 31 04:56:55 headboard ipmievd[5729]: -z size        Change Size of 
Communication Channel (OEM)
May 31 04:56:55 headboard ipmievd[5729]: -S sdr         Use local file for 
remote SDR cache
May 31 04:56:55 headboard ipmievd[5729]: -D tty:b[:s]   Specify the serial 
device, baud rate to use
May 31 04:56:55 headboard ipmievd[5729]: and, optionally, specify that 
interface is the system one
May 31 04:56:55 headboard ipmievd[5729]: -a             Prompt for remote 
password
May 31 04:56:55 headboard ipmievd[5729]: -Y             Prompt for the Kg key 
for IPMIv2 authentication
May 31 04:56:55 headboard ipmievd[5729]: -e char        Set SOL escape character
May 31 04:56:55 headboard ipmievd[5729]: -C ciphersuite Cipher suite to be used 
by lanplus interface
May 31 04:56:55 headboard ipmievd[5729]: -k key         Use Kg key for IPMIv2 
authentication
May 31 04:56:55 headboard ipmievd[5729]: -y hex_key     Use hexadecimal-encoded 
Kg key for IPMIv2 authentication
May 31 04:56:55 headboard ipmievd[5729]: -L level       Remote session 
privilege level [default=ADMINISTRATOR]
May 31 04:56:55 headboard ipmievd[5729]: Append a '+' to use name/privilege 
lookup in RAKP1
May 31 04:56:55 headboard ipmievd[5729]: -A authtype    Force use of auth type 
NONE, PASSWORD, MD2, MD5 or OEM
May 31 04:56:55 headboard ipmievd[5729]: -P password    Remote session password
May 31 04:56:55 headboard ipmievd[5729]: -E             Read password from 
IPMI_PASSWORD environment variable
May 31 04:56:55 headboard ipmievd[5729]: -K             Read kgkey from 
IPMI_KGKEY environment variable
May 31 04:56:55 headboard ipmievd[5729]: -m address     Set local IPMB address
May 31 04:56:55 headboard ipmievd[5729]: -b channel     Set destination channel 
for bridged request
May 31 04:56:55 headboard ipmievd[5729]: -t address     Bridge request to 
remote target address
May 31 04:56:55 headboard ipmievd[5729]: -B channel     Set transit channel for 
bridged request (dual bridge)
May 31 04:56:55 headboard ipmievd[5729]: -T address     Set transit address for 
bridge request (dual bridge)
May 31 04:56:55 headboard ipmievd[5729]: -l lun         Set destination lun for 
raw commands
May 31 04:56:55 headboard ipmievd[5729]: -o oemtype     Setup for OEM (use 
'list' to see available OEM types)
May 31 04:56:55 headboard ipmievd[5729]: -O seloem      Use file for OEM SEL 
event descriptions
May 31 04:56:55 headboard systemd[1]: ipmievd.service: main process exited, 
code=exited, status=1/FAILURE
May 31 04:56:55 headboard systemd[1]: Unit ipmievd.service entered failed state.
May 31 04:56:55 headboard ipmievd[5729]: -N seconds     Specify timeout for lan 
[default=2] / lanplus [default=1] interface
May 31 04:56:55 headboard ipmievd[5729]: -R retry       Set the number of 
retries for lan/lanplus interface [default=4]
May 31 04:56:55 headboard ipmievd[5729]: Interfaces:
May 31 04:56:55 headboard ipmievd[5729]: open          Linux OpenIPMI Interface 
[default]
May 31 04:56:55 headboard ipmievd[5729]: imb           Intel IMB Interface
May 31 04:56:55 headboard ipmievd[5729]: lan           IPMI v1.5 LAN Interface
May 31 04:56:55 headboard ipmievd[5729]: lanplus       IPMI v2.0 RMCP+ LAN 
Interface
May 31 04:56:55 headboard ipmievd[5729]: serial-terminal  Serial Interface, 
Terminal Mode
May 31 04:56:55 headboard ipmievd[5729]: serial-basic  Serial Interface, Basic 
Mode
May 31 04:56:55 headboard ipmievd[5729]: Commands:
May 31 04:56:55 headboard ipmievd[5729]: open          Use OpenIPMI for 
asyncronous notification of events
May 31 04:56:55 headboard ipmievd[5729]: sel           Poll SEL for 
notification of events
May 31 04:56:56 headboard systemd[1]: ipmievd.service holdoff time over, 
scheduling restart.
May 31 04:56:56 headboard systemd[1]: Stopping ipmitool server...
May 31 04:56:56 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:56 headboard systemd[1]: Started ipmitool server.
May 31 04:56:56 headboard ipmievd[5761]: /usr/sbin/ipmievd: option requires an 
argument -- 'D'
May 31 04:56:56 headboard ipmievd[5761]: ipmievd version 1.8.14
May 31 04:56:56 headboard ipmievd[5761]: usage: ipmievd [options...] <command>
May 31 04:56:56 headboard ipmievd[5761]: -h             This help
May 31 04:56:56 headboard ipmievd[5761]: -V             Show version information
May 31 04:56:56 headboard ipmievd[5761]: -v             Verbose (can use 
multiple times)
May 31 04:56:56 headboard ipmievd[5761]: -c             Display output in comma 
separated format
May 31 04:56:56 headboard ipmievd[5761]: -d N           Specify a /dev/ipmiN 
device to use (default=0)
May 31 04:56:56 headboard ipmievd[5761]: -I intf        Interface to use
May 31 04:56:56 headboard ipmievd[5761]: -H hostname    Remote host name for 
LAN interface
May 31 04:56:56 headboard ipmievd[5761]: -p port        Remote RMCP port 
[default=623]
May 31 04:56:56 headboard ipmievd[5761]: -U username    Remote session username
May 31 04:56:56 headboard ipmievd[5761]: -f file        Read remote session 
password from file
May 31 04:56:56 headboard ipmievd[5761]: -z size        Change Size of 
Communication Channel (OEM)
May 31 04:56:56 headboard ipmievd[5761]: -S sdr         Use local file for 
remote SDR cache
May 31 04:56:56 headboard ipmievd[5761]: -D tty:b[:s]   Specify the serial 
device, baud rate to use
May 31 04:56:56 headboard ipmievd[5761]: and, optionally, specify that 
interface is the system one
May 31 04:56:56 headboard ipmievd[5761]: -a             Prompt for remote 
password
May 31 04:56:56 headboard ipmievd[5761]: -Y             Prompt for the Kg key 
for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5761]: -e char        Set SOL escape character
May 31 04:56:56 headboard ipmievd[5761]: -C ciphersuite Cipher suite to be used 
by lanplus interface
May 31 04:56:56 headboard ipmievd[5761]: -k key         Use Kg key for IPMIv2 
authentication
May 31 04:56:56 headboard ipmievd[5761]: -y hex_key     Use hexadecimal-encoded 
Kg key for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5761]: -L level       Remote session 
privilege level [default=ADMINISTRATOR]
May 31 04:56:56 headboard ipmievd[5761]: Append a '+' to use name/privilege 
lookup in RAKP1
May 31 04:56:56 headboard ipmievd[5761]: -A authtype    Force use of auth type 
NONE, PASSWORD, MD2, MD5 or OEM
May 31 04:56:56 headboard ipmievd[5761]: -P password    Remote session password
May 31 04:56:56 headboard ipmievd[5761]: -E             Read password from 
IPMI_PASSWORD environment variable
May 31 04:56:56 headboard ipmievd[5761]: -K             Read kgkey from 
IPMI_KGKEY environment variable
May 31 04:56:56 headboard ipmievd[5761]: -m address     Set local IPMB address
May 31 04:56:56 headboard ipmievd[5761]: -b channel     Set destination channel 
for bridged request
May 31 04:56:56 headboard ipmievd[5761]: -t address     Bridge request to 
remote target address
May 31 04:56:56 headboard ipmievd[5761]: -B channel     Set transit channel for 
bridged request (dual bridge)
May 31 04:56:56 headboard ipmievd[5761]: -T address     Set transit address for 
bridge request (dual bridge)
May 31 04:56:56 headboard ipmievd[5761]: -l lun         Set destination lun for 
raw commands
May 31 04:56:56 headboard ipmievd[5761]: -o oemtype     Setup for OEM (use 
'list' to see available OEM types)
May 31 04:56:56 headboard ipmievd[5761]: -O seloem      Use file for OEM SEL 
event descriptions
May 31 04:56:56 headboard ipmievd[5761]: -N seconds     Specify timeout for lan 
[default=2] / lanplus [default=1] interface
May 31 04:56:56 headboard systemd[1]: ipmievd.service: main process exited, 
code=exited, status=1/FAILURE
May 31 04:56:56 headboard systemd[1]: Unit ipmievd.service entered failed state.
May 31 04:56:56 headboard ipmievd[5761]: -R retry       Set the number of 
retries for lan/lanplus interface [default=4]
May 31 04:56:56 headboard ipmievd[5761]: Interfaces:
May 31 04:56:56 headboard ipmievd[5761]: open          Linux OpenIPMI Interface 
[default]
May 31 04:56:56 headboard ipmievd[5761]: imb           Intel IMB Interface
May 31 04:56:56 headboard ipmievd[5761]: lan           IPMI v1.5 LAN Interface
May 31 04:56:56 headboard ipmievd[5761]: lanplus       IPMI v2.0 RMCP+ LAN 
Interface
May 31 04:56:56 headboard ipmievd[5761]: serial-terminal  Serial Interface, 
Terminal Mode
May 31 04:56:56 headboard ipmievd[5761]: serial-basic  Serial Interface, Basic 
Mode
May 31 04:56:56 headboard ipmievd[5761]: Commands:
May 31 04:56:56 headboard ipmievd[5761]: open          Use OpenIPMI for 
asyncronous notification of events
May 31 04:56:56 headboard ipmievd[5761]: sel           Poll SEL for 
notification of events
May 31 04:56:56 headboard systemd[1]: ipmievd.service holdoff time over, 
scheduling restart.
May 31 04:56:56 headboard systemd[1]: Stopping ipmitool server...
May 31 04:56:56 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:56 headboard systemd[1]: Started ipmitool server.
May 31 04:56:56 headboard ipmievd[5790]: /usr/sbin/ipmievd: option requires an 
argument -- 'D'
May 31 04:56:56 headboard ipmievd[5790]: ipmievd version 1.8.14
May 31 04:56:56 headboard ipmievd[5790]: usage: ipmievd [options...] <command>
May 31 04:56:56 headboard ipmievd[5790]: -h             This help
May 31 04:56:56 headboard ipmievd[5790]: -V             Show version information
May 31 04:56:56 headboard ipmievd[5790]: -v             Verbose (can use 
multiple times)
May 31 04:56:56 headboard ipmievd[5790]: -c             Display output in comma 
separated format
May 31 04:56:56 headboard ipmievd[5790]: -d N           Specify a /dev/ipmiN 
device to use (default=0)
May 31 04:56:56 headboard ipmievd[5790]: -I intf        Interface to use
May 31 04:56:56 headboard ipmievd[5790]: -H hostname    Remote host name for 
LAN interface
May 31 04:56:56 headboard ipmievd[5790]: -p port        Remote RMCP port 
[default=623]
May 31 04:56:56 headboard ipmievd[5790]: -U username    Remote session username
May 31 04:56:56 headboard ipmievd[5790]: -f file        Read remote session 
password from file
May 31 04:56:56 headboard ipmievd[5790]: -z size        Change Size of 
Communication Channel (OEM)
May 31 04:56:56 headboard ipmievd[5790]: -S sdr         Use local file for 
remote SDR cache
May 31 04:56:56 headboard ipmievd[5790]: -D tty:b[:s]   Specify the serial 
device, baud rate to use
May 31 04:56:56 headboard ipmievd[5790]: and, optionally, specify that 
interface is the system one
May 31 04:56:56 headboard ipmievd[5790]: -a             Prompt for remote 
password
May 31 04:56:56 headboard ipmievd[5790]: -Y             Prompt for the Kg key 
for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5790]: -e char        Set SOL escape character
May 31 04:56:56 headboard ipmievd[5790]: -C ciphersuite Cipher suite to be used 
by lanplus interface
May 31 04:56:56 headboard ipmievd[5790]: -k key         Use Kg key for IPMIv2 
authentication
May 31 04:56:56 headboard ipmievd[5790]: -y hex_key     Use hexadecimal-encoded 
Kg key for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5790]: -L level       Remote session 
privilege level [default=ADMINISTRATOR]
May 31 04:56:56 headboard ipmievd[5790]: Append a '+' to use name/privilege 
lookup in RAKP1
May 31 04:56:56 headboard ipmievd[5790]: -A authtype    Force use of auth type 
NONE, PASSWORD, MD2, MD5 or OEM
May 31 04:56:56 headboard ipmievd[5790]: -P password    Remote session password
May 31 04:56:56 headboard ipmievd[5790]: -E             Read password from 
IPMI_PASSWORD environment variable
May 31 04:56:56 headboard ipmievd[5790]: -K             Read kgkey from 
IPMI_KGKEY environment variable
May 31 04:56:56 headboard ipmievd[5790]: -m address     Set local IPMB address
May 31 04:56:56 headboard ipmievd[5790]: -b channel     Set destination channel 
for bridged request
May 31 04:56:56 headboard ipmievd[5790]: -t address     Bridge request to 
remote target address
May 31 04:56:56 headboard ipmievd[5790]: -B channel     Set transit channel for 
bridged request (dual bridge)
May 31 04:56:56 headboard ipmievd[5790]: -T address     Set transit address for 
bridge request (dual bridge)
May 31 04:56:56 headboard ipmievd[5790]: -l lun         Set destination lun for 
raw commands
May 31 04:56:56 headboard ipmievd[5790]: -o oemtype     Setup for OEM (use 
'list' to see available OEM types)
May 31 04:56:56 headboard ipmievd[5790]: -O seloem      Use file for OEM SEL 
event descriptions
May 31 04:56:56 headboard ipmievd[5790]: -N seconds     Specify timeout for lan 
[default=2] / lanplus [default=1] interface
May 31 04:56:56 headboard ipmievd[5790]: -R retry       Set the number of 
retries for lan/lanplus interface [default=4]
May 31 04:56:56 headboard ipmievd[5790]: Interfaces:
May 31 04:56:56 headboard ipmievd[5790]: open          Linux OpenIPMI Interface 
[default]
May 31 04:56:56 headboard ipmievd[5790]: imb           Intel IMB Interface
May 31 04:56:56 headboard ipmievd[5790]: lan           IPMI v1.5 LAN Interface
May 31 04:56:56 headboard ipmievd[5790]: lanplus       IPMI v2.0 RMCP+ LAN 
Interface
May 31 04:56:56 headboard ipmievd[5790]: serial-terminal  Serial Interface, 
Terminal Mode
May 31 04:56:56 headboard ipmievd[5790]: serial-basic  Serial Interface, Basic 
Mode
May 31 04:56:56 headboard ipmievd[5790]: Commands:
May 31 04:56:56 headboard systemd[1]: ipmievd.service: main process exited, 
code=exited, status=1/FAILURE
May 31 04:56:56 headboard systemd[1]: Unit ipmievd.service entered failed state.
May 31 04:56:56 headboard ipmievd[5790]: open          Use OpenIPMI for 
asyncronous notification of events
May 31 04:56:56 headboard ipmievd[5790]: sel           Poll SEL for 
notification of events
May 31 04:56:56 headboard systemd[1]: ipmievd.service holdoff time over, 
scheduling restart.
May 31 04:56:56 headboard systemd[1]: Stopping ipmitool server...
May 31 04:56:56 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:56 headboard systemd[1]: Started ipmitool server.
May 31 04:56:56 headboard ipmievd[5806]: /usr/sbin/ipmievd: option requires an 
argument -- 'D'
May 31 04:56:56 headboard ipmievd[5806]: ipmievd version 1.8.14
May 31 04:56:56 headboard ipmievd[5806]: usage: ipmievd [options...] <command>
May 31 04:56:56 headboard ipmievd[5806]: -h             This help
May 31 04:56:56 headboard ipmievd[5806]: -V             Show version information
May 31 04:56:56 headboard ipmievd[5806]: -v             Verbose (can use 
multiple times)
May 31 04:56:56 headboard ipmievd[5806]: -c             Display output in comma 
separated format
May 31 04:56:56 headboard ipmievd[5806]: -d N           Specify a /dev/ipmiN 
device to use (default=0)
May 31 04:56:56 headboard ipmievd[5806]: -I intf        Interface to use
May 31 04:56:56 headboard ipmievd[5806]: -H hostname    Remote host name for 
LAN interface
May 31 04:56:56 headboard ipmievd[5806]: -p port        Remote RMCP port 
[default=623]
May 31 04:56:56 headboard ipmievd[5806]: -U username    Remote session username
May 31 04:56:56 headboard ipmievd[5806]: -f file        Read remote session 
password from file
May 31 04:56:56 headboard ipmievd[5806]: -z size        Change Size of 
Communication Channel (OEM)
May 31 04:56:56 headboard ipmievd[5806]: -S sdr         Use local file for 
remote SDR cache
May 31 04:56:56 headboard ipmievd[5806]: -D tty:b[:s]   Specify the serial 
device, baud rate to use
May 31 04:56:56 headboard ipmievd[5806]: and, optionally, specify that 
interface is the system one
May 31 04:56:56 headboard ipmievd[5806]: -a             Prompt for remote 
password
May 31 04:56:56 headboard ipmievd[5806]: -Y             Prompt for the Kg key 
for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5806]: -e char        Set SOL escape character
May 31 04:56:56 headboard ipmievd[5806]: -C ciphersuite Cipher suite to be used 
by lanplus interface
May 31 04:56:56 headboard ipmievd[5806]: -k key         Use Kg key for IPMIv2 
authentication
May 31 04:56:56 headboard ipmievd[5806]: -y hex_key     Use hexadecimal-encoded 
Kg key for IPMIv2 authentication
May 31 04:56:56 headboard ipmievd[5806]: -L level       Remote session 
privilege level [default=ADMINISTRATOR]
May 31 04:56:56 headboard ipmievd[5806]: Append a '+' to use name/privilege 
lookup in RAKP1
May 31 04:56:56 headboard ipmievd[5806]: -A authtype    Force use of auth type 
NONE, PASSWORD, MD2, MD5 or OEM
May 31 04:56:56 headboard ipmievd[5806]: -P password    Remote session password
May 31 04:56:56 headboard ipmievd[5806]: -E             Read password from 
IPMI_PASSWORD environment variable
May 31 04:56:56 headboard ipmievd[5806]: -K             Read kgkey from 
IPMI_KGKEY environment variable
May 31 04:56:56 headboard ipmievd[5806]: -m address     Set local IPMB address
May 31 04:56:56 headboard ipmievd[5806]: -b channel     Set destination channel 
for bridged request
May 31 04:56:56 headboard ipmievd[5806]: -t address     Bridge request to 
remote target address
May 31 04:56:56 headboard ipmievd[5806]: -B channel     Set transit channel for 
bridged request (dual bridge)
May 31 04:56:56 headboard ipmievd[5806]: -T address     Set transit address for 
bridge request (dual bridge)
May 31 04:56:56 headboard ipmievd[5806]: -l lun         Set destination lun for 
raw commands
May 31 04:56:56 headboard ipmievd[5806]: -o oemtype     Setup for OEM (use 
'list' to see available OEM types)
May 31 04:56:56 headboard ipmievd[5806]: -O seloem      Use file for OEM SEL 
event descriptions
May 31 04:56:56 headboard ipmievd[5806]: -N seconds     Specify timeout for lan 
[default=2] / lanplus [default=1] interface
May 31 04:56:56 headboard ipmievd[5806]: -R retry       Set the number of 
retries for lan/lanplus interface [default=4]
May 31 04:56:56 headboard ipmievd[5806]: Interfaces:
May 31 04:56:56 headboard ipmievd[5806]: open          Linux OpenIPMI Interface 
[default]
May 31 04:56:56 headboard ipmievd[5806]: imb           Intel IMB Interface
May 31 04:56:56 headboard systemd[1]: ipmievd.service: main process exited, 
code=exited, status=1/FAILURE
May 31 04:56:56 headboard systemd[1]: Unit ipmievd.service entered failed state.
May 31 04:56:56 headboard ipmievd[5806]: lan           IPMI v1.5 LAN Interface
May 31 04:56:56 headboard ipmievd[5806]: lanplus       IPMI v2.0 RMCP+ LAN 
Interface
May 31 04:56:56 headboard ipmievd[5806]: serial-terminal  Serial Interface, 
Terminal Mode
May 31 04:56:56 headboard ipmievd[5806]: serial-basic  Serial Interface, Basic 
Mode
May 31 04:56:56 headboard ipmievd[5806]: Commands:
May 31 04:56:56 headboard ipmievd[5806]: open          Use OpenIPMI for 
asyncronous notification of events
May 31 04:56:56 headboard ipmievd[5806]: sel           Poll SEL for 
notification of events
May 31 04:56:56 headboard systemd[1]: ipmievd.service holdoff time over, 
scheduling restart.
May 31 04:56:56 headboard systemd[1]: Stopping ipmitool server...
May 31 04:56:56 headboard systemd[1]: Starting ipmitool server...
May 31 04:56:56 headboard systemd[1]: ipmievd.service start request repeated 
too quickly, refusing to start.
May 31 04:56:56 headboard systemd[1]: Failed to start ipmitool server.
May 31 04:56:56 headboard systemd[1]: Unit ipmievd.service entered failed state.
diff -ur ipmitool-1.8.14.orig/debian/ipmitool.ipmievd.default ipmitool-1.8.14/debian/ipmitool.ipmievd.default
--- ipmitool-1.8.14.orig/debian/ipmitool.ipmievd.default	2014-05-20 00:31:28.000000000 -0700
+++ ipmitool-1.8.14/debian/ipmitool.ipmievd.default	2014-05-31 06:28:17.337261091 -0700
@@ -1,11 +1,7 @@
 # This is a shell script fraction
 
-#
-# to enable ipmievd set ENABLED="true"
-#
+# To enable ipmievd set ENABLED="true" for sysvinit (ignored by systemd)
 ENABLED="false"
 
-
-# Options to the daemon ipmievd(8).
-#
-IPMIEVD_OPTIONS=""
+# Options to the daemon ipmievd(8)
+IPMIEVD_OPTIONS="open daemon"
diff -ur ipmitool-1.8.14.orig/debian/systemd/ipmitool.ipmievd.service ipmitool-1.8.14/debian/systemd/ipmitool.ipmievd.service
--- ipmitool-1.8.14.orig/debian/systemd/ipmitool.ipmievd.service	2014-05-19 04:50:08.000000000 -0700
+++ ipmitool-1.8.14/debian/systemd/ipmitool.ipmievd.service	2014-05-31 06:59:09.443350825 -0700
@@ -1,12 +1,10 @@
 [Unit]
-Description=ipmitool server
-After=network.target 
+Description=IPMI event daemon
 
 [Service]
+Type=forking
 EnvironmentFile=-/etc/default/ipmievd
-ExecStart=/usr/sbin/ipmievd -D $IPMIEVD_OPTS
-KillMode=process
-Restart=on-failure
+ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
 
 [Install]
 WantedBy=multi-user.target

Attachment: pgpD49uWDcJwY.pgp
Description: PGP signature

Reply via email to