Example of minimal / container oriented SSSD build#8391
Example of minimal / container oriented SSSD build#8391alexey-tikhonov wants to merge 3 commits intoSSSD:masterfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request provides an example of a minimal, container-oriented SSSD build. The changes are extensive and consistently applied across Makefile.am, configure.ac scripts, and the RPM spec file. Key changes include switching the logging backend to stderr, removing hardcoded file capabilities, and disabling integration with systemd, SELinux, netlink, and systemtap. These modifications are logical for creating a stripped-down SSSD build suitable for container environments, reducing the image size and runtime dependencies. The implementation appears correct and internally consistent.
|
An example of a Note that if 'sssd-ipa' or 'sssd-ad' is being used on a minimal image without 'systemd', it's recommended to install 'systemd-standalone-tmpfiles' first otherwise Samba dependencies might pull in entire 'systemd'. |
fe2ccbc to
e3c81c9
Compare
e3c81c9 to
68a07b6
Compare
68a07b6 to
70632fe
Compare
70632fe to
ab052ec
Compare
Those depends on 'systemd' integration.
- don't build 'systemtap' support - don't build 'systemd' integration - build '--with-syslog=stderr' - don't build 'libnl' support
ab052ec to
9897046
Compare
This example can be used as inspiration for how to build a tailored SSSD package suitable for container use cases.
Patch
containers friendly ./configure settingsexcludes features typically unused within a container, and patchbuild and package SSSD without any file capabilitiesremoves all capabilities (for a price described here) to cater for a case of a restricted profile.Note that a special build isn't always necessarily and depending on a specific case, stock package might be used as well.