ports/92844: [PATCH] devel/dbus: minor fixes

Pascal Hofstee caelian at gmail.com
Tue Feb 14 16:00:29 PST 2006


The following reply was made to PR ports/92844; it has been noted by GNATS.

From: Pascal Hofstee <caelian at gmail.com>
To: bug-followup at FreeBSD.org, leeym at freebsd.org
Cc:  
Subject: Re: ports/92844: [PATCH] devel/dbus: minor fixes
Date: Tue, 14 Feb 2006 15:50:27 -0800

 ------=_Part_7775_3484170.1139961027744
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 This commit actually breaks the dbus port.
 
 By setting localstatedir to /var .. the port is trying to "mkdir
 /var/run/dbus"  for its localstatedir during the install phase. However
 /var/run/dbus is at the same time used as the name for the dbus-socket.
 
 This is an obvious naming conflict that breaks a portupgrade (when the
 dbus-socket already exists), or if the socket does not exist during
 installation, causes dbus to be unable to start because the new
 /var/run/dbus/ localstatedir triggers dbus launch to think it's already
 running because its "socket" already exists.
 
 The proper solution is likely to resolve this path-conflict by either
 renaming the dbus-socket .. or putting it Inside the new localstatedir.
 
 --
   Pascal Hofstee
 
 ------=_Part_7775_3484170.1139961027744
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 This commit actually breaks the dbus port.<br><br>By setting localstatedir =
 to /var .. the port is trying to &quot;mkdir /var/run/dbus&quot;&nbsp; for =
 its localstatedir during the install phase. However /var/run/dbus is at the=
  same time used as the name for the dbus-socket.
 <br><br>This is an obvious naming conflict that breaks a portupgrade (when =
 the dbus-socket already exists), or if the socket does not exist during ins=
 tallation, causes dbus to be unable to start because the new /var/run/dbus/=
  localstatedir triggers dbus launch to think it's already running because i=
 ts &quot;socket&quot; already exists.
 <br><br>The proper solution is likely to resolve this path-conflict by eith=
 er renaming the dbus-socket .. or putting it Inside the new localstatedir.<=
 br><br>-- <br>&nbsp; Pascal Hofstee<br>
 
 ------=_Part_7775_3484170.1139961027744--


More information about the freebsd-gnome mailing list