https://bugzilla.redhat.com/show_bug.cgi?id=1033604
--- Comment #9 from Daniel Walsh dwalsh@redhat.com --- I order to see this hang in Rawhide if you build an image based on the following dockerfile.
# cat > Dockerfile << _EOF FROM fedora:rawhide MAINTAINER "Scott Collier" scollier@redhat.com ENV container docker RUN yum -y update; yum clean all RUN yum -y install httpd systemd; yum clean all; systemctl enable httpd.service RUN echo "Apache" >> /var/www/html/index.html
EXPOSE 80
CMD ["/usr/sbin/init"]
_EOF
# docker build -t httpd_systemd . # docker run --rm httpd_systemd
It will start systemd but it will only hang.
It will be running with environment container=docker, but I think the problem maybe that systemd sees the processes still has "mknod" capability so it tries to do something that ends up getting blocked.