summaryrefslogtreecommitdiffstats
path: root/core/modules/sssd
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-03 18:04:59 +0200
committerYour Name2020-08-03 18:04:59 +0200
commita069ecafe76710cdc758f5c79a7c000bfe3a7e76 (patch)
treebc8de78515c7b5d0c24ffc3e7e216e5d846082bb /core/modules/sssd
parent[rfs-stage31] Fix hostname lookup for newer busybox nslookup (diff)
downloadmltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.tar.gz
mltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.tar.xz
mltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.zip
[systemd-distro] Get this module into working state, switch
Diffstat (limited to 'core/modules/sssd')
-rw-r--r--core/modules/sssd/module.build7
-rw-r--r--core/modules/sssd/module.conf10
-rw-r--r--core/modules/sssd/templates/sssd-systemd.service16
3 files changed, 1 insertions, 32 deletions
diff --git a/core/modules/sssd/module.build b/core/modules/sssd/module.build
index daa5a9c0..3f124d9c 100644
--- a/core/modules/sssd/module.build
+++ b/core/modules/sssd/module.build
@@ -9,13 +9,6 @@ build() {
list_packet_files >> "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
-
- local SSSD_PATH="$(which sssd)"
- [ -z "$SSSD_PATH" ] && perror "'sssd' not found on this system. Should have been installed! Something is wrong..."
-
- # Build nslcd service file
- mkdir -p "${MODULE_BUILD_DIR}/etc/systemd/system"
- sed "s,%PATH%,${SSSD_PATH},g" "${MODULE_DIR}/templates/sssd-systemd.service" > "${MODULE_BUILD_DIR}/etc/systemd/system/sssd.service" || perror "Could not fill sssd.service template"
}
post_copy() {
diff --git a/core/modules/sssd/module.conf b/core/modules/sssd/module.conf
index 461b3db9..93f1cee9 100644
--- a/core/modules/sssd/module.conf
+++ b/core/modules/sssd/module.conf
@@ -4,16 +4,8 @@ REQUIRED_BINARIES="
"
REQUIRED_FILES="
/etc/default/sssd
- /etc/systemd/system/sssd.service
"
-# lib/ is needed to fetch lib/x86..../security/pam_sss.so module
-# could do it using the SYS_PAM_MODULE_PATH, but using that in the
-# module.conf seems hacky...
-#
-# usr/lib is needed to get the ldb modules, e.g.:
-# usr/lib/x86_64-linux-gnu/ldb/modules/ldb/ldap.so
-#
REQUIRED_DIRECTORIES="
/lib
- /usr/lib
+ /usr
"
diff --git a/core/modules/sssd/templates/sssd-systemd.service b/core/modules/sssd/templates/sssd-systemd.service
deleted file mode 100644
index c691759a..00000000
--- a/core/modules/sssd/templates/sssd-systemd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=System Security Services Daemon
-# SSSD will not be started until syslog is
-After=syslog.target
-
-[Service]
-EnvironmentFile=-/etc/sysconfig/sssd
-ExecStartPre=/opt/openslx/scripts/systemd-patch_sssd_conf
-ExecStart=%PATH% -i -f
-# These two should be used with traditional UNIX forking daemons
-# consult systemd.service(5) for more details
-PIDFile=/var/run/sssd.pid
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target