I have a custom NSS module that I wrote and I typically install it by copying the library like so...
cp libnss_mymodule.so.0 /lib64/
... then I add my module to the /etc/nsswitch.conf ...
$ grep mymodule /etc/nsswitch.conf
passwd: mymodule files usrfiles sss systemd
group: mymodule files usrfiles sss systemd
This works for me in CentOS 7, but it doesn't work in CoreOS because /lib64 is on a read-only filesystem. Where can I put the shared object library on CoreOS that will be visible to nsdispath() ?
EDIT: I tried adding the file to /opt/me/lib64 and putting that in the LD_LIBRARY_PATH environment variable. It didn't seem to help.