Bug 1171291
Summary: | Add nss-altfiles to rpcbind user lookup path | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Colin Walters <walters> | ||||||||
Component: | rpcbind | Assignee: | Steve Dickson <steved> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Yongcheng Yang <yoyang> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 7.1 | CC: | eguan, extras-qa, fdeutsch, jiyin, mjenner, steved, swagiaal, walters | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | rpcbind-0.2.0-27.el7 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 1159941 | Environment: | |||||||||
Last Closed: | 2015-11-19 05:32:01 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Colin Walters
2014-12-05 20:26:57 UTC
Created attachment 965218 [details]
0001-Backport-fix-for-altfiles-bz-1171291.patch
Steve, can we possibly get this in 7.1? If not, can it be queued for 7.2? I'd like to pull it in for the Atomic Beta release update.
Created attachment 969293 [details]
update backport....
Created attachment 972083 [details]
use --with-nss-modules to add 'altfiles'
In addition to attachment 969293 [details] we'll need to update the configuration to add altfiles (attachment 972083 [details]) Hi Steve.. have you had a chance to look into this ? (In reply to Sami Wagiaalla from comment #6) > Hi Steve.. have you had a chance to look into this ? Yes.. its queued up for 7.2 and it will be a backport of commit d30515b11bea3171b2ba0373f0eda132992538b7 Author: Sami Wagiaalla <swagiaal> Date: Mon Nov 10 12:24:05 2014 -0500 nfs: Add '--with-nss-modules' configure option to specify nss modules From: Sami Wagiaalla <swagiaal> (In reply to Steve Dickson from comment #7) > (In reply to Sami Wagiaalla from comment #6) > > Hi Steve.. have you had a chance to look into this ? > > Yes.. its queued up for 7.2 and it will be a backport of > > commit d30515b11bea3171b2ba0373f0eda132992538b7 > Author: Sami Wagiaalla <swagiaal> > Date: Mon Nov 10 12:24:05 2014 -0500 > > nfs: Add '--with-nss-modules' configure option to specify nss modules > > From: Sami Wagiaalla <swagiaal> Great!.. but what about using the option in the specfile to add 'altfiles' ? (attachment 972083 [details]) Also, any chance of getting this in 7.1 ? If it's not in 7.1 (which is probably not possible now as it's deep frozen) we can likely ask RCM to have it pulled specifically into Atomic's override set until 7.2. (In reply to Colin Walters from comment #9) > If it's not in 7.1 (which is probably not possible now as it's deep frozen) > we can likely ask RCM to have it pulled specifically into Atomic's override > set until 7.2. Maybe we can added this to the z-stream?? I've branched rpcbind with as "atomic-rhel-7.1" and backported the fix: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=8551108 Steve, when 7.2 opens up can we merge this patch there? Thanks! Verified with rpcbind-0.2.0-27.el7.src.rpm [yyc@dhcp-12-138 rpcbind-0.2.0]$ cat Makefile.am | grep nss_modules -DNSS_MODULES="\"$(nss_modules)\"" \ [yyc@dhcp-12-138 rpcbind-0.2.0]$ cat configure.ac | grep -i nss_modules AC_ARG_WITH([nss_modules], AS_HELP_STRING([--with-nss-modules=NSS_MODULES] ,, [with_nss_modules=files]) AC_SUBST([nss_modules], [$with_nss_modules]) [yyc@dhcp-12-138 rpcbind-0.2.0]$ [yyc@dhcp-12-138 rpcbind-0.2.0]$ cat src/rpcbind.c | grep -A3 NSS_MODULES #ifdef NSS_MODULES char *nss_modules = NSS_MODULES; #else char *nss_modules = "files"; #endif [yyc@dhcp-12-138 rpcbind-0.2.0]$ cat src/rpcbind.c | grep __nss_configure_lookup __nss_configure_lookup("services", nss_modules); __nss_configure_lookup("passwd", nss_modules); [yyc@dhcp-12-138 rpcbind-0.2.0]$ ./configure --help `configure' configures rpcbind 0.2.0 to adapt to many kinds of systems. <snip> --with-rpcuser=ARG use ARG for RPC [default=root] --with-nss-modules=NSS_MODULES Sets the nss module search list to the given space-delimited string. For example --with-nss-modules="files altfiles" [default=files] <snip> [yyc@dhcp-12-138 rpcbind-0.2.0]$ Move to VERIFIED *** Bug 1260020 has been marked as a duplicate of this bug. *** 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-2015-2205.html |