systemd-systemctl-native: disable libpam meson option
PATCH 1/1 systemd-systemctl-native: disable libpam meson option
From: Daniel Turull <[email protected]>
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.
--- meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +1 -0
@@ -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
Quoted 13 lines · Daniel Turull via lists.openembedded.org
From: Daniel Turull <[email protected]>
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
Quoted 5 lines
libpam is not needed for systemctl task done by bitbake, therfore disable MESON option.
Signed-off-by Daniel Turull <[email protected]>
Hello,
What would be the corresponding master commit? "systemd: upgrade to 261"?
Regards,
Quoted 30 lines
--- meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +1
-0@@ -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 isnot
# 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Yoann Congal Smile ECS
Quoted 22 lines · Yoann Congal via lists.openembedded.org
Le lun. 29 juin 2026 à 10:42, Daniel Turull via lists.openembedded.org <[email protected]> a écrit :
Quoted 17 lines
From: Daniel Turull <[email protected]>
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 ninjalibpam is not needed for systemctl task done by bitbake, therfore disable MESON option.
Quoted 8 lines
Quoted 1 line
Signed-off-by Daniel Turull <[email protected]>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
Quoted 2 lines
Quoted 1 line