Red Hat Bugzilla – Bug 585216
tmpwatch doesn't skip directories mounted with --bind
Last modified: 2011-04-05 17:37:04 EDT
Description of problem:
The tmpwatch man page mentions 'will not switch filesystems', but a bind mount of another directory in the same filesystem seems not to get skipped.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mkdir /tmp/stupid ; mount --bind /home /tmp/stupid
2. wait for cron to call tmpwatch
du -s /home gives a very low value
du -s /home shouldn't be influenced by tmpwatch
Thanks for your report.
The behavior can probably be argued to be technically correct - but the safe thing to do would indeed be to detect bind mounts.
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:
I have added bind mount skipping added in upstream changeset 79123aa14f4e, but it needs changes for F15.
tmpwatch-2.10.2-1.fc15 has been submitted as an update for Fedora 15.
* 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 tmpwatch-2.10.2-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
tmpwatch-2.10.2-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.