Bug 496177
| Summary: | gvfsd-burn leaves /tmp/virtual-USER.XXXXX clutter | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom London <selinux> |
| Component: | gvfs | Assignee: | Tomáš Bžatek <tbzatek> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 16 | CC: | alexander.hunt2005, alexl, artur.zaprzala, loganjerry, maurizio.antillon, mclasen, mike, mitr, stephent98, tbzatek, tsmetana |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-14 02:45:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 446451 | ||
|
Description
Tom London
2009-04-17 01:02:20 UTC
Or should /etc/rc.d/rc.sysinit clean them out on boot?
--- /etc/rc.d/rc.sysinit 2009-04-07 08:58:41.000000000 -0700
+++ ./rc.sysinit 2009-04-17 10:44:05.057453505 -0700
@@ -772,7 +772,7 @@
rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
/tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* \
- /tmp/scrollkeeper-* /tmp/ssh-* \
+ /tmp/scrollkeeper-* /tmp/ssh-* /tmp/virtual-* \
/dev/.in_sysinit
# Make ICE directory
It probably should, but thats no reason for gvfs not to clean up after itself. Yes, we should try to clean up on exit, but there are various cases where exit is unclean so I agree that rc.sysinit should clean them out on boot too. seahorse-agent (in the seahorse-plugins package) has some code to deal with cleaning up on SIGTERM or SIGINT. Actually, what is probably needed here is either an xioerrorhandler or a handling the dbus disconnected signal. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I'm changing this to Rawhide, since I'm still seeing this:
[root@tlondon ~]# ls -d /tmp/virtual* | wc
95 95 2280
[root@tlondon ~]#
And these are all from 2 July -> 24 July.
Forgot to add versions: gvfs-1.3.2-1.fc12.x86_64 gvfs-gphoto2-1.3.2-1.fc12.x86_64 gvfs-debuginfo-1.3.2-1.fc12.x86_64 gvfs-archive-1.3.2-1.fc12.x86_64 gvfs-fuse-1.3.2-1.fc12.x86_64 gvfs-obexftp-1.3.2-1.fc12.x86_64 gvfs-smb-1.3.2-1.fc12.x86_64 Would it make sense to create this kind of file/directory in a tmpfs? Perhaps something like "/ephemeral" or some such? Cleanup issues would go away...... [I suppose mounting /tmp as a tmpfs would do the same.] https://fedoraproject.org/wiki/Features/Polyinstantiated_Temporary_Directories is a feature page about this. (In reply to comment #10) > https://fedoraproject.org/wiki/Features/Polyinstantiated_Temporary_Directories > is a feature page about this. Neat... Will this "cleanup the clutter" on logout/close/unmount? This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This continues with rawhide....... [tbl@tlondon ~]$ ls -d /tmp/virt* /tmp/virtual-tbl.2sUsZa /tmp/virtual-tbl.HxmKvq /tmp/virtual-tbl.V9eXKG /tmp/virtual-tbl.4CmPwf /tmp/virtual-tbl.IxZemr /tmp/virtual-tbl.WJ2CeI /tmp/virtual-tbl.62QUd1 /tmp/virtual-tbl.KIBkFr /tmp/virtual-tbl.WSo6xq /tmp/virtual-tbl.6VdvRW /tmp/virtual-tbl.KJRoue /tmp/virtual-tbl.xAam1i /tmp/virtual-tbl.EFTxDo /tmp/virtual-tbl.qt3rKl /tmp/virtual-tbl.XlhjRk /tmp/virtual-tbl.FJjz0g /tmp/virtual-tbl.Su6vSA /tmp/virtual-tbl.GRyG10 /tmp/virtual-tbl.T0CThE [tbl@tlondon ~]$ This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Hi all, I'm running FC14 Beta, with all testing updates installed. I just thought I'd mention I am also having the issue of lots of /tmp/virtual-(username).****** files left behind. I have had to dirty shut-down the machine a few times due to application hangs. Anyway I just thought I'd mention it, I am going to get cron to clean them out on reboot for now. br, alex (In reply to comment #15) > Hi all, I'm running FC14 Beta, with all testing updates installed. I just > thought I'd mention I am also having the issue of lots of > /tmp/virtual-(username).****** files left behind. I have had to dirty shut-down > the machine a few times due to application hangs. Anyway I just thought I'd > mention it, I am going to get cron to clean them out on reboot for now. > br, > alex Unfortunately, the /tmp/virtual-* directories remain even with clean shutdowns/reboots. My workaround is to remove them in /etc/rc.local. There will always be one in /tmp, because rc.local runs before the gnome session starts. I don't know if "--ignore-fail-on-non-empty" is really needed -- the virtual-* directories have always been empty when I removed them manually. $ cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local rmdir --ignore-fail-on-non-empty /tmp/virtual-* This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. 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 '13'. 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 13'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 13 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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 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. Thank you for reporting this bug and we are sorry it could not be fixed. Fedora 15 also has this bug. See also bug #468670 . It's not just that these directories are being created and not removed, it's also that something (it's not known what) periodically touches the directories, preventing their removal. Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 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. Thank you for reporting this bug and we are sorry it could not be fixed. |