From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 6 04:05: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 2B0FE106566C for ; Thu, 6 Mar 2008 04:05:51 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id D4A4E8FC14 for ; Thu, 6 Mar 2008 04:05:50 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so510464anc.13 for ; Wed, 05 Mar 2008 20:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; bh=4gKIMW2eXVrtlkGwIccRjHaaqVoOiDwvnxUxFd5AJa0=; b=dCLX1Vu596JvSDjMwLZJGQhQ3j7Sh2Qje4N9P1B466uJjj0cjwMnM+8u9y9oMoew1PkYfUoAZPThGv9sx4qS+ezIYiiXGEPzIvpMzQ9GkUnKsiJrXJ9hg0uCDwieG+weDkBwl45srlvbZe2C9TtvuQ8mACuXOK3phL1ipjdvz3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=jScpSQBCyq3yUHItD93HFM2nRrh8CAOekZ8sJq6jK7q8gvgJd9rYjLDBNl8sR3NMBTp19s7wiUsxfQaK93ebhw6vAdU6sZ/SYXs0dmukWYP0p5NF8i+8hN/qwzx9GHqlu/ciZaGujF3i4yzmTVSixaf6rEfN3JPX26zqaymtSXg= Received: by 10.101.71.16 with SMTP id y16mr8814200ank.66.1204776350258; Wed, 05 Mar 2008 20:05:50 -0800 (PST) Received: from ?192.168.10.84? ( [59.125.13.44]) by mx.google.com with ESMTPS id d34sm4064938and.8.2008.03.05.20.05.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Mar 2008 20:05:49 -0800 (PST) From: "Eric L. Chen" To: Joe Marcus Clarke In-Reply-To: <1204775263.12543.30.camel@shumai.marcuscom.com> References: <1204766022.1855.7.camel@localhost> <1204775263.12543.30.camel@shumai.marcuscom.com> Content-Type: text/plain Date: Thu, 06 Mar 2008 12:05:43 +0800 Message-Id: <1204776343.4887.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.21.92 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Sender: "Eric L. Chen" 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 04:05:51 -0000 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