Bug 976622 - synced_folder produce 'text file busy errors' on VirtualBox shared folder on Windows7 host
synced_folder produce 'text file busy errors' on VirtualBox shared folder on ...
Product: Fedora
Classification: Fedora
Component: createrepo (Show other bugs)
i686 Other
unspecified Severity high
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-20 23:43 EDT by Anonymous account
Modified: 2015-06-29 08:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-06-29 08:01:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fix "Text file busy" error for VirtualBox shared folder (566 bytes, patch)
2013-06-20 23:43 EDT, Anonymous account
no flags Details | Diff

  None (edit)
Description Anonymous account 2013-06-20 23:43:54 EDT
Created attachment 763624 [details]
Fix "Text file busy" error for VirtualBox shared folder

Description of problem:

I'm running several VirtualBox CentOS 6 guests on Windows7 host and want to share directory with local repo between the guests. But running `createrepo /mnt/vbox-share` fail in such set up.

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

createrepo 0.9.9

How reproducible:


Steps to Reproduce:

1. Install VirtualBox on Windows7 host.
2. Add CentOS 6 guest VM with VirtualBox shared folder e.g. C:\tmp\repo -> /mnt/vbox-share
3. Start guest VM, ssh to it, install 'createrepo' package and finally run `createrepo /mnt/vbox-share` 

Actual results:

Local repo is not created and the following printed to stderr:

Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 291, in <module>
  File "/usr/share/createrepo/genpkgmetadata.py", line 254, in main
  File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 176, in __init__
  File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 233, in _test_setup_dirs
    os.unlink(direc + '/locktest')
OSError: [Errno 26] Text file busy: '/mnt/vbox-share/repodata/locktest'

Expected results:

Local repo is created successfully.

Additional info:

Patch to fix the problem is attached. See also https://github.com/mitchellh/vagrant/issues/1446
Comment 1 Fedora End Of Life 2013-09-16 10:13:38 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
Comment 2 Fedora End Of Life 2015-05-29 05:08:09 EDT
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 3 Fedora End Of Life 2015-06-29 08:01:25 EDT
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.