Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Update to prevent useradd not unique uid error #29

Closed
wants to merge 1 commit into from

Conversation

Matulis
Copy link

@Matulis Matulis commented Jan 10, 2016

Testing on fedora and arch linux led to the following error:

useradd: UID 0 is not unique
The command '/bin/sh -c /bin/bash; useradd --uid $UID build' returned a non-zero code: 4
Makefile:18: recipe for target '/home/chief/nvidia-docker/tools/bin' failed

This allows for duplicate uid, which seems to be the same as current user(root=0), so that the following build steps succeed

@flx42 flx42 mentioned this pull request Jan 11, 2016
@flx42 flx42 closed this in 659706d Jan 11, 2016
@flx42
Copy link
Member

flx42 commented Jan 11, 2016

Fixed myself because the issue was blocking other users, thanks for reporting and suggesting a fix!
Did you try on fedora and arch linux? We would love to get some feedback!

@Matulis
Copy link
Author

Matulis commented Jan 12, 2016

No I couldn't get it working on arch, I was getting the following error:

Error: failed to retrieve CPU affinity

Any ideas? Docker in debug mode didn't seem to offer more information and I haven't had time to dig into it

@3XX0
Copy link
Member

3XX0 commented Jan 12, 2016

Looks like an issue on our end.
I think it is fixed for nvidia-docker now but not for nvidia-docker-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants