Make sure that /etc/lms exists when installing LMS otherwise starting the service will result in errors:
| Nov 15 08:30:17 intel-corei7-64 systemd[1052]: lms.service: Failed to set up mount namespacing: /run/systemd/unit-root/etc/lms: No such file or directory | Nov 15 08:30:17 intel-corei7-64 systemd[1052]: lms.service: Failed at step NAMESPACE spawning /usr/bin/lms: No such file or directory | Nov 15 08:30:17 intel-corei7-64 systemd[1]: lms.service: Main process exited, code=exited, status=226/NAMESPACE | Nov 15 08:30:17 intel-corei7-64 systemd[1]: lms.service: Failed with result 'exit-code'. | Nov 15 08:30:17 intel-corei7-64 systemd[1]: Failed to start Local Manageability Service. Signed-off-by: Anuj Mittal <[email protected]> --- .../openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb index f981af75..17681482 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb @@ -36,6 +36,7 @@ SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \ SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1" do_install:append() { + install -d ${D}${sysconfdir}/lms install -d ${D}${systemd_system_unitdir} install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} install -d ${D}${sysconfdir}/udev/rules.d -- 2.41.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8149): https://lists.yoctoproject.org/g/meta-intel/message/8149 Mute This Topic: https://lists.yoctoproject.org/mt/102639749/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/leave/6694807/21656/1869269227/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
