Skip to contentSkip to conversation

ima-policy-hashed: add CGROUP2_SUPER_MAGIC fsmagic

PATCH In review Ming Liu 2 participants 2 messages Mar 1, 2021 – Mar 4, 2021

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 ima-policy-hashed: add CGROUP2_SUPER_MAGIC fsmagic

From: Ming Liu <[email protected]>

This fixes following systemd boot issues:

[    7.455580] systemd[1]: Failed to create /init.scope control group: Permission denied
[    7.457677] systemd[1]: Failed to allocate manager object: Permission denied
[!!!!!!] Failed to allocate manager object.
[    7.459270] systemd[1]: Freezing execution.
---
 .../recipes-security/ima_policy_hashed/files/ima_policy_hashed | 3 +++
 1 file changed, 3 insertions(+)
meta-integrity/recipes-security/ima_policy_hashed/files/ima_policy_hashed +3 -0
index 7f89c8d..4d9e4ca 100644
@@ -53,6 +53,9 @@ dont_measure fsmagic=0x43415d53
 # CGROUP_SUPER_MAGIC
 dont_appraise fsmagic=0x27e0eb
 dont_measure fsmagic=0x27e0eb
+# CGROUP2_SUPER_MAGIC
+dont_appraise fsmagic=0x63677270
+dont_measure fsmagic=0x63677270
 # EFIVARFS_MAGIC
 dont_appraise fsmagic=0xde5e81e4
 dont_measure fsmagic=0xde5e81e4
Signature · 1 line
2.29.0
#1 lore raw

merged.
Thanks,
Armin

Quoted 27 lines · On 3/1/21 4:35 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

This fixes following systemd boot issues:

[    7.455580] systemd[1]: Failed to create /init.scope control group: Permission denied
[    7.457677] systemd[1]: Failed to allocate manager object: Permission denied
[!!!!!!] Failed to allocate manager object.
[    7.459270] systemd[1]: Freezing execution.
---
 .../recipes-security/ima_policy_hashed/files/ima_policy_hashed | 3 +++
 1 file changed, 3 insertions(+)
meta-integrity/recipes-security/ima_policy_hashed/files/ima_policy_hashed +3 -0
index 7f89c8d..4d9e4ca 100644
@@ -53,6 +53,9 @@ dont_measure fsmagic=0x43415d53
 # CGROUP_SUPER_MAGIC
 dont_appraise fsmagic=0x27e0eb
 dont_measure fsmagic=0x27e0eb
+# CGROUP2_SUPER_MAGIC
+dont_appraise fsmagic=0x63677270
+dont_measure fsmagic=0x63677270
 # EFIVARFS_MAGIC
 dont_appraise fsmagic=0xde5e81e4
 dont_measure fsmagic=0xde5e81e4