Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 00:00:28 GMT
From:      Pascal Hofstee <caelian@gmail.com>
To:        gnome@FreeBSD.org
Subject:   Re: ports/92844: [PATCH] devel/dbus: minor fixes
Message-ID:  <200602150000.k1F00Sh6070446@freefall.freebsd.org>

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

From: Pascal Hofstee <caelian@gmail.com>
To: bug-followup@FreeBSD.org, leeym@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--



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