From nobody@FreeBSD.org  Fri Dec 26 14:25:11 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 242421065677
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Dec 2008 14:25:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 121E08FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Dec 2008 14:25:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQEPA2e029861
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Dec 2008 14:25:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mBQEPA7w029852;
	Fri, 26 Dec 2008 14:25:10 GMT
	(envelope-from nobody)
Message-Id: <200812261425.mBQEPA7w029852@www.freebsd.org>
Date: Fri, 26 Dec 2008 14:25:10 GMT
From: Kyryll A Mirnenko <mirya@zoc.com.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wine 1.1.11 fails to start: problems with temporary files
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129951
>Category:       ports
>Synopsis:       emulators/wine 1.1.11 fails to start: problems with temporary files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 26 14:30:00 UTC 2008
>Closed-Date:    Sat Dec 27 18:14:40 UTC 2008
>Last-Modified:  Sat Dec 27 18:20:02 UTC 2008
>Originator:     Kyryll A Mirnenko
>Release:        RELENG_7_1
>Organization:
>Environment:
FreeBSD miryanote 7.1-RC2 FreeBSD 7.1-RC2 #15: Tue Dec 23 12:31:18 EET 2008     mirya@miryanote:/usr/src/sys/i386/compile/MY-LITE  i386
>Description:
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 &#1075;&#1088;&#1091; 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
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gerald 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 26 22:37:47 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129951 
State-Changed-From-To: open->closed 
State-Changed-By: gerald 
State-Changed-When: Sat Dec 27 18:13:30 UTC 2008 
State-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129951 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129951: commit references a PR
Date: Sat, 27 Dec 2008 18:10:26 +0000 (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"
 
>Unformatted:
