nestybox / nestybox/sysbox

Installing nix package manager in sandbox - Operation not permitted error

Open
#607 7 comments 0 reactions 1 assignee View on GitHub

@rodnymolina is already working on this.

Since Nov 30, 2022.

bug
Dominant language
Shell
Stars
3.9k
Forks
230
Avg merge
7h 48m
Merged PRs (30d)
3

Description

os=ubuntu 20.04, kernel=5.4, docker=20.10.8, sysbox=0.5.2 EE


Attempting to install the "nix" package manager within a system container sandbox results in the following error.

error: Operation not permitted
/tmp/nix-binary-tarball-unpack.7LnOR81LIv/unpack/nix-2.11.1-x86_64-linux/install: unable to register valid paths

Installation instructions for "nix".

Example commands (each command below individually reproduces the error).


Multi user installation instructions refer to specific user ID's and group ID's.

The multi-user installation of Nix will create build users between the user IDs 30001 and 30032, and a group with the group ID 30000. You can run this under your usual user account or root. The script will invoke sudo as needed.


And a link to a similar issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.