Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 2008 22:47:43 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: seahorse-agent complains setuid in gnome-2.21.92
Message-ID:  <1204775263.12543.30.camel@shumai.marcuscom.com>
In-Reply-To: <1204766022.1855.7.camel@localhost>
References:  <1204766022.1855.7.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--




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