Bug 1531540

Summary: glibc: Remove Sun RPC and NIS interfaces
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: aoliva, arjun.is, asn, codonell, dj, fweimer, herrold, ikent, kevin, law, mfabian, okurth, pfrankli, rjones, siddhesh, steved
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.26.9000-39.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1533608 (view as bug list) Environment:
Last Closed: 2018-06-15 05:30:37 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:
Bug Depends On: 1532364, 1532943, 1532944, 1535422, 1559181    
Bug Blocks: 1521129, 1533608    

Description Florian Weimer 2018-01-05 13:09:19 UTC
We should drop the Sun RPC interfaces.  Applications need to use libtirpc for RPC support.

Change: https://fedoraproject.org/wiki/Changes/SunRPCRemoval

Comment 1 Florian Weimer 2018-01-05 14:03:36 UTC
/etc/rpc is used by getrpcbyname, which is backed by the NSS framework and as such can only be implemented in glibc, so we still shipped it.

Comment 2 Kevin Kofler 2018-01-06 16:05:35 UTC
This was pushed to Rawhide already, WITHOUT FESCo approval. (The change is still in "announced" state.) There was also NO announcement of the API change in Rawhide, contrary to policy. This is entirely unacceptable.

Comment 3 Steve Dickson 2018-01-08 15:17:16 UTC
(In reply to Kevin Kofler from comment #2)
> This was pushed to Rawhide already, WITHOUT FESCo approval. (The change is
> still in "announced" state.) There was also NO announcement of the API
> change in Rawhide, contrary to policy. This is entirely unacceptable.

This also breaks nfs-utils becuase it remove the rpcgen
command that is needed... Please put it back!!!

Comment 4 Florian Weimer 2018-01-08 15:20:12 UTC
(In reply to Steve Dickson from comment #3)
> (In reply to Kevin Kofler from comment #2)
> > This was pushed to Rawhide already, WITHOUT FESCo approval. (The change is
> > still in "announced" state.) There was also NO announcement of the API
> > change in Rawhide, contrary to policy. This is entirely unacceptable.
> 
> This also breaks nfs-utils becuase it remove the rpcgen
> command that is needed... Please put it back!!!

I'm testing a build.  You will have to add

BuildRequires: rpcgen

to install the new glibc-rpcgen package.

I'm currently looking for a package maintainer for the new rpcsvc-proto package.

Comment 5 Steve Dickson 2018-01-08 15:26:01 UTC
Maybe I jump the gun... I was told rpcgen was removed... 

(it is taking incredibly long time to download rawhide :-( )

what does the rpcsvc-proto package do??

Comment 6 Steve Dickson 2018-01-08 15:27:37 UTC
(In reply to Florian Weimer from comment #4)
> (In reply to Steve Dickson from comment #3)
> > (In reply to Kevin Kofler from comment #2)
> > > This was pushed to Rawhide already, WITHOUT FESCo approval. (The change is
> > > still in "announced" state.) There was also NO announcement of the API
> > > change in Rawhide, contrary to policy. This is entirely unacceptable.
> > 
> > This also breaks nfs-utils becuase it remove the rpcgen
> > command that is needed... Please put it back!!!
> 
> I'm testing a build.  You will have to add
> 
> BuildRequires: rpcgen
> 
Also was there a bz opened for this change? If not no big deal... I'll just
change it...

Comment 7 Florian Weimer 2018-01-08 15:32:38 UTC
(In reply to Steve Dickson from comment #5)
> Maybe I jump the gun... I was told rpcgen was removed... 
> 
> (it is taking incredibly long time to download rawhide :-( )
> 
> what does the rpcsvc-proto package do??

It will be the new official way to provide rpcgen.

Until it is available, I'm adding a glibc-rpcgen subpackage (which will not be installed by default).  This is not currently in rawhide, but will land later today (built from the glibc-2.26.9000-37.fc28 source package).

Comment 8 Steve Dickson 2018-01-08 15:41:32 UTC
(In reply to Florian Weimer from comment #7)
> (In reply to Steve Dickson from comment #5)
> > Maybe I jump the gun... I was told rpcgen was removed... 
> > 
> > (it is taking incredibly long time to download rawhide :-( )
> > 
> > what does the rpcsvc-proto package do??
> 
> It will be the new official way to provide rpcgen.
Googling around on this it appears the guy from suse 
already has a git tree.. https://github.com/thkukuk/rpcsvc-proto

In the end it probably make sense for me manage the package
since (I belive) I'm the only one using it... 

> 
> Until it is available, I'm adding a glibc-rpcgen subpackage (which will not
> be installed by default).  This is not currently in rawhide, but will land
> later today (built from the glibc-2.26.9000-37.fc28 source package).

Fine... ping me when ready to go..

Comment 9 Florian Weimer 2018-01-11 13:37:09 UTC
glibc-2.26.9000-39.fc28 introduces the libnsl subpackage and removes the NIS headers.

Some minor cleanups are still need (see swbz#22701).

Comment 10 Florian Weimer 2018-01-12 10:16:34 UTC
*** Bug 1521133 has been marked as a duplicate of this bug. ***

Comment 11 Florian Weimer 2018-01-12 14:05:32 UTC
glibc-2.26.9000-40.fc28 has the main fix for swbz#22701 (libnsl.a, libnsl.so removal).

Comment 12 Ian Kent 2018-02-06 07:45:39 UTC
(In reply to Steve Dickson from comment #8)
> (In reply to Florian Weimer from comment #7)
> > (In reply to Steve Dickson from comment #5)
> > > Maybe I jump the gun... I was told rpcgen was removed... 
> > > 
> > > (it is taking incredibly long time to download rawhide :-( )
> > > 
> > > what does the rpcsvc-proto package do??
> > 
> > It will be the new official way to provide rpcgen.
> Googling around on this it appears the guy from suse 
> already has a git tree.. https://github.com/thkukuk/rpcsvc-proto
> 
> In the end it probably make sense for me manage the package
> since (I belive) I'm the only one using it... 

Your not the only one that needs it Steve.
am-utils in Fedora and, later in EPEL, needs it.

Wished I had seen this earlier, would have saved me almost
a day.

Info about this package should have been added to Fedora
changes page, that would have saved me quite a bit of
frustration.

Ian

Comment 13 Ian Kent 2018-02-06 07:51:26 UTC
(In reply to Florian Weimer from comment #9)
> glibc-2.26.9000-39.fc28 introduces the libnsl subpackage and removes the NIS
> headers.

This library being located in a subdirectory breaks configure.

It makes things unnecessarily difficult IMHO, particularly if
you have a package where you shouldn't use pkg-config.

Ian

Comment 14 Ian Kent 2018-02-06 08:37:25 UTC
(In reply to Ian Kent from comment #13)
> (In reply to Florian Weimer from comment #9)
> > glibc-2.26.9000-39.fc28 introduces the libnsl subpackage and removes the NIS
> > headers.
> 
> This library being located in a subdirectory breaks configure.

Of course I meant libnsl2 which I suppose if off-topic for this
bug.

> 
> It makes things unnecessarily difficult IMHO, particularly if
> you have a package where you shouldn't use pkg-config.
> 
> Ian

Comment 15 Fedora End Of Life 2018-02-20 15:33:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.