Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642368 - (no-symlink-lib) rpc.idmapd: libnfsidmap: Unable to load plugin: /usr/lib/libnfsidmap/nsswitch.so: cannot open shared object file: No such file or directory
Summary: (no-symlink-lib) rpc.idmapd: libnfsidmap: Unable to load plugin: /usr/lib/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 642370 (view as bug list)
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2017-12-27 04:41 UTC by Perfect Gentleman
Modified: 2017-12-28 15:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2017-12-27 04:41:51 UTC
~ $ sudo rpc.idmapd -f -vvv 
rpc.idmapd: Setting log level to 3 

rpc.idmapd: libnfsidmap: Unable to determine the NFSv4 domain; Using 'localdomain' as the NFSv4 domain which means UIDs will be mapped to the 'Nobody-User' user defined in /etc/idmapd.conf 
rpc.idmapd: libnfsidmap: using (default) domain: localdomain 
rpc.idmapd: libnfsidmap: Realms list: 'LOCALDOMAIN' 
rpc.idmapd: libnfsidmap: Unable to load plugin: /usr/lib/libnfsidmap/nsswitch.so: cannot open shared object file: No such file or directory 
rpc.idmapd: libnfsidmap: requested translation method, 'nsswitch', is not available 
rpc.idmapd: Unable to create name to user id mappings.
-------------------------------------------------------------------------
solved by 
sudo ln -s /usr/lib64/libnfsidmap/ /usr/lib/
-----------------------------------------------
~ $ sudo rpc.idmapd -f -vvv 
rpc.idmapd: Setting log level to 3 

rpc.idmapd: libnfsidmap: Unable to determine the NFSv4 domain; Using 'localdomain' as the NFSv4 domain which means UIDs will be mapped to the 'Nobody-User' user defined in /etc/idmapd.conf 
rpc.idmapd: libnfsidmap: using (default) domain: localdomain 
rpc.idmapd: libnfsidmap: Realms list: 'LOCALDOMAIN' 
rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for method nsswitch 
rpc.idmapd: Expiration time is 600 seconds. 
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel 
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel 
rpc.idmapd: New client: 1 
rpc.idmapd: Opened /var/lib/nfs/rpc_pipefs//nfs/clnt1/idmap 
rpc.idmapd: New client: 2 
rpc.idmapd: New client: 5
Comment 1 Alexander Tsoy 2017-12-27 05:24:51 UTC
Please try net-libs/libnfsidmap-0.25-r1. It should fix this issue.
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/libnfsidmap/libnfsidmap-0.25-r1.ebuild?view=log
Comment 2 Perfect Gentleman 2017-12-27 06:42:36 UTC
(In reply to Alexander Tsoy from comment #1)
> Please try net-libs/libnfsidmap-0.25-r1. It should fix this issue.
> https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/
> libnfsidmap/libnfsidmap-0.25-r1.ebuild?view=log

 ~ $ emerge -avtp libnfsidmap

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/libnfsidmap-0.25-r1::gentoo  USE="-ldap -static-libs" 339 KiB
[blocks B      ] net-libs/libnfsidmap ("net-libs/libnfsidmap" is blocking net-fs/nfs-utils-2.3.1)

Total: 1 package (1 new), Size of downloads: 339 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (net-libs/libnfsidmap-0.25-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    libnfsidmap

  (net-fs/nfs-utils-2.3.1:0/0::gentoo, installed) pulled in by
    net-fs/nfs-utils required by @selecte
Comment 3 Alexander Tsoy 2017-12-27 06:48:06 UTC
Ah, sorry. It wasn't clear that it is libnfsidmap from nfs-utils. :)
Comment 4 Alexander Tsoy 2017-12-27 06:48:44 UTC
*** Bug 642370 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2017-12-28 15:57:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11929390e9ccd553793156f0881e2ee341ef647e

commit 11929390e9ccd553793156f0881e2ee341ef647e
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2017-12-27 06:30:25 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2017-12-28 15:57:29 +0000

    net-fs/nfs-utils: fix libnfsidmap's pluginpath
    
    Closes: https://bugs.gentoo.org/642368
    Closes: https://github.com/gentoo/gentoo/pull/6647

 net-fs/nfs-utils/{nfs-utils-2.2.1.ebuild => nfs-utils-2.2.1-r1.ebuild}   | 1 +
 .../{nfs-utils-2.2.2_rc1.ebuild => nfs-utils-2.2.2_rc1-r1.ebuild}        | 1 +
 ....2.2_rc1_p20171107.ebuild => nfs-utils-2.2.2_rc1_p20171107-r1.ebuild} | 1 +
 net-fs/nfs-utils/{nfs-utils-2.3.1.ebuild => nfs-utils-2.3.1-r1.ebuild}   | 1 +
 4 files changed, 4 insertions(+)