RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1273652 - RHEL6 sssd spec file disables building NFSv4 idmapd plugin
Summary: RHEL6 sssd spec file disables building NFSv4 idmapd plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.7
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-20 21:34 UTC by James Ralston
Modified: 2019-10-10 10:22 UTC (History)
9 users (show)

Fixed In Version: sssd-1.13.2-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:21:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
changes to spec file need to build idmapd plugin (1.15 KB, patch)
2015-10-20 21:38 UTC, James Ralston
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0782 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2016-05-10 22:36:00 UTC

Description James Ralston 2015-10-20 21:34:35 UTC
Description of problem:

The %configure macro in the sssd.spec file for RHEL6 deliberately includes the --without-nfsv4-idmapd-plugin flag, which disables building the /usr/lib64/libnfsidmap/sss.so idmapd plugin. This makes it impossible for RHEL6 NFSv4 clients to leverage sssd to perform NFSv4 id mapping.

It contrast, the sssd.spec file for RHEL7 builds and packages the /usr/lib64/libnfsidmap/sss.so idmapd plugin, along with several other plugins that are excluded from the RHEL6 sssd packages.

We still have many RHEL6 clients that we need to configure as NFSv4 clients. We need the /usr/lib64/libnfsidmap/sss.so idmapd plugin.

I don't understand why the idmapd plugin (as well as other plugins) were excluded from the RHEL6 sssd packages. The reason can't be because they are too old to work effectively, because the latest RHEL6 sssd packages (1.12.2) are currently more recent than the latest RHEL7 sssd packages (1.12.4).

For now, we've rebuilt the sssd packages from source, patching the spec file to properly build and package the idmapd plugin. But we are highly disinterested in maintaining our own local fork of sssd for RHEL6. Please update the RHEL6 packages to include the idmapd plugin.

Version-Release number of selected component (if applicable):

0:sssd-common-1.12.4-47.el6.x86_64

Comment 1 James Ralston 2015-10-20 21:38:38 UTC
Created attachment 1084930 [details]
changes to spec file need to build idmapd plugin

Here are the (trivial) changes we made to the spec file in order to build the idmapd plugin.

Comment 3 James Ralston 2015-10-20 22:02:21 UTC
Cross-filed as support case 01527018.

Comment 4 Lukas Slebodnik 2015-10-21 06:08:40 UTC
(In reply to James Ralston from comment #0)
> Description of problem:
> 
> The %configure macro in the sssd.spec file for RHEL6 deliberately includes
> the --without-nfsv4-idmapd-plugin flag, which disables building the
> /usr/lib64/libnfsidmap/sss.so idmapd plugin. This makes it impossible for
> RHEL6 NFSv4 clients to leverage sssd to perform NFSv4 id mapping.
> 
> It contrast, the sssd.spec file for RHEL7 builds and packages the
> /usr/lib64/libnfsidmap/sss.so idmapd plugin, along with several other
> plugins that are excluded from the RHEL6 sssd packages.
> 
> We still have many RHEL6 clients that we need to configure as NFSv4 clients.
> We need the /usr/lib64/libnfsidmap/sss.so idmapd plugin.
> 
> I don't understand why the idmapd plugin (as well as other plugins) were
> excluded from the RHEL6 sssd packages. The reason can't be because they are
> too old to work effectively, because the latest RHEL6 sssd packages (1.12.2)
> are currently more recent than the latest RHEL7 sssd packages (1.12.4).
> 
> For now, we've rebuilt the sssd packages from source, patching the spec file
> to properly build and package the idmapd plugin. But we are highly
> disinterested in maintaining our own local fork of sssd for RHEL6. Please
> update the RHEL6 packages to include the idmapd plugin.
> 
If you do not want to maintain packages yourself than you can use back-ported version from Fedora 21 as a temporary solution.
https://copr.fedoraproject.org/coprs/lslebodn/sssd-1-12/

Comment 5 Jakub Hrozek 2015-10-21 10:50:26 UTC
Dev ack since this is just a specfile change.

Comment 6 Jakub Hrozek 2015-10-21 10:51:42 UTC
I tried to find the reason we explicitly disable the plugin but couldn't...I suspect it's because we were trying to minimize the amount of new features added into 6.7 since it's already pretty late even in the RHEL cycle..

Comment 7 Jakub Hrozek 2015-10-28 19:03:54 UTC
James, thanks for filing this bug. It's tentatively scheduled for 6.8.

Comment 8 James Ralston 2015-10-29 02:24:10 UTC
Jakub: understood; thanks.

We don't have an issue with maintaining a local fork, as long as we know that we can eventually reintegrate with upstream.

Comment 9 Jakub Hrozek 2015-12-11 16:00:50 UTC
FYI, here is a test repo: https://copr.fedoraproject.org/coprs/jhrozek/SSSD-6.8-preview/

Comment 11 Jakub Hrozek 2016-02-18 10:33:18 UTC
To verify the bug, just make sure the sssd-common subpackage contains the sss.so file under libdir/libnfsidmap.

We don't test the functionality itself IIRC and moreover, it was tested by a user/customer who also reported a leak in the plugin. so we already know the plugin works :)

Comment 12 Steeve Goveas 2016-02-18 10:57:23 UTC
Verified in version
[root@apollo ~]# rpm -q sssd-common
sssd-common-1.13.3-15.el6.x86_64

[root@apollo ~]# rpm -ql sssd-common | grep sss.so
/usr/lib64/libnfsidmap/sss.so

[root@apollo ~]# file /usr/lib64/libnfsidmap/sss.so
/usr/lib64/libnfsidmap/sss.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

[root@apollo ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)

Comment 14 errata-xmlrpc 2016-05-10 20:21:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0782.html


Note You need to log in before you can comment on or make changes to this bug.