https://bugzilla.redhat.com/show_bug.cgi?id=1119849



--- Comment #2 from Marek Goldmann <[email protected]> ---
As Lokesh said, use sudo. The su command failure is not limited to fedora
images, it fails on other images too:

Ubuntu:

$ docker run -it --rm ubuntu bash
root@b3c384ec1959:/# useradd test
root@b3c384ec1959:/# su - test -c "ls /"
su: System error
root@b3c384ec1959:/# 

CentOS:

$ docker run -it --rm centos bash
bash-4.2# useradd test
bash-4.2# su - test -c "ls /"
su: System error
bash-4.2# 

This may be related to this: https://github.com/dotcloud/docker/issues/6345

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to