[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] [PATCH] Add libsss_sudo for sudo + fedora/sssd container



ehlo,

We changed packaging in sssd-1.13.3-3.fc23 and sssd plugin for sudo
is in separate package and not in sssd-common. It's a minimal package
which depends only on glibc and communicate with sssd (daemon/container)
via unix socket. It's similar to other plugins in sssd-client.

sh$ rpm -q --requires libsss_sudo
/sbin/ldconfig
/sbin/ldconfig
/sbin/ldconfig
/sbin/ldconfig
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.12)(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)

It would be good if the package could be included in atomic host
and then Jan can update his blog post
http://www.adelton.com/docs/docker/fedora-atomic-sssd-container

LS
>From 527b1e1f4cf695951f7f42077115981103dec40c Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn redhat com>
Date: Mon, 25 Jan 2016 13:02:52 +0100
Subject: [PATCH] Add libsss_sudo for sudo + fedora/sssd container

Central management of the sudo rules could not be used with
a container (fedora/sssd) because the Fedora Atomic Host ostree
did not contain the necessary library.

  atomic$ sudo id
  sudo: unable to load /usr/lib64/libsss_sudo.so: /usr/lib64/libsss_sudo.so:
        cannot open shared object file: No such file or directory
  sudo: unable to initialize SSS source. Is SSSD installed on your machine?

This change is related to adding sssd-client on atomic host.
5aef550246201bf0b9df976cd9c079ba5536b88c
See:
- https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2015-October/msg00055.html
---
 fedora-atomic-docker-host.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fedora-atomic-docker-host.json b/fedora-atomic-docker-host.json
index e818ec1b443fd22be130ce409f883e61103a3064..d981e6b81b1854c461febc9d5f4ab4e3655c28d5 100644
--- a/fedora-atomic-docker-host.json
+++ b/fedora-atomic-docker-host.json
@@ -23,7 +23,8 @@
     "check-groups": { "type": "file", "filename": "group" },
 
     "packages": ["atomic",
-		 "glibc", "nss-altfiles", "shadow-utils", "sssd-client",
+		 "glibc", "nss-altfiles", "shadow-utils",
+		 "sssd-client", "libsss_sudo",
 		 "fedora-release",
 		 "dracut-config-generic", "kernel",
 		 "dracut-network",
-- 
2.5.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]