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
error using chpasswd with host networking and ubuntu:14.04 image #5704
Comments
I just ran into this as well. Did you find a work-around? |
no i did not. to be completely frank i did not try a lot since it works without --net host. |
I just changed to 12.04 to get around it...
|
oh yes.. sorry for not mentioning that in the issue report. |
This and #5899 are likely the same issue. |
/sub |
Is there any update on this? Trying to install postgresql on ubuntu:14.04 --
-- incurs this problem as well. The specific error output follows:
Any fix for this? |
@pandeiro use of |
I could not reproduce the issue with docker 1.1.0. |
The issue continues affecting me with Ubuntu 14.04 and Host networking on Arch Linux with Docker 1.1.0:
|
@tiborvass I am sorry for my previous comment. I forgot to enable host networking # docker run -i -t --rm --net='host' ubuntu:14.04 bash
root@VAIO:/# echo "root:secretpasswod" | chpasswd
chpasswd: (user root) pam_chauthtok() failed, error:
System error
chpasswd: (line 1, user root) password not changed # docker version
Client version: 1.1.0
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): 79812e3
Server version: 1.1.0
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): 79812000
# docker info
Containers: 7
Images: 234
Storage Driver: aufs
Root Dir: /media/vbox/docker/graphs/aufs
Dirs: 249
Execution Driver: native-0.2
Kernel Version: 3.13.0-30-generic
Username: sameersbn
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support deleting my previous comment to avoid any confusion.. |
@sameersbn Thanks, I could reproduce this on Ubuntu trusty with docker 1.1.1. |
Docker 1.1.2 and centos:latest - issue looks much alike:
Host is 14.04
Is there any temporary workarounds? |
@imelnik It's working for me in master |
@LK4D4, I've checked against master and it's still the same.
|
I met this problem in docker hub for build random, it doesn't happen locally, see https://registry.hub.docker.com/u/larrycai/jenkins-slave/build_id/5359/code/b2etjmnbcjyhkykgmn96rd9/ |
@larrycai your link is private (Sorry, you don't have access to this page.) |
haven't noticed the build history is private, I don't know how to debug since this is official one, maybe docker ops team can provide more information for this. The paste error log below
|
Looks like this is a problem with the 3.15 linux kernel. |
I'm now experiencing this with linux 3.13, for what it's worth. Host system is Ubuntu 14.04, docker image is also based on ubuntu:14.04. |
@benley try to use base images from - https://github.com/sequenceiq/docker-pam - they fixed this bug at image side. |
this is fixed on master
|
I met the same issue in the latest ubuntu:14.04 image as follows. Any idea? root@olnode1: |
Just having this happen with kernel 4.14 and docker 1.13.1. Are there any workarounds? I'm not using host networking either... |
For those coming from the search engines... In my case the password was too simple and needed to use a stronger one, using the capital and small letters, digits and symbols. For ex, P2sswrd!!! |
when using chpasswd command on the ubuntu:14.04 image with and without host networking yields different results.
without host networking there is not issue using the chpasswd command
with host networking the chpasswd command doesn't work
The text was updated successfully, but these errors were encountered: