From 2805f94e920a385a62dc67146fe80f98af70de80 Mon Sep 17 00:00:00 2001 From: Natalie Gaston Date: Thu, 27 Feb 2025 11:02:36 -0800 Subject: [PATCH 1/2] Always add /var/intel-manageability directory for SQLITE3 DB --- inbm/fpm/mqtt/template/usr/bin/mqtt-ensure-secret-mounted | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inbm/fpm/mqtt/template/usr/bin/mqtt-ensure-secret-mounted b/inbm/fpm/mqtt/template/usr/bin/mqtt-ensure-secret-mounted index 866177063..e9556b75d 100755 --- a/inbm/fpm/mqtt/template/usr/bin/mqtt-ensure-secret-mounted +++ b/inbm/fpm/mqtt/template/usr/bin/mqtt-ensure-secret-mounted @@ -22,6 +22,9 @@ if mountpoint -q "/mnt/udm-luks" ; then # Ensure public directory exists mkdir -p "$TC_PUBLIC" + # Ensure this directory exists as it is also used for SQLITE3 DB + mkdir -p "$TC_SECRET_IMG_DIR" + # Exit the script since we've completed the necessary steps for UDM mode exit 0 fi From e2fc7d00a78dcb5afbe3b914d64d2be5dc245b8c Mon Sep 17 00:00:00 2001 From: Natalie Gaston Date: Thu, 27 Feb 2025 11:29:31 -0800 Subject: [PATCH 2/2] Update changelog --- inbm/Changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/inbm/Changelog.md b/inbm/Changelog.md index 807c3a46c..1aa572677 100644 --- a/inbm/Changelog.md +++ b/inbm/Changelog.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## X.X.X - YYYY-MM-DD ### Changed +- (NEXMANAGE-1272) Fix /var/intel-manageability directory not being created when using LUKS which is needed for sqlite3 - (NEXMANAGE-956) Improve failure reason from TC that is logged in Mjunct DB for FOTA - (NEXMANAGE-1194) provision-tc/mqtt services will now handle UDM - (NEXMANAGE-1253) Implement INBS (UDM) decommission command, which removes device credentials