From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 6 03:47:51 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3BD106566B for ; Thu, 6 Mar 2008 03:47:51 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 548098FC15 for ; Thu, 6 Mar 2008 03:47:51 +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 m263mcIJ023589; Wed, 5 Mar 2008 22:48:38 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "Eric L. Chen" In-Reply-To: <1204766022.1855.7.camel@localhost> References: <1204766022.1855.7.camel@localhost> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kzFq+N0ZNsnqKly6AM9z" Organization: MarcusCom, Inc. Date: Wed, 05 Mar 2008 22:47:43 -0500 Message-Id: <1204775263.12543.30.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: seahorse-agent complains setuid in gnome-2.21.92 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: Thu, 06 Mar 2008 03:47:51 -0000 --=-kzFq+N0ZNsnqKly6AM9z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-03-06 at 09:13 +0800, Eric L. Chen wrote: > Hi, > I upgraded gnome to 2.21.92 from marcuscom-cvs. > After that, gnome-session cannot start cause seahorse-agnet setuid. > I start gnome-session using: > "ssh-agent dbus-launch --exit-with-session seahorse-agent --execute > gnome-session". >=20 > Here is the .xsession-errors. > .xsession-errors: > /usr/local/etc/gdm/Xsession: Beginning session setup... > To change an environment variable in /bin/sh use: >=20 > $ VARIABLE=3D"value" > $ export VARIABLE > Smart Common Input Method 1.4.7 >=20 > Launching a SCIM process with x11... > Loading socket Config module ... > Creating backend ... > Loading x11 FrontEnd module ... > GTK Panel of SCIM 1.4.7 >=20 > Starting SCIM as daemon ... > SCIM has been successfully launched. > /usr/local/etc/gdm/Xsession: Setup done, will > execute: /usr/bin/ssh-agent -- ssh-agent dbus-launch --exit-with-session > seahorse-agent --execute gnome-session >=20 > (seahorse-agent:1539): atk-bridge-WARNING **: AT_SPI_REGISTRY was not > started at session startup. >=20 > (seahorse-agent:1539): atk-bridge-WARNING **: IOR not set. >=20 > (seahorse-agent:1539): atk-bridge-WARNING **: Could not locate registry >=20 > (process:1539): Gtk-WARNING **: This process is currently running setuid > or setgid. > This is not a supported use of GTK+. You must create a helper > program instead. For further details, see: >=20 > http://www.gtk.org/setuid.html >=20 > Refusing to initialize GTK+. I filed http://bugzilla.gnome.org/show_bug.cgi?id=3D520664 for this. It doesn't look like seahorse uses mlock() anymore so you can try removing the setuid bit from seahorse-agent, and see if it works. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-kzFq+N0ZNsnqKly6AM9z Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkfPaV4ACgkQb2iPiv4Uz4eINQCdHPx2qXzyONKlrcd9FOZkhNiK 0P4AoImNpww6VoREhD9x4ddZfDJroFFp =zsEs -----END PGP SIGNATURE----- --=-kzFq+N0ZNsnqKly6AM9z--