unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Davide Corrado via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 70062@debbugs.gnu.org
Subject: bug#70062: issue with openldap managed users on HPC
Date: Thu, 28 Mar 2024 10:20:58 +0000	[thread overview]
Message-ID: <AS8PR08MB873493D7B0014DF3C90C2960D73B2@AS8PR08MB8734.eurprd08.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

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
guix install: error: while creating directory `/var/guix/profiles/per-user/konrad': Permission denied
hint: Please create the `/var/guix/profiles/per-user/konrad' directory, with you as the owner.

I could create the missing /var/guix/profiles/per-user/konrad directory with the proper uid and gid and everything works as expected, but creating a procedure for managing this issue do not look like a clean solution to me. Am I missing something? Am I the only one using guix with such an environment?







[icon]<https://www.doit-systems.it/>
Follow us on
[Linkedin]<https://www.linkedin.com/company/do-it-systems-s.r.l.>


DAVIDE CORRADO

HPC ENGINEER

+39 011.043.8173 | +39 392.015.2300 | www.doit-systems.it<https://www.doit-systems.it/>

Via Alessandro Antonelli 10, 10093, Collegno (TO), Italy

DoIT Systems srl | Codice Fiscale e Partita IVA: 10222290016 | REA: TO 1116464 | Capitale €100.000.iv. | Sede legale: c/o Studio Angeli - via G. Pomba, 29 - 10123 Torino Sede operativa di Torino: Via Antonelli 10 - 10093 Collegno Ufficio: 011.0438173 | Sede op. di Maranello: via Tazio Nuvolari, 55 - 41053 Maranello (MO)

[-- Attachment #2: Type: text/html, Size: 9560 bytes --]

                 reply	other threads:[~2024-03-30  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS8PR08MB873493D7B0014DF3C90C2960D73B2@AS8PR08MB8734.eurprd08.prod.outlook.com \
    --to=bug-guix@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).