Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2011 05:20:11 GMT
From:      Xin LI <delphij@gmail.com>
To:        gnome@FreeBSD.org
Subject:   Re: ports/163653: [PATCH] devel/dbus: use /tmp for socket files
Message-ID:  <201112280520.pBS5KB1l097091@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/163653; it has been noted by GNATS.

From: Xin LI <delphij@gmail.com>
To: Doug Barton <dougb@freebsd.org>
Cc: bug-followup@freebsd.org, delphij@freebsd.org
Subject: Re: ports/163653: [PATCH] devel/dbus: use /tmp for socket files
Date: Tue, 27 Dec 2011 20:46:07 -0800

 On Tue, Dec 27, 2011 at 8:40 PM, Doug Barton <dougb@freebsd.org> wrote:
 > Is there any reason not to use /var/run for this? Not everyone cleans
 > out /tmp on reboot, but /var/run should always be cleaned (unless the
 > user has done something wacky, in which case they are on their own).
 
 Yes, primarily because dbus expects random names and and all users
 needs to be able to create the socket (so parent directory needs to be
 1777 rather than the normal ones).
 
 By the way I really don't think /var/run would be cleaned (nor it
 should) because it's important to be able to create a subdirectory
 owned by particular user (e.g. a web server) so unprivileged part of
 these daemons can still make changes to e.g. pid files.
 
 > BTW, changing it away from /var/tmp is a great idea. I could then remove
 > the code I have to clean it up at boot time.
 >
 > Doug
 >
 > --
 >
 > =C2=A0 =C2=A0 =C2=A0 =C2=A0You can observe a lot just by watching. -- Yog=
 i Berra
 >
 > =C2=A0 =C2=A0 =C2=A0 =C2=A0Breadth of IT experience, and depth of knowled=
 ge in the DNS.
 > =C2=A0 =C2=A0 =C2=A0 =C2=A0Yours for the right price. =C2=A0:) =C2=A0http=
 ://SupersetSolutions.com/
 >
 
 
 
 --=20
 Xin LI <delphij@delphij.net> https://www.delphij.net/
 FreeBSD - The Power to Serve! Live free or die



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112280520.pBS5KB1l097091>