[Bug 1651111] Re: invoke-rc.d starts disabled systemd service if there are init scripts
ChristianEhrhardt
1651111 at bugs.launchpad.net
Tue Dec 20 08:22:15 UTC 2016
Directly from the install:
See "systemctl status ipmi_port.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ipmi_port, action "start" failed.
● ipmi_port.service - ipmiutil ipmi_port service
Loaded: loaded (/lib/systemd/system/ipmi_port.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2016-12-20 08:18:20 UTC; 5ms ago
Process: 525 ExecStart=/usr/share/ipmiutil/ipmiutil.setup >/dev/null && /usr/sbin/ipmi_port -b || : (code=exited, status=6)
Dec 20 08:18:20 yakkety-test systemd[1]: Starting ipmiutil ipmi_port service...
Dec 20 08:18:20 yakkety-test ipmiutil.setup[525]: Cannot map memory.
Dec 20 08:18:20 yakkety-test ipmiutil.setup[525]: Cannot open an IPMI driver: /dev/imb, /dev/ipmi0, /dev/ipmi/0,
Dec 20 08:18:20 yakkety-test ipmiutil.setup[525]: or direct driverless.
Dec 20 08:18:20 yakkety-test systemd[1]: ipmi_port.service: Control process exited, code=exited status=6
Dec 20 08:18:20 yakkety-test systemd[1]: Failed to start ipmiutil ipmi_port service.
Dec 20 08:18:20 yakkety-test systemd[1]: ipmi_port.service: Unit entered failed state.
Dec 20 08:18:20 yakkety-test systemd[1]: ipmi_port.service: Failed with result 'exit-code'.
I just checked the same applies to latest Debian and Ubuntu-Zesty.
Long term this clearly should be addressed in init-system-helpers as well.
Maybe for a faster solution of this particular case also an issue against ipmiutils?
3.0.0-2
** Also affects: ipmiutil (Ubuntu)
Importance: Undecided
Status: New
** Changed in: init-system-helpers (Ubuntu)
Status: New => Confirmed
** Changed in: ipmiutil (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to init-system-helpers in Ubuntu.
https://bugs.launchpad.net/bugs/1651111
Title:
invoke-rc.d starts disabled systemd service if there are init scripts
Status in init-system-helpers package in Ubuntu:
Confirmed
Status in ipmiutil package in Ubuntu:
Confirmed
Bug description:
ipmi-util failed to install on Ubuntu 16.10.
https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/1639823
invoke-rc.d from init-system-helpers 1.29ubuntu3 performs check
services is not disabled. ipmi_port.service is disabled and as a
result invoke-rc.d doesn't try to start it and installation completed
successfully.
invoke-rc.d from init-system-helpers 1.45 has more complicated check.
If systemd service (ipmi_port.service) is not enabled but there are
init.d scripts with the same name (/etc/rc2.d/S01ipmi_port
/etc/rc3.d/S01ipmi_port /etc/rc4.d/S01ipmi_port
/etc/rc5.d/S01ipmi_port) then invoke-rc.d starts service.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1651111/+subscriptions
More information about the foundations-bugs
mailing list