URL: https://github.com/SSSD/sssd/pull/5733 Author: joakim-tjernlund Title: #5733: Work around issue #5729 Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5733/head:pr5733 git checkout pr5733
From b1a2db9ced06cd7a9ec9c54e2061d915e5c7d7a2 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund <joakim.tjernl...@infinera.com> Date: Tue, 3 Aug 2021 12:54:26 +0200 Subject: [PATCH] sssd-kcm, OpenRC: Ignore errors from sssd --genconf sssd --genconf=kcm can return false non zero exit codes. Ignore these and reroute any output to /dev/null Resolves: #5729 --- src/sysv/gentoo/sssd-kcm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sysv/gentoo/sssd-kcm.in b/src/sysv/gentoo/sssd-kcm.in index c9242bf9fb..b1670fdfeb 100644 --- a/src/sysv/gentoo/sssd-kcm.in +++ b/src/sysv/gentoo/sssd-kcm.in @@ -10,7 +10,8 @@ pidfile="@pidpath@/sssd_kcm.pid" start_pre() { - "@sbindir@/sssd" --genconf-section=kcm || return $? + "@sbindir@/sssd" --genconf-section=kcm >/dev/null 2>/dev/null + return 0 } depend()
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure