[s2600wf]: Two services conflict
Zheng Bao
fishbaoz at hotmail.com
Thu Dec 5 20:30:51 AEDT 2019
Hi,
I tested the s2600wf on both qemu and real HW.
Journal says:
Jan 01 00:00:37 s2600wf systemd[1]: xyz.openbmc_project.State.Host.service: Two services allocated for the same bus name xyz.openbmc_project.State.Host, refusing operation.
Jan 01 00:00:37 s2600wf systemd[1]: xyz.openbmc_project.State.Host.service: Cannot add dependency job, ignoring: Unit xyz.openbmc_project.State.Host.service failed to load properly: File exists.
--------------------
One is from xyz.openbmc_project.State.Host.service in module phosphor-state-manager:
[Unit]
Description=Phosphor Host State Manager
Wants=mapper-wait at -xyz-openbmc_project-control-host0-auto_reboot.service
After=mapper-wait at -xyz-openbmc_project-control-host0-auto_reboot.service
Before=mapper-wait at -xyz-openbmc_project-state-host.service
After=phosphor-reset-host-running at 0.service
Wants=obmc-mapper.target
After=obmc-mapper.target
[Service]
ExecStart=/usr/bin/env phosphor-host-state-manager
SyslogIdentifier=phosphor-host-state-manager
Restart=always
Type=dbus
BusName=xyz.openbmc_project.State.Host
[Install]
WantedBy=multi-user.target
------------------------------
The other is from xyz.openbmc_project.Chassis.Control.Power.service in module x86-power-control:
[Unit]
Description=Intel Power Control
[Service]
Restart=always
RestartSec=3
ExecStart=/usr/bin/power-control
Type=dbus
BusName=xyz.openbmc_project.State.Host
[Install]
WantedBy=sysinit.target
-----------------------
Both service file declare the BusName as xyz.openbmc_project.State.Host. That seems to be why they conflict.
Should I remove one of them?
Thanks.
Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191205/92f2d453/attachment.htm>
More information about the openbmc
mailing list