Red Hat Bugzilla – Bug 608094
updatedb of mlocate hangs on sshfs filesystem
Last modified: 2011-04-05 17:35:52 EDT
Description of problem:
The system generated an email that says:
/usr/bin/updatedb: `/var/lib/mlocate/mlocate.db' is locked (probably by an earlier updatedb)
Typing 'lsof -p `pidof updatedb`' hangs.
From google searching, it appears that it's hanging on an sshfs mounted filesystem where the underlying ssh has timed out and disconnected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mount a filesystem using sshfs
2. Kill the ssh
3. Run updatedb
updatedb hangs when it encounters the filesystem (probably)
Maybe sshfs could be improved instead, incorporating lessons from the nfs manpage?
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. 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 WONTFIX if it remains open with a Fedora
'version' of '12'.
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 prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 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 please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
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.
The process we are following is described here:
mlocate-0.24-1.fc15 has been submitted as an update for Fedora 15.
Thanks for your report. mlocate should ideally exclude all fuse file systems; fuse.sshfs is one of those that really matters, so I have added an explicit exclusion in mlocate-0.24-1.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mlocate-0.24-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
mlocate-0.24-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.