-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addgroup fails #135
Comments
I do not get any errors running this. What is your |
|
@elderone Please update to 1.1.2, I'm pretty sure this is fixed. |
I have this problem too. When I try to build image based on this Dockerfile:
In last step I get this:
My environment:
|
@cpuguy83 any thoughts on why it would be still broken on Docker 1.2.0? Perhaps an issue with devicemapper? |
@cpuguy83 groupadd: failure while writing changes to /etc/group #docker version |
FYI, It's broken with a Ubuntu 12.04 image, but not with an Ubuntu 14.04 image. Running the FC20 shipped docker-io-1.2.0-2.fc20.x86_64 here. |
The root cause seems to be an inability to write to /etc/passwd or /etc/group on 12.04 This minimal Docker file fail when run from FC20
|
The issue on FC20 is SELinux related, the ham-fisted work around is:
I'll work out exactly what's going on when I have a free moment. |
I am unable to reproduce this and it seems to be related to SELinux. Closing for now. |
docker run -i -t stackbrew/ubuntu:12.04 /bin/bash
apt-get install -y ssh-client
...
Setting up openssh-client (1:5.9p1-5ubuntu1.4) ...
groupadd: failure while writing changes to /etc/group
addgroup: `/usr/sbin/groupadd -g 102 ssh' returned error code 10. Exiting.
dpkg: error processing openssh-client (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up xauth (1:1.0.6-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
openssh-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered: