http://bugs.winehq.org/show_bug.cgi?id=29341
Bug #: 29341 Summary: Wine fails to populate its prefix if ~/.wine points to a non-existent directory Product: Wine Version: 1.3.34 Platform: All OS/Version: All Status: UNCONFIRMED Severity: minor Priority: P2 Component: wineserver AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com Classification: Unclassified
I have several wine prefixes but I want to keep the default ~/.wine temporary thus I created a symbolic link from ~/.wine to /tmp/wine. I do it because I don't want to have temporary software kept (and survive reboots) at all.
The problem is that my /tmp folder is a tmpfs mount point thus after every (re)boot /tmp is empty and /tmp/wine doesn't exist any longer. In this case wine fails to run with this message:
wine: chdir to /home/username/.wine : No such file or directory
Please, allow such a usage scenario (e.g. try to create ~/.wine regardless).
http://bugs.winehq.org/show_bug.cgi?id=29341
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2011-12-13 17:54:42 CST --- Can't you mkdir /tmp/wine on boot? Like in /etc/rc.local or any other /etc/rcX from your distro?
You're giving an invalid link to wine. As far as I understand it's different than giving a non-existant directory.
http://bugs.winehq.org/show_bug.cgi?id=29341
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wineserver |-unknown Platform|All |Other OS/Version|All |other Severity|minor |enhancement
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-13 20:05:43 CST --- Probably an invalid request.
http://bugs.winehq.org/show_bug.cgi?id=29341
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-13 20:12:34 CST --- Wine prefix have to be a real directory. Wineserver explicitly checks for that, and errors out if it's not a directory.
Invalid. Your Wine is probably modified and have this check removed.
http://bugs.winehq.org/show_bug.cgi?id=29341
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2011-12-14 02:42:32 CST --- A lot of applications I have installed here just create their files regardless, so how it can be difficult for Wine to do the same (without checking for errors), and only after that check if it can chdir to it?
http://bugs.winehq.org/show_bug.cgi?id=29341
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-14 03:00:28 CST --- Early reaction on errors is a key for safe programming. You're asking for something really not reasonable.