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

            Bug ID: 1102019
           Summary: cannot remove /var/lib/docker just after a fresh
                    install even when docker is stopped
           Product: Fedora EPEL
           Version: el6
         Component: docker-io
          Severity: medium
          Priority: medium
          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]



Description of problem:

Cannot remove /var/lib/docker just after a fresh install even when docker is
stopped. And even though the docker runtime root has been changed to
/home/docker and is no longer /var/lib/docker

# rmdir /var/lib/docker
rmdir: failed to remove `/var/lib/docker': Device or resource busy

lsof does not show anyone using this file/dir


Version-Release number of selected component (if applicable):

RHEL 6
Kernel 2.6.32-431.el6
Docker version 0.11.1, build fb99f99/0.11.1



Steps to Reproduce:

1.  yum -y docker-io
2.  service docker start ; service docker stop 
3.  add -g="/home/docker" to other_args in /etc/sysconfig/docker
4.  service docker start ; service docker stop
5.  checked that the docker runtime env files are now in /home/docker
6.  Try to remove or rename /var/lib/docker and it does not allow

Actual results:
rmdir: failed to remove `/var/lib/docker': Device or resource busy


Expected results:
Should have removed or allowed to rename the directory

-- 
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