You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to give unscd a go, and set services.nscd.package = pkgs.unscd;.
While unscd successfully starts up as nscd.service, it seems it's not able to discover the NSS modules we point it to via LD_LIBRARY_PATH.
Repro:
Configure your system like this:
{services.nscd.package=pkgs.unscd;}
Try to run a query requiring a non-glibc NSS module:
$ systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami
/run/current-system/sw/bin/whoami: cannot find name for user ID 63915
If I drop the services.nscd.package option, the call works:
$ systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami
Running as unit: run-u882.service
Press ^] three times within 1s to disconnect TTY.
iamatest
I tried to give
unscd
a go, and setservices.nscd.package = pkgs.unscd;
.While
unscd
successfully starts up asnscd.service
, it seems it's not able to discover the NSS modules we point it to viaLD_LIBRARY_PATH
.Repro:
Configure your system like this:
Try to run a query requiring a non-glibc NSS module:
$ systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami /run/current-system/sw/bin/whoami: cannot find name for user ID 63915
If I drop the
services.nscd.package
option, the call works:$ systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami Running as unit: run-u882.service Press ^] three times within 1s to disconnect TTY. iamatest
cc @erikarvstedt @Ericson2314
The text was updated successfully, but these errors were encountered: