All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-security][PATCH 1/2] harden.conf: drop debug-tweaks
@ 2024-12-08 17:53 Armin Kuster
  2024-12-08 17:53 ` [meta-security][PATCH 2/2] drop: debug-tweaks from ci Armin Kuster
  0 siblings, 1 reply; 5+ messages in thread
From: Armin Kuster @ 2024-12-08 17:53 UTC (permalink / raw)
  To: yocto-patches

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-hardening/conf/distro/harden.conf | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-hardening/conf/distro/harden.conf b/meta-hardening/conf/distro/harden.conf
index 1a5eb3d..fe87270 100644
--- a/meta-hardening/conf/distro/harden.conf
+++ b/meta-hardening/conf/distro/harden.conf
@@ -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"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-security][PATCH 2/2] drop: debug-tweaks from ci
  2024-12-08 17:53 [meta-security][PATCH 1/2] harden.conf: drop debug-tweaks Armin Kuster
@ 2024-12-08 17:53 ` Armin Kuster
  2024-12-09  7:52   ` [yocto-patches] " Mikko Rapeli
  0 siblings, 1 reply; 5+ messages in thread
From: Armin Kuster @ 2024-12-08 17:53 UTC (permalink / raw)
  To: yocto-patches

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 kas/kas-security-base.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kas/kas-security-base.yml b/kas/kas-security-base.yml
index fa7915c..bdd74b1 100644
--- a/kas/kas-security-base.yml
+++ b/kas/kas-security-base.yml
@@ -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"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci
  2024-12-08 17:53 ` [meta-security][PATCH 2/2] drop: debug-tweaks from ci Armin Kuster
@ 2024-12-09  7:52   ` Mikko Rapeli
  2024-12-15 20:20     ` akuster808
  2024-12-15 20:29     ` akuster808
  0 siblings, 2 replies; 5+ messages in thread
From: Mikko Rapeli @ 2024-12-09  7:52 UTC (permalink / raw)
  To: yocto-patches

Hi,

On Sun, Dec 08, 2024 at 12:53:18PM -0500, Armin Kuster via lists.yoctoproject.org wrote:
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  kas/kas-security-base.yml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/kas/kas-security-base.yml b/kas/kas-security-base.yml
> index fa7915c..bdd74b1 100644
> --- a/kas/kas-security-base.yml
> +++ b/kas/kas-security-base.yml
> @@ -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:

--- a/kas/kas-security-base.yml
+++ b/kas/kas-security-base.yml
@@ -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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci
  2024-12-09  7:52   ` [yocto-patches] " Mikko Rapeli
@ 2024-12-15 20:20     ` akuster808
  2024-12-15 20:29     ` akuster808
  1 sibling, 0 replies; 5+ messages in thread
From: akuster808 @ 2024-12-15 20:20 UTC (permalink / raw)
  To: mikko.rapeli=linaro.org; +Cc: yocto-patches




On 12/9/24 2:52 AM, Mikko Rapeli via lists.yoctoproject.org wrote:
> Hi,
>
> On Sun, Dec 08, 2024 at 12:53:18PM -0500, Armin Kuster via lists.yoctoproject.org wrote:
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>>   kas/kas-security-base.yml | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/kas/kas-security-base.yml b/kas/kas-security-base.yml
>> index fa7915c..bdd74b1 100644
>> --- a/kas/kas-security-base.yml
>> +++ b/kas/kas-security-base.yml
>> @@ -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:
>
> --- a/kas/kas-security-base.yml
> +++ b/kas/kas-security-base.yml
> @@ -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.

> 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: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13197873/3616698/1325074317/xyzzy [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto-patches] [meta-security][PATCH 2/2] drop: debug-tweaks from ci
  2024-12-09  7:52   ` [yocto-patches] " Mikko Rapeli
  2024-12-15 20:20     ` akuster808
@ 2024-12-15 20:29     ` akuster808
  1 sibling, 0 replies; 5+ messages in thread
From: akuster808 @ 2024-12-15 20:29 UTC (permalink / raw)
  To: Mikko Rapeli; +Cc: yocto-patches




On 12/9/24 2:52 AM, Mikko Rapeli via lists.yoctoproject.org wrote:
> Hi,
>
> On Sun, Dec 08, 2024 at 12:53:18PM -0500, Armin Kuster via lists.yoctoproject.org wrote:
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>>   kas/kas-security-base.yml | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/kas/kas-security-base.yml b/kas/kas-security-base.yml
>> index fa7915c..bdd74b1 100644
>> --- a/kas/kas-security-base.yml
>> +++ b/kas/kas-security-base.yml
>> @@ -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:
>
> --- a/kas/kas-security-base.yml
> +++ b/kas/kas-security-base.yml
> @@ -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

>       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: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13197873/3616698/1325074317/xyzzy [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-15 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-08 17:53 [meta-security][PATCH 1/2] harden.conf: drop debug-tweaks Armin Kuster
2024-12-08 17:53 ` [meta-security][PATCH 2/2] drop: debug-tweaks from ci Armin Kuster
2024-12-09  7:52   ` [yocto-patches] " Mikko Rapeli
2024-12-15 20:20     ` akuster808
2024-12-15 20:29     ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.