Bug#827468: ipmitool: postinst unintentionally starts ipmievd.service

2016-09-09 Thread Jörg Frings-Fürst
fixed 827468 ipmitool/1.8.15-1
thanks

Hello Geoffrey,

thank you for spending your time helping to make Debian better with
this bug report.

The bug is fixed since ipmitool 1.8.15-1:

 * debian/rules:
- Add override_dh_systemd_enable to disable start after a fresh install.

I disable it only on a fresh install. At upgrade I don't change the
enable status.

With systemd /etc/default/ipmievd is not used:

#
# To enable ipmievd set ENABLED="true" for sysvinit (ignored by systemd)
# 

I think (ignored by systemd) is clear enough.

At systems with systemd init you must use for enable/disable the start
at boot 

systemctl [enable|disable] ipmievd


I close this bug now.

CU
Jörg

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key: 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54470 Lieser

Threema: SYR8SJXB

IRC: j_...@freenode.net
 j_...@oftc.net

My wish list: 
 - Please send me a picture from the nature at your home.


signature.asc
Description: This is a digitally signed message part


Bug#827468: ipmitool: postinst unintentionally starts ipmievd.service

2016-06-16 Thread Geoffrey Thomas

Package: ipmitool
Version: 1.8.14-4

Hi maintainer,

When I install the ipmitool package on Jessie (either 1.8.14-4 from 
stable, or a local backport of 1.8.17-1 to Jessie), the ipmievd.service 
systemd unit starts up, even though the packaging implies the intention is 
that it should not start up unless explicitly enabled. I think what's 
happening is that the package writes out an /etc/default/ipmievd that's 
supposed to disable the initscript, but on a machine where init is 
systemd, `invoke-rc.d ipmievd start` runs the systemd unit, which doesn't 
look at /etc/default/ipmievd.


Since the systemd unit is not explicitly enabled, after a reboot, ipmievd 
isn't running. So this looks like unintentional behavior.


I'm not sure what the right fix for this is. `dh_installinit --no-start` 
definitely solves the problem on systems where systemd is init, but maybe 
you want to restart ipmievd for systems that have it enabled and are using 
sysvinit as init.


Thanks,
--
Geoffrey Thomas
https://ldpreload.com
geo...@ldpreload.com