unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Integration of the Nix daemon
Date: Mon, 17 Dec 2012 22:16:14 +0100	[thread overview]
Message-ID: <87zk1c5qht.fsf@gnu.org> (raw)
In-Reply-To: <201212161216.51858.andreas@enge.fr> (Andreas Enge's message of "Sun, 16 Dec 2012 12:16:51 +0100")

Hi Andreas,

Andreas Enge <andreas@enge.fr> skribis:

> and /etc/passwd:
> nixbld1:x:30001:65534:Nix build user 1:/var/empty:/noshell
> ...
> nixbld10:x:30001:65534:Nix build user 10:/var/empty:/noshell

It just occurred to me: here nixbld1 and nixbld10 have the same UID,
which is wrong.  Can you check whether the others have a different UID?

Here I have:

--8<---------------cut here---------------start------------->8---
nixbld1:x:30001:30000:Nix build user 1:/var/empty:/run/current-system/sw/sbin/nologin
nixbld2:x:30002:30000:Nix build user 2:/var/empty:/run/current-system/sw/sbin/nologin
nixbld3:x:30003:30000:Nix build user 3:/var/empty:/run/current-system/sw/sbin/nologin
nixbld4:x:30004:30000:Nix build user 4:/var/empty:/run/current-system/sw/sbin/nologin
nixbld5:x:30005:30000:Nix build user 5:/var/empty:/run/current-system/sw/sbin/nologin
nixbld6:x:30006:30000:Nix build user 6:/var/empty:/run/current-system/sw/sbin/nologin
nixbld7:x:30007:30000:Nix build user 7:/var/empty:/run/current-system/sw/sbin/nologin
nixbld8:x:30008:30000:Nix build user 8:/var/empty:/run/current-system/sw/sbin/nologin
nixbld9:x:30009:30000:Nix build user 9:/var/empty:/run/current-system/sw/sbin/nologin
nixbld10:x:30010:30000:Nix build user 10:/var/empty:/run/current-system/sw/sbin/nologin
--8<---------------cut here---------------end--------------->8---

You should fix it with something like:

  for b in `seq 1 10`; do usermod -u `expr 30000 + $b` nixbld$b ; done

Crossing fingers...

Ludo’.

  parent reply	other threads:[~2012-12-17 21:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 22:13 Integration of the Nix daemon Ludovic Courtès
2012-12-13 21:17 ` Ludovic Courtès
2012-12-13 22:06   ` Andreas Enge
2012-12-13 22:56     ` Ludovic Courtès
2012-12-13 23:10       ` Andreas Enge
2013-01-15 23:03         ` Ludovic Courtès
2012-12-13 23:17   ` Andreas Enge
2012-12-14 10:07     ` Andreas Enge
2012-12-14 23:07       ` Ludovic Courtès
2012-12-14 23:23         ` Andreas Enge
2012-12-14 23:29           ` Andreas Enge
2012-12-15 14:48             ` Ludovic Courtès
2012-12-15 19:38               ` Andreas Enge
2012-12-15 14:26           ` Ludovic Courtès
2012-12-15 20:25             ` Andreas Enge
2012-12-15 22:59               ` Ludovic Courtès
2012-12-16 11:16                 ` Andreas Enge
2012-12-16 16:36                   ` Ludovic Courtès
2012-12-16 16:56                     ` Andreas Enge
2012-12-16 16:58                       ` Ludovic Courtès
2012-12-16 17:33                         ` Andreas Enge
2012-12-17 21:16                   ` Ludovic Courtès [this message]
2012-12-17 21:48                     ` Andreas Enge
2012-12-17 22:25                       ` Ludovic Courtès
2012-12-14 10:12     ` Ludovic Courtès

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=87zk1c5qht.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    /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).