Skip to contentSkip to conversation

harden.conf: drop debug-tweaks

PATCH Superseded Armin Kuster 2 participants 5 messages Dec 8, 2024 – Dec 15, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 harden.conf: drop debug-tweaks

---
 meta-hardening/conf/distro/harden.conf | 1 -
 1 file changed, 1 deletion(-)
meta-hardening/conf/distro/harden.conf +0 -1
index 1a5eb3d..fe87270 100644
@@ -6,6 +6,5 @@ DISTRO_FEATURES = " acl xattr pci ext2 pam ipv4 ipv6 ipsec largefile usbhost"
 
 VIRTUAL-RUNTIME_base-utils-syslog ?= "rsyslog"
 IMAGE_ROOTFS_EXTRA_SPACE = "524288"
-EXTRA_IMAGE_FEATURES:remove = "debug-tweaks"
 
 DISABLE_ROOT ?= "True"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 drop: debug-tweaks from ci

---
 kas/kas-security-base.yml | 1 -
 1 file changed, 1 deletion(-)
kas/kas-security-base.yml +0 -1
index fa7915c..bdd74b1 100644
@@ -43,7 +43,6 @@ local_conf_header:
     BB_TASK_IONICE_LEVEL = '2.7'
     BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
     TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
     PACKAGE_CLASSES = "package_ipk"
 
     DISTRO_FEATURES:append = " security pam apparmor smack ima tpm tpm2"
Signature · 1 line
2.43.0
#2 lore raw

Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci

Hi,

Quoted 10 lines · Armin Kuster via lists.yoctoproject.org
---
 kas/kas-security-base.yml | 1 -
 1 file changed, 1 deletion(-)
kas/kas-security-base.yml +0 -0
index fa7915c..bdd74b1 100644

kas/kas-security-base.yml local_conf_header: · line 46

Quoted 4 lines
kas/kas-security-base.yml +0 -1
@@ -43,7 +43,6 @@ local_conf_header:
     BB_TASK_IONICE_LEVEL = '2.7'
     BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
     TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"

For testing purposes this is needed:

kas/kas-security-base.yml +1 -1
@@ -43,7 +43,7 @@ local_conf_header:
     BB_TASK_IONICE_LEVEL = '2.7'
     BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
     TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+    EXTRA_IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login"
     PACKAGE_CLASSES = "package_ipk"
 
     DISTRO_FEATURES:append = " security pam apparmor smack ima tpm tpm2"

Or is this to be replaced by something else?

I'm trying come up with a set of patches which pass some of the runtime tests again.

Cheers,

-Mikko

author
#3 lore raw

Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci

Quoted 22 lines · Mikko Rapeli via lists.yoctoproject.org

Hi,

Quoted 10 lines · Armin Kuster via lists.yoctoproject.org
---
  kas/kas-security-base.yml | 1 -
  1 file changed, 1 deletion(-)
kas/kas-security-base.yml +0 -0
index fa7915c..bdd74b1 100644

kas/kas-security-base.yml local_conf_header: · line 46

Quoted 4 lines
kas/kas-security-base.yml +0 -1
@@ -43,7 +43,6 @@ local_conf_header:
      BB_TASK_IONICE_LEVEL = '2.7'
      BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
      TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"

For testing purposes this is needed:

kas/kas-security-base.yml local_conf_header: · line 49

Quoted 8 lines
kas/kas-security-base.yml +1 -1
@@ -43,7 +43,7 @@ local_conf_header:
      BB_TASK_IONICE_LEVEL = '2.7'
      BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
      TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+    EXTRA_IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login"
      PACKAGE_CLASSES = "package_ipk"
 
      DISTRO_FEATURES:append = " security pam apparmor smack ima tpm tpm2"

That looks correct.

Quoted 18 lines

Or is this to be replaced by something else?

I'm trying come up with a set of patches which pass some of the runtime tests again.

Cheers,

-Mikko

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#871): https://lists.yoctoproject.org/g/yocto-patches/message/871
Mute This Topic: https://lists.yoctoproject.org/mt/109992719/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13197873/3616698/1325074317/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw

Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci

In reply to Mikko Rapeli
Quoted 22 lines · Mikko Rapeli via lists.yoctoproject.org

Hi,

Quoted 10 lines · Armin Kuster via lists.yoctoproject.org
---
  kas/kas-security-base.yml | 1 -
  1 file changed, 1 deletion(-)
kas/kas-security-base.yml +0 -0
index fa7915c..bdd74b1 100644

kas/kas-security-base.yml local_conf_header: · line 46

Quoted 4 lines
kas/kas-security-base.yml +0 -1
@@ -43,7 +43,6 @@ local_conf_header:
      BB_TASK_IONICE_LEVEL = '2.7'
      BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
      TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"

For testing purposes this is needed:

kas/kas-security-base.yml local_conf_header: · line 46

Quoted 5 lines
kas/kas-security-base.yml +1 -1
@@ -43,7 +43,7 @@ local_conf_header:
      BB_TASK_IONICE_LEVEL = '2.7'
      BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
      TEST_QEMUBOOT_TIMEOUT = "1500"
-    EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+    EXTRA_IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login"

I think the harden.conf will use:

EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login"

- armin

Quoted 23 lines
kas/kas-security-base.yml +0 -0
      PACKAGE_CLASSES = "package_ipk"
 
      DISTRO_FEATURES:append = " security pam apparmor smack ima tpm tpm2"

Or is this to be replaced by something else?

I'm trying come up with a set of patches which pass some of the runtime tests again.

Cheers,

-Mikko

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#871): https://lists.yoctoproject.org/g/yocto-patches/message/871
Mute This Topic: https://lists.yoctoproject.org/mt/109992719/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13197873/3616698/1325074317/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-