guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealing with foreign distros without nscd


From: Ricardo Wurmus
Subject: Re: Dealing with foreign distros without nscd
Date: Fri, 28 Aug 2020 12:03:53 +0200
User-agent: mu4e 1.4.13; emacs 26.3

Ludovic Courtès <ludovic.courtes@inria.fr> writes:

> The workaround I found is to add ‘sssd’ to the pack, like so:
>
>   guix pack -RR -S /lib=lib -S /bin=bin sssd guile
>
> That way, on the other machine, you can set LD_LIBRARY_PATH such that
> Guix’ libnss_sss.so gets loaded:
>
>   tar xf /path/to/pack.tgz
>   LD_LIBRARY_PATH=$PWD/lib ./bin/guile -c '(pk (getpw (getuid)))'
>
> It works!  However, if people have ideas of less arcane workarounds, I’m
> interested.

Interesting!  I wonder if this really is a general solution or if it
only works under special circumstances (like the cluster node using sssd
already).  Will, for example, accounts that are managed via Active
Directory / LDAP be visible if all we do is preload the Guix sssd
libraries?

-- 
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]