Date: Thu, 06 Mar 2008 12:05:43 +0800 From: "Eric L. Chen" <d9364104@mail.nchu.edu.tw> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: freebsd-gnome@freebsd.org Subject: Re: seahorse-agent complains setuid in gnome-2.21.92 Message-ID: <1204776343.4887.1.camel@localhost> In-Reply-To: <1204775263.12543.30.camel@shumai.marcuscom.com> References: <1204766022.1855.7.camel@localhost> <1204775263.12543.30.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2008-03-05 at 22:47 -0500, Joe Marcus Clarke wrote: > 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 > OK, I removed setuid bit then every thing work properly, and seems no other effects. Thanks! /Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1204776343.4887.1.camel>