summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2017-05-02 09:33:39 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-05-02 12:55:27 +0200
commit2644a8ba6b89846150acaa508cb0bdd8bce2f41e (patch)
tree7558530ff802f1791876e68742ce64b81c23c3cb
parent251a3b2b9903ab1c09cb939b4a9adfd417a1117e (diff)
downloadsssd-2644a8ba6b89846150acaa508cb0bdd8bce2f41e.tar.gz
sssd-2644a8ba6b89846150acaa508cb0bdd8bce2f41e.tar.xz
sssd-2644a8ba6b89846150acaa508cb0bdd8bce2f41e.zip
CONTRIB: Force single-thread install to workaround concurrency issues
@see also https://bugzilla.redhat.com/show_bug.cgi?id=1260190 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--contrib/fedora/bashrc_sssd3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd
index ec4e91eab..3796bf8cb 100644
--- a/contrib/fedora/bashrc_sssd
+++ b/contrib/fedora/bashrc_sssd
@@ -104,7 +104,8 @@ warn()
# and making sure that the NSS and PAM modules have the right SELinux context.
sssinstall()
{
- sudo make -j$PROCESSORS install \
+ # Force single-thread install to workaround concurrency issues
+ sudo make -j1 install \
&& sudo rm -f $SSS_LIBDIR/ldb/modules/ldb/memberof.la \
&& sudo restorecon -v /$SSS_LIB/libnss_sss.so.2 \
/$SSS_LIB/security/pam_sss.so