Skip to content

Strange failure when build-users-group is enabled #83

Closed

Description

@7c6f434c

I have latest Nix (namely built from commit 12f9129 )

I run it on Linaro Ubuntu

Linux linaro-alip 3.0.42-aufs+ #4 PREEMPT Mon Oct 29 17:40:09 CET 2012 armv7l armv7l armv7l GNU/Linux

with Glibc 2.15-0ubuntu20 (armhf) on CubieBoard (Allwinner A10) (and all this is BerryBoot-booted, if this matters).

If I run non-chroot as-root builds, all is fine.

I have set up chroot builds as welland they seem to work.

I created nixbld group and nixbld1–nixbld9 build users.

If I enable chroot building and build users (via build-users-group) I get the message that builder is killed by signal 11. If I disable chroot building but enable build users, I get the message that the builder is killed by signal 9.

I do not use nix daemon.

Of course, the message about demise of the builder process is the only one after the message that the build is going to start.

Activity

  1. viric commented on Jan 1, 2013

    @viric
    Member

    In the raspberrypi, I've used both 3.2 and 3.6 kernels, with build users, but haven't used chroot.

  2. 7c6f434c commented on Jan 5, 2013

    @7c6f434c
    MemberAuthor

    Ouch. /nix/store/lcqgp9zi1ds26xvjgsixir9nsazr2hcj-bootstrap-tools/bin/sh runs fine as root and gets silently killed from under user on my system... I wonder how this is even achieved. strace shows the process being killed by SIGKILL without execve finishing.

    ulimit -a shows nothing strange...

    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        8192
    coredump(blocks)     0
    memory(kbytes)       unlimited
    locked memory(kbytes) 128
    process              6481
    nofiles              1024
    vmemory(kbytes)      unlimited
    locks                unlimited
    

    I guess it is not a Nix problem per se then.

  3. 7c6f434c commented on Jan 5, 2013

    @7c6f434c
    MemberAuthor

    /nix/store/imnp0yyvbrbz9d8hqnlkcs73zgppq2py-bootstrap-tools/bin/sh (unpacked with ARM version of unpacker for bootstrap tools) is no better

  4. 7c6f434c commented on Jan 5, 2013

    @7c6f434c
    MemberAuthor

    Hm, ARMv6 tools seem to work, though

  5. viric commented on Jan 8, 2013

    @viric
    Member

    I could use armv5tel just fine in the armv6l-linux, but I used "system = armv5tel-linux" in nix.conf. So this remains a mistery, and I don't know if anyone is going to try this again, having armv6l-tools.

  6. edolstra commented on Feb 26, 2014

    @edolstra
    Member

    Closing as this is apparently not a Nix problem (but maybe a Nixpkgs problem).

  7. added 3 commits that reference this issue on Feb 26, 2025
  8. added a commit that references this issue on Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions