Bug 129951 - emulators/wine 1.1.11 fails to start: problems with temporary files
Summary: emulators/wine 1.1.11 fails to start: problems with temporary files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-26 14:30 UTC by Kyryll A Mirnenko
Modified: 2008-12-27 18:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyryll A Mirnenko 2008-12-26 14:30:00 UTC
Any wine problem fails to start due to wineserver initialization failure:

$ winecfg
wineserver: /tmp/.wine-1005 must not be accessible by other users

For some reason the temporary files are created with broken permissions, like /tmp/.wine-1005:

d-wxr-xr--   2 mirya  wheel    512 26 гру 16:11 .wine-1005

umask is 0022, and /tmp has standart rwxrwxrwt permissions. It's possible to make it start at last by setting /tmp/.wine-1005 and subdirs permissions to -rwx------ manually, but then any application trying temporary files creation fill fail, probably due to the same reason.

The described behavior was not observed with wine-1.1.10, same machine

How-To-Repeat: 1) update to wine-1.1.11 / RELENG_7_1
2) run some simple app, like winecfg
3) expected: fails to start with the message like

wineserver: /tmp/.wine-1005 must not be accessible by other users
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-12-26 22:37:47 UTC
Responsible Changed
From-To: freebsd-bugs->gerald

Over to maintainer.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-12-27 18:10:26 UTC
gerald      2008-12-27 18:10:15 UTC

  FreeBSD ports repository

  Modified files:
    emulators/wine       Makefile 
  Added files:
    emulators/wine/files patch-configure 
  Log:
  Address a problem related to (incorrect) use of _mkdir by backporting
  part of the full fix that has been applied upstream past 1.1.11.
  
  Bump PORTREVISION, giving wine-1.1.11_1,1.tbz which is kind of nice. :-)
  
  PR:             129951
  Submitted by:   Christoph Mallon <christoph.mallon@gmx.de>
  
  Revision  Changes    Path
  1.281     +1 -0      ports/emulators/wine/Makefile
  1.3       +10 -0     ports/emulators/wine/files/patch-configure (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2008-12-27 18:13:30 UTC
State Changed
From-To: open->closed

Thanks for the report.  I just committed a small patch that should 
address this issue, and had also reported it upstream and verified 
that Wine 1.1.12 will have this regression fixes upstream as well.