From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 25 16:23:25 2008 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E1541065670; Fri, 25 Jul 2008 16:23:25 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id E8EF58FC08; Fri, 25 Jul 2008 16:23:24 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m6PGNndi095001; Fri, 25 Jul 2008 12:23:49 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Volker Stolz In-Reply-To: <806AF92E-7CAD-41F2-B5C1-BF5F8A76FC57@FreeBSD.org> References: <7D63219B-DB97-41D1-B4DE-F191F0F93FD6@FreeBSD.org> <1214677183.86194.5.camel@shumai.marcuscom.com> <806AF92E-7CAD-41F2-B5C1-BF5F8A76FC57@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ez713cv2O0qkXH9yMYIK" Organization: MarcusCom, Inc. Date: Fri, 25 Jul 2008 12:23:29 -0400 Message-Id: <1217003009.77313.8.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: gnome@FreeBSD.org Subject: Re: Issue with gdmchooser (2.20.6) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 16:23:25 -0000 --=-Ez713cv2O0qkXH9yMYIK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-07-25 at 20:02 +0800, Volker Stolz wrote: > Sigh, it took the whole day to track down why XDMCP wasn't working: > just like NetBSD, we need to disable the IPV6_V6ONLY socket option > first, otherwise the broadcast to ::ffff:x.x.x.x won't work. >=20 > I'd like to commit the attached patch that > - hides harmless warnings on FreeBSD: we give ENXIO for non-IP > interfaces, but that shouldn't worry anyone > - get XDMCP queries rolling -- without this patch, XdmcpFlush fails > and no XDMCP packet ever hits the wire. With this patch, I can > successfully discover all (IPv4) hosts offering remote login on my > network (nobody speaks IPv6 here yet). The patch is borrowed from > NetBSD pkgsrc. > Also bump PORTREVISION. >=20 >=20 > I'd also like to submit this upstream. Approved all around. Thanks for looking at this. Joe >=20 >=20 > Volker >=20 >=20 >=20 >=20 >=20 > > On 29.06.2008, at 02:19, Joe Marcus Clarke wrote: > >=20 > > > On Mon, 2008-06-23 at 13:04 +0800, Volker Stolz wrote: > > > > Hi guys, I was playing with XDMCP and the gdmchooser drops the > > > > following in syslog when looking for local interfaces to > > > > broadcast on: > > > >=20 > > > > Jun 23 12:32:13 pc139 gdmchooser[37872]: CRITICAL: Could not get > > > > SIOCGIFFLAGS for ^\b > > > > Jun 23 12:32:13 pc139 gdmchooser[37872]: CRITICAL: Could not get > > > > SIOCGIFFLAGS for 8^R^C > > > >=20 > > > > It looks like there's something going wrong (I'm on 7.0-R with a > > > > bge0,plip0,lo0), and we don't have the SIOCGIFNUM ioctl anyway. > > > > Is > > > > someone interested in getting something like the following patch > > > > into > > > > the port and/or upstream? [Note that I usually don't program in > > > > C ;)] > > >=20 > > > This patch seems pretty intrusive. However, I appreciate the > > > report, > > > and I'll look at creating something more portable. > --=20 > "In Macao ist alles besser!" > http://lambda.foldr.org/~vs/ >=20 >=20 >=20 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Ez713cv2O0qkXH9yMYIK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkiJ/gAACgkQb2iPiv4Uz4eXngCeJCe0qPbRYiftL/M21pswMaFw BCUAoIrRYlO5QO4B6uLNXtJ2DY9IHpYZ =Zit9 -----END PGP SIGNATURE----- --=-Ez713cv2O0qkXH9yMYIK--