+++ This bug was initially created as a clone of Bug #1213385 +++ Description of problem: With docker-io upgraded to 1.6, docker build and docker runs of https://github.com/adelton/docker-freeipa started to fail. The reason seems to be that the container gets /var/log/journal/{id-of-the-container?} mounted and you cannot get rid of it because [root@4809557f6c5a /]# umount -f /var/log/journal/4809557f6c5a83f899a25b507d72c4d5 umount: /var/log/journal/4809557f6c5a83f899a25b507d72c4d5: must be superuser to unmount That however prevents use from moving /var/log to VOLUME because in build time, /var/log/canot be removed: rm: cannot remove '/var/log/journal/cf00ac62f9dad464306c48f0267be479': Device or resource busy Version-Release number of selected component (if applicable): # rpm -q docker-io docker docker-io-1.6.0-1.git0591dce.fc21.x86_64 package docker is not installed How reproducible: Deterministic. Steps to Reproduce: 1. Install docker-io. 2. Make no changes to /etc/sysconfig/docker except adding --icc=false to OPTIONS. 3. Run the service. 4. Run docker run -ti fedora:20 mount | grep /var/log Actual results: /dev/mapper/fedora--server_mgmt12-root on /var/log/journal/4809557f6c5a83f899a25b507d72c4d5 type ext4 (rw,relatime,seclabel,data=ordered) Expected results: Nothing mounted on /var/log. Additional info: --- Additional comment from Jan Pazdziora on 2015-04-20 14:58:15 CEST --- [...] --- Additional comment from Fedora Update System on 2015-04-24 19:51:30 CEST --- docker-io-1.6.0-2.git3eac457.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/docker-io-1.6.0-2.git3eac457.fc21 --- Additional comment from Jan Pazdziora on 2015-04-24 21:23:08 CEST --- (In reply to Fedora Update System from comment #25) > docker-io-1.6.0-2.git3eac457.fc21 has been submitted as an update for Fedora > 21. > https://admin.fedoraproject.org/updates/docker-io-1.6.0-2.git3eac457.fc21 I confirm the new build fixes the issue. --- Additional comment from Fedora Update System on 2015-04-26 14:53:52 CEST --- docker-io-1.6.0-2.git3eac457.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. -- With docker-io-1.6.0-4.git350a636.fc21.x86_64, the problem is back.
With the patched version of docker it has never been removed from Fedora. I am working on a patch to only do it during a container, not during a build. One possible solution that I am not that crazy about would be to mount to /run/journal/UUID and then link /var/log/journal/UUID to this dirctory, but I am not sure if journald would work here.
(In reply to Daniel Walsh from comment #2) > With the patched version of docker it has never been removed from Fedora. It was -- when I downgrade to docker-io-1.6.0-2.git3eac457.fc21, I really see it not mounted. It got back with -4.*.
Ok well it might be just showing up in Fedora 21.
docker-1.6.2 should not have this issue. docker-1.7 will definitely not.