[Bug 14838] New: TMPDIR environment variable is not used at all
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(a)winehq.org ReportedBy: killertux(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified --- Comment #1 from Austin English <austinenglish(a)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! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14838 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #2 from André H. <nerv(a)dawncrow.de> 2009-07-21 13:15:00 --- confirming in wine 1.1.26 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2010-05-26 15:44:33 --- Still present. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14838 butraxz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz(a)gmail.com --- Comment #4 from butraxz(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Still in wine-1.7.24-14-gd1749b5 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #6 from André H. <nerv(a)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" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #7 from André H. <nerv(a)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!? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #8 from Sebastian Lackner <sebastian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #9 from Austin English <austinenglish(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 Steven Stewart-Gallus <sstewartgallus00(a)mylangara.bc.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sstewartgallus00(a)mylangara. | |bc.ca -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #10 from Steven Stewart-Gallus <sstewartgallus00(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=39013 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 Detlef Riekenberg <wine.dev(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev(a)web.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 --- Comment #11 from Ken Sharp <imwellcushtymelike(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=14838 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.2 CC| |focht(a)gmx.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14838 Konstantin Demin <rockdrilla(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rockdrilla(a)gmail.com --- Comment #12 from Konstantin Demin <rockdrilla(a)gmail.com> --- See MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/3381 try following locations for wineserver directory: - `${XDG_RUNTIME_DIR}/wine` - `/run/user/${uid}/wine` - `${TMPDIR}/wine` - only if `${TMPDIR}` is owned by user - `${TMPDIR}/.wine-${uid}` - `/tmp/.wine-${uid}` - current/default behavior -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla