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>

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

[-- Attachment #1 --]

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".
> 
> Here is the .xsession-errors.
> .xsession-errors:
> /usr/local/etc/gdm/Xsession: Beginning session setup...
> To change an environment variable in /bin/sh use:
> 
> 	$ VARIABLE="value"
> 	$ export VARIABLE
> Smart Common Input Method 1.4.7
> 
> Launching a SCIM process with x11...
> Loading socket Config module ...
> Creating backend ...
> Loading x11 FrontEnd module ...
> GTK Panel of SCIM 1.4.7
> 
> 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
> 
> (seahorse-agent:1539): atk-bridge-WARNING **: AT_SPI_REGISTRY was not
> started at session startup.
> 
> (seahorse-agent:1539): atk-bridge-WARNING **: IOR not set.
> 
> (seahorse-agent:1539): atk-bridge-WARNING **: Could not locate registry
> 
> (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:
> 
>     http://www.gtk.org/setuid.html
> 
> Refusing to initialize GTK+.

I filed http://bugzilla.gnome.org/show_bug.cgi?id=520664 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

-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkfPaV4ACgkQb2iPiv4Uz4eINQCdHPx2qXzyONKlrcd9FOZkhNiK
0P4AoImNpww6VoREhD9x4ddZfDJroFFp
=zsEs
-----END PGP SIGNATURE-----
help

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