http://bugs.winehq.org/show_bug.cgi?id=14838
Summary: TMPDIR environment variable is not used at all Product: Wine Version: CVS/GIT Platform: PC URL: http://en.wikipedia.org/wiki/TMPDIR OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: killertux@suomi24.fi
Tested on Wine 1.1.2-307-g520ab5c
Wine simply does not use TMPDIR environment variable and as far as I know Wine has never used this environment variable... it just defaults to /tmp
http://bugs.winehq.org/show_bug.cgi?id=14838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-20 02:39:54 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14838
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #2 from André H. nerv@dawncrow.de 2009-07-21 13:15:00 --- confirming in wine 1.1.26
http://bugs.winehq.org/show_bug.cgi?id=14838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #3 from Austin English austinenglish@gmail.com 2010-05-26 15:44:33 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=14838
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #4 from butraxz@gmail.com 2012-05-18 05:40:53 CDT --- This bug has not been updated for two years and OP by four. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #5 from Austin English austinenglish@gmail.com --- Still in wine-1.7.24-14-gd1749b5
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #6 from André H. nerv@dawncrow.de --- (In reply to Austin English from comment #5)
Still in wine-1.7.24-14-gd1749b5
yes, simply test this with:
git grep TMPDIR git grep "/tmp"
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #7 from André H. nerv@dawncrow.de --- It's now used in three places: https://source.winehq.org/git/wine.git/commitdiff/613d1715a4f7663f7f160d8260... https://source.winehq.org/git/wine.git/commitdiff/20006966ab737e3da0ed107cf0... https://source.winehq.org/git/wine.git/commitdiff/b5eec8131507773eb6688b84e9...
The winebuild patch was most likely rejected for adding complexity... The libwine patch was rejected because: "The server dir needs to be unique for a given prefix, so it cannot depend on environment variables."
So, this might be a WONTFIX!?
https://bugs.winehq.org/show_bug.cgi?id=14838
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #8 from Sebastian Lackner sebastian@fds-team.de --- For libwine: What about testing if /tmp exists, then falling back to the Android code path if it doesn't? As already mentioned on IRC, there are some users frequently reporting issues, because their distro doesn't have /tmp, and would be nice if Wine could work out of the box without recompiling.
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Sebastian Lackner from comment #8)
For libwine: What about testing if /tmp exists, then falling back to the Android code path if it doesn't? As already mentioned on IRC, there are some users frequently reporting issues, because their distro doesn't have /tmp, and would be nice if Wine could work out of the box without recompiling.
See also bug 39013, where a user has /tmp set to writable only by root.
https://bugs.winehq.org/show_bug.cgi?id=14838
Steven Stewart-Gallus sstewartgallus00@mylangara.bc.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sstewartgallus00@mylangara. | |bc.ca
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #10 from Steven Stewart-Gallus sstewartgallus00@mylangara.bc.ca ---
"The server dir needs to be unique for a given prefix, so it cannot
depend on environment variables."
That's a feature not a bug. It allows one to have separate wine server instances.
https://bugs.winehq.org/show_bug.cgi?id=14838
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=39013
https://bugs.winehq.org/show_bug.cgi?id=14838
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Now, we also have $XDG_RUNTIME_DIR. I don't know if this would be of any use to Wine or not. systemd should make this directory available at log-in.
https://www.freedesktop.org/software/systemd/man/pam_systemd.html https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
"The server dir needs to be unique for a given prefix, so it cannot depend on environment variables."
Is this true anymore? Each server creates its own private directory in /tmp so it should be able to do that anywhere.
https://bugs.winehq.org/show_bug.cgi?id=14838
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.2 CC| |focht@gmx.net