From fe7a6c904b216a5dc3f1b88077a3b8d181c8656a Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Tue, 22 Feb 2022 11:53:56 +0100 Subject: [PATCH] profiles: enable su USE flag for shadow Enable su USE flag for shadow, because shadow >= 4.11 does not have it by default. Ideally util-linux should have the su binary, but that is currently not possible, because of a bunch of additional dependencies in SDK like pam_sssd in baselayout. --- .../coreos-overlay/profiles/coreos/base/package.use | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index df8d6d701f..57f2da854f 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -139,3 +139,9 @@ dev-libs/openssl fips # enables ELF support to e.g. allow tc to handle BPF filters. sys-apps/iproute2 elf + +# Enable su for shadow, because shadow >= 4.11 does not have it by default. +# Ideally util-linux should have the su binary, but that is currently not +# possible, because of a bunch of additional dependencies in SDK like +# pam_sssd in baselayout. +sys-apps/shadow su