ms-magpie / # ls -l /tmp/xdg/matplotlib/ total 64 -rw-r--r-- 1 root root 33991 Jun 17 07:17 fontList.cache -rw-r--r-- 1 root root 25969 Jun 17 07:17 fontList.py3k.cache drwxr-xr-x 1 root root 0 Jun 17 07:17 tex.cache shouldn't be here, or ?
Can't we drop this thingie to maint-needed? Or maybe to science? ;-P
ofc, but "equery meta -m" == manifest.xml should reflect that then too ;)
Since when is leaving files in /tmp a bug?
(In reply to Kristian Fiskerstrand from comment #3) > Since when is leaving files in /tmp a bug? Since always. Because: a. you don't clean up after yourself, b. you don't respect ${TMPDIR}.
(In reply to Michał Górny from comment #4) > (In reply to Kristian Fiskerstrand from comment #3) > > Since when is leaving files in /tmp a bug? > > Since always. Because: > > a. you don't clean up after yourself, data in /tmp is not expected to be persistent over reboots (the recommendation is for deletion during boot) > > b. you don't respect ${TMPDIR}. http://www.pathname.com/fhs/2.2/fhs-3.15.html#: The /tmp directory must be made available for programs that require temporary files. Programs must not assume that any files or directories in /tmp are preserved between invocations of the program.
(In reply to Kristian Fiskerstrand from comment #5) > (In reply to Michał Górny from comment #4) > > (In reply to Kristian Fiskerstrand from comment #3) > > > Since when is leaving files in /tmp a bug? > > > > Since always. Because: > > > > a. you don't clean up after yourself, > > data in /tmp is not expected to be persistent over reboots (the > recommendation is for deletion during boot) How is that relevant? Sometimes reboots happen every few months or so. Do you think it's fine to keep random files in random paths in /tmp for a few months because they will *eventually* be removed? We could as well stop removing anything because *eventually* the HDD will be wiped. > > > > b. you don't respect ${TMPDIR}. > > http://www.pathname.com/fhs/2.2/fhs-3.15.html#: > The /tmp directory must be made available for programs that require > temporary files. > > Programs must not assume that any files or directories in /tmp are preserved > between invocations of the program. http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html TMPDIR This variable shall represent a pathname of a directory made available for programs that need a place to create temporary files.
I do have this intentionally set in the tinderbox script : export XDG_CACHE_HOME=/tmp/xdg # https://bugs.gentoo.org/show_bug.cgi?id=567192
(In reply to Toralf Förster from comment #7) > I do have this intentionally set in the tinderbox script : > > export XDG_CACHE_HOME=/tmp/xdg # > https://bugs.gentoo.org/show_bug.cgi?id=567192 You could have told this up front. Then it's a matter of ebuild not setting XDG_CACHE_HOME.