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

dan-fed...@drown.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dan-fed...@drown.org



--- Comment #19 from dan-fed...@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)

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

Reply via email to