Public bug reported:

Dear professionals,

When using the regex translation method for idmapping, idmapd complains
about an unresolved symbol (nfsidmap_config_get) in the regex.so shared
object:

systemctl status -l nfs-idmapd.service
● nfs-idmapd.service - NFSv4 ID-name mapping service
     Loaded: loaded (/lib/systemd/system/nfs-idmapd.service; static; vendor 
preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-02-04 13:51:52 CET; 
22min ago
    Process: 43954 ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS (code=exited, 
status=1/FAILURE)

Feb 04 13:51:52 defil37 rpc.idmapd[43954]: sss_nfs_init: use memcache: 1
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: libnfsidmap: loaded plugin 
/lib/x86_64-linux-gnu/libnfsidmap/sss.so for method sss
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: libnfsidmap: Unable to load plugin: 
/lib/x86_64-linux-gnu/libnfsidmap/regex.so: undefined symbol: 
nfsidmap_config_get
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: libnfsidmap: requested translation 
method, 'regex', is not available
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: rpc.idmapd: libnfsidmap: Unable to 
load plugin: /lib/x86_64-linux-gnu/libnfsidmap/regex.so: undefined symbol: 
nfsidmap_config_get
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: rpc.idmapd: libnfsidmap: requested 
translation method, 'regex', is not available
Feb 04 13:51:52 defil37 rpc.idmapd[43954]: rpc.idmapd: Unable to create name to 
user id mappings.
Feb 04 13:51:52 defil37 systemd[1]: nfs-idmapd.service: Control process exited, 
code=exited, status=1/FAILURE
Feb 04 13:51:52 defil37 systemd[1]: nfs-idmapd.service: Failed with result 
'exit-code'.
Feb 04 13:51:52 defil37 systemd[1]: Failed to start NFSv4 ID-name mapping 
service.

This symbol obviously does not exist in the libnfsidmap.so.0.3.0 shared object:
readelf -s /usr/lib/x86_64-linux-gnu/libnfsidmap.so.0.3.0 | grep 
nfsidmap_config_get
<Nothing>

When checking the sources at https://github.com/isginf/libnfsidmap-
regex/blob/1179b2ec3392c91a40da228afada46fd210113a2/regex.c#L57 it seems
this library is accidentally using the wrong interface since the symbol
"conf_get_str" exists in libnfsidmap.so.0.3.0.

Since the groovy version of the package "libnfsidmap-regex" did not raise the 
dependencies, I also checked this one and could verify that it:
 a) uses the "conf_get_str" function
 b) loads cleanly

I would like to ask you to either re-compile this package correctly or
publish the groovy package version also for focal.

** Affects: libnfsidmap-regex (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: idmapd nfsd regex

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915130

Title:
   libnfsidmap-regex package broken in current LTS release (focal)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnfsidmap-regex/+bug/1915130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to