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.