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

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

Am Samstag, 15. Dezember 2012 schrieb Ludovic Courtès:
> First, guix-daemon is running as root, right?

Yes, in a separate terminal as
   NIX_SUBSTITUTERS="" guix-daemon --build-users-group=nixbld

> That seems to suggest that there’s a lock on each of these.  What does
> ‘ls -l /nix/var/nix/userpool/’ report?

-rw------- 1 root root 0 Dez 10 23:30 30001

/etc/group contains a line
nixbld:!:30000:nixbld1,nixbld2,nixbld3,nixbld4,nixbld5,nixbld6,nixbld7,nixbld8,nixbld9,nixbld10

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

> Can you also try running guix-daemon in strace, and then check then
> fcntl(fd, F_SETLKW, _) calls for user locks?

I find none of these:
   strace ./pre-inst-env guix-build hello 2>&1 | grep fcntl | grep F_SETLKW
returns nothing.

Andreas

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

  reply	other threads:[~2012-12-16 11:17 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 [this message]
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
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=201212161216.51858.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    --cc=ludo@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).