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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected], [email protected],
                    [email protected]



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.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to