https://bugzilla.redhat.com/show_bug.cgi?id=1026545
dan-fedora@drown.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dan-fedora@drown.org
--- Comment #19 from dan-fedora@drown.org --- Created attachment 828465 --> https://bugzilla.redhat.com/attachment.cgi?id=828465&action=edit dockerinit build process fix
The problem was that /usr/bin/docker was built with the flag utils.IAMSTATIC, which made it map itself on /.dockerinit in the LXC. Attached is a patch to the spec file (applied to http://koji.fedoraproject.org/koji/buildinfo?buildID=480402) to not set IAMSTATIC on /usr/bin/docker, and also to set utils.INITSHA1 to the SHA1 of /usr/libexec/docker/dockerinit
I've disabled __os_install_post's binary modification steps, as that interferes with docker's SHA1 check.
Which this patch, I can run a CentOS in docker on Fedora: # cat /etc/redhat-release ; docker run -rm=true centos cat /etc/redhat-release Fedora release 19 (Schrödinger’s Cat) CentOS release 6.4 (Final)