diff mbox series

[meta-security,02/10] sssd: fix missing python3-core run-time dependency

Message ID 20241025082239.3468351-3-gael.portay+rtone@gmail.com
State New
Headers show
Series sssd: fix python3 support | expand

Commit Message

Gaël PORTAY Oct. 25, 2024, 8:22 a.m. UTC
The internal tool sss_analyze is a python script run by the sssctl
command analyze.

The script sss_analyze is shipped by the package sssd since 2.6.0.

However, the package sssd lacks installing the python interpreter that
is required to run the script.

This adds the missing run-time dependency python3-core to ensure the
interpreter python3 comes along the package sssd.

Fixes:

	root@qemux86-64:~# sssctl analyze
	env: can't execute 'python3': No such file or directory
	Command '/usr/libexec/sssd/sss_analyze' failed with [127]

Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com>
---
 .../networking-layer/recipes-security/sssd/sssd_2.9.2.bb        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb
index fcf25bd..f6bbac3 100644
--- a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb
+++ b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb
@@ -156,4 +156,4 @@  FILES:${PN} += "${base_libdir}/security/pam_sss*.so  \
 
 FILES:libsss-sudo = "${libdir}/libsss_sudo.so"
 
-RDEPENDS:${PN} = "bind bind-utils dbus libldb libpam libsss-sudo"
+RDEPENDS:${PN} = "bind bind-utils dbus libldb libpam libsss-sudo python3-core"