https://bugzilla.redhat.com/show_bug.cgi?id=1213385
Bug ID: 1213385
Summary: Docker 1.6 mounts
/var/log/journal/4809557f6c5a83f899a25b507d72c4d5
Product: Fedora
Version: 21
Component: docker-io
Assignee: ichavero(a)redhat.com
Reporter: jpazdziora(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: adimania(a)gmail.com, admiller(a)redhat.com,
golang(a)lists.fedoraproject.org, hushan.jia(a)gmail.com,
ichavero(a)redhat.com, jchaloup(a)redhat.com,
jperrin(a)centos.org, lsm5(a)redhat.com,
mattdm(a)redhat.com, mgoldman(a)redhat.com,
miminar(a)redhat.com, s(a)shk.io, thrcka(a)redhat.com,
vbatts(a)redhat.com
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:
--
You are receiving this mail because:
You are on the CC list for the bug.