Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • redox redox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 226
    • Issues 226
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-os
  • redoxredox
  • Issues
  • #979
Closed
Open
Created Jun 25, 2017 by Jeremy Soller@jackpot51Owner

error: failed switching to "user:user": unable to find user user: no matching entries in passwd file

Created by: aspera-non-spernit

Reproduction: [describe how you are able to reproduce ("trigger") this bug/issue.]

Using the docker way of the redox installation as introduced in week 23, by invoking the following command:

docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse -e LOCAL_USER_ID='id -u' -v 'pwd':/src --rm redox make all

Expected behavior: [describe the behavior you would expect the repro to yield.]

positive docker results

Actual behavior: [describe the actual behavior, which is presented through the repro.].

Starting with UID : id -u 
CARGO_HOME is /cargo
RUSTUP_HOME is /rustup
useradd: invalid user ID 'id'
chown: invalid user: 'user:user'
chown: invalid user: 'user:user'
error: failed switching to "user:user": unable to find user user: no matching entries in passwd file

Redox release: [only when using a prebuild version: redox version]

25 June 17 srcs latest on github

Misc: [optional: for other relevant information that should be known or cannot be described in the other fields.]

I tried also to change id to user or to a local (host) user name.

I changed the to ' ' in the command because the ones given in the wiki lead to another error:

docker: Error response from daemon: create `pwd`: "`pwd`" includes  invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]"   are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

If the above does not fit the nature of the issue feel free to modify it.

Assignee
Assign to
Time tracking