From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Davide Corrado <davide.corrado@doit-systems.it>
Cc: 70062@debbugs.gnu.org
Subject: bug#70062: issue with openldap managed users on HPC
Date: Mon, 27 May 2024 17:06:07 +0200 [thread overview]
Message-ID: <87o78rxpk0.fsf@gnu.org> (raw)
In-Reply-To: <AS8PR08MB873493D7B0014DF3C90C2960D73B2@AS8PR08MB8734.eurprd08.prod.outlook.com> (Davide Corrado's message of "Thu, 28 Mar 2024 10:20:58 +0000")
Hi Davide,
Sorry for the delay; it looks like your bug report fell through the
cracks.
Davide Corrado <davide.corrado@doit-systems.it> skribis:
> hello, I installed guix in a HPC environment and everything works as expected if I use guix as a local user. I got this issue when I try to run it as an openldap/sssd-managed user.
>
> example:
> [
> root@frontend ~]# id konrad
> uid=10000(konrad) gid=10000(hpc-users) groups=10000(hpc-users)
>
> [root@frontend ~]# getent passwd -s sss
> konrad:*:10000:10000:Davide Corrado:/home/konrad:/bin/bash
>
> [root@frontend ~]# su - konrad
> Last login: Thu Mar 28 11:04:07 CET 2024 on pts/0
> [konrad@frontend ~]$ id
> uid=10000(konrad) gid=10000(hpc-users) groups=10000(hpc-users)
> [konrad@frontend ~]$ guix install hello
> user with UID 10000 not found
I think this message shows the core of the problem.
Is nscd running on this machine, as per
<https://guix.gnu.org/manual/devel/en/html_node/Application-Setup.html#Name-Service-Switch-1>?
It has to be installed and running so that Guix-installed programs can
access the user account database etc.
A simple way to check whether this is working is by running the ‘id’
program of the ‘coreutils’ package provided by Guix, like so:
guix shell coreutils -- id
HTH!
Ludo’.
prev parent reply other threads:[~2024-05-27 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 10:20 bug#70062: issue with openldap managed users on HPC Davide Corrado via Bug reports for GNU Guix
2024-05-27 15:06 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o78rxpk0.fsf@gnu.org \
--to=ludovic.courtes@inria.fr \
--cc=70062@debbugs.gnu.org \
--cc=davide.corrado@doit-systems.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.