Openembedded Core Discussions
 help / color / mirror / Atom feed
* [wrynose][PATCH] systemd-systemctl-native: disable libpam meson option
@ 2026-06-29  8:41 daniel.turull
  2026-06-29  9:51 ` [OE-core] " Yoann Congal
  0 siblings, 1 reply; 3+ messages in thread
From: daniel.turull @ 2026-06-29  8:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Daniel Turull

From: Daniel Turull <daniel.turull@ericsson.com>

When building on rhel8.10 we got the following crash during do_compile

systemctl-259.5/src/shared/pam-util.c
| ../sources/systemd-systemctl-259.5/src/shared/pam-util.c:3:10: fatal error: security/pam_ext.h: No such file or directory
|     3 | #include <security/pam_ext.h>
|       |          ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| INFO: autodetecting backend as ninja

libpam is not needed for systemctl task done by bitbake, therfore
disable MESON option.

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
---
 meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
index 3d01d60e9c..3c0dcd35a3 100644
--- a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
+++ b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
@@ -12,6 +12,7 @@ MESON_TARGET = "systemctl:executable"
 MESON_INSTALL_TAGS = "systemctl"
 EXTRA_OEMESON += "-Dlink-systemctl-shared=false"
 EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path="
+EXTRA_OEMESON += "-Dpam=disabled"
 
 # Systemctl is supposed to operate on target, but the target sysroot is not
 # determined at run-time, but rather set during configure


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

* Re: [OE-core] [wrynose][PATCH] systemd-systemctl-native: disable libpam meson option
  2026-06-29  8:41 [wrynose][PATCH] systemd-systemctl-native: disable libpam meson option daniel.turull
@ 2026-06-29  9:51 ` Yoann Congal
  2026-06-29 10:12   ` Daniel Turull
  0 siblings, 1 reply; 3+ messages in thread
From: Yoann Congal @ 2026-06-29  9:51 UTC (permalink / raw)
  To: daniel.turull; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]

Le lun. 29 juin 2026 à 10:42, Daniel Turull via lists.openembedded.org
<daniel.turull=ericsson.com@lists.openembedded.org> a écrit :

> From: Daniel Turull <daniel.turull@ericsson.com>
>
> When building on rhel8.10 we got the following crash during do_compile
>
> systemctl-259.5/src/shared/pam-util.c
> | ../sources/systemd-systemctl-259.5/src/shared/pam-util.c:3:10: fatal
> error: security/pam_ext.h: No such file or directory
> |     3 | #include <security/pam_ext.h>
> |       |          ^~~~~~~~~~~~~~~~~~~~
> | compilation terminated.
> | ninja: build stopped: subcommand failed.
> | INFO: autodetecting backend as ninja
>
> libpam is not needed for systemctl task done by bitbake, therfore
> disable MESON option.
>
> Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
>

Hello,

What would be the corresponding master commit? "systemd: upgrade to 261"?

Regards,


> ---
>  meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
> b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
> index 3d01d60e9c..3c0dcd35a3 100644
> --- a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
> +++ b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
> @@ -12,6 +12,7 @@ MESON_TARGET = "systemctl:executable"
>  MESON_INSTALL_TAGS = "systemctl"
>  EXTRA_OEMESON += "-Dlink-systemctl-shared=false"
>  EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path="
> +EXTRA_OEMESON += "-Dpam=disabled"
>
>  # Systemctl is supposed to operate on target, but the target sysroot is
> not
>  # determined at run-time, but rather set during configure
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#239737):
> https://lists.openembedded.org/g/openembedded-core/message/239737
> Mute This Topic: https://lists.openembedded.org/mt/120027421/4316185
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
Yoann Congal
Smile ECS

[-- Attachment #2: Type: text/html, Size: 4237 bytes --]

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

* Re: [OE-core] [wrynose][PATCH] systemd-systemctl-native: disable libpam meson option
  2026-06-29  9:51 ` [OE-core] " Yoann Congal
@ 2026-06-29 10:12   ` Daniel Turull
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Turull @ 2026-06-29 10:12 UTC (permalink / raw)
  To: yoann.congal@smile.fr; +Cc: openembedded-core@lists.openembedded.org

On Mon, 2026-06-29 at 11:51 +0200, Yoann Congal via
lists.openembedded.org wrote:
> 
> 
> Le lun. 29 juin 2026 à 10:42, Daniel Turull via
> lists.openembedded.org
> <daniel.turull=ericsson.com@lists.openembedded.org> a écrit :
> > From: Daniel Turull <daniel.turull@ericsson.com>
> > 
> > When building on rhel8.10 we got the following crash during
> > do_compile
> > 
> > systemctl-259.5/src/shared/pam-util.c
> > | ../sources/systemd-systemctl-259.5/src/shared/pam-util.c:3:10:
> > fatal error: security/pam_ext.h: No such file or directory
> > |     3 | #include <security/pam_ext.h>
> > |       |          ^~~~~~~~~~~~~~~~~~~~
> > | compilation terminated.
> > | ninja: build stopped: subcommand failed.
> > | INFO: autodetecting backend as ninja
> > 
> > libpam is not needed for systemctl task done by bitbake, therfore
> > disable MESON option.
> > 
> > Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
> 
> 
> Hello,
> 
> What would be the corresponding master commit? "systemd: upgrade to
> 261"?
> 

Yes. 

I have tested the CVE fix in the rhel8 machine and I found the same
issue that when I did the systemd upgrade


Regards,

Daniel 
>  
> > 


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

end of thread, other threads:[~2026-06-29 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29  8:41 [wrynose][PATCH] systemd-systemctl-native: disable libpam meson option daniel.turull
2026-06-29  9:51 ` [OE-core] " Yoann Congal
2026-06-29 10:12   ` Daniel Turull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox