From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 05:14:47 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42A3F106564A for ; Wed, 8 Apr 2009 05:14:47 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 11AAB8FC13 for ; Wed, 8 Apr 2009 05:14:46 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so2976227rvb.43 for ; Tue, 07 Apr 2009 22:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cZYR3dP6s9+a7cr6oJeISUKW0iVHejPEAmVYMjOfJhs=; b=JJ17TA3MAgEuGT2Zt7oVXHeq905EpH8CgafytgSLivdQQHX8SxKS2TkYTBZl7wOK7C 694oh/GSJWgToobxSdFS4X4NlSgaTIKHKIH768ay4fNTcXkJCARBM22w4O2XWgGpnvbI ZqGHF8YdgAa2UyWNq665Rve3BY4fgAi0zbUDQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wI9orRVl/aycLTvGLsgJmdQeYqW6W6b1Z1+ELy7vN0nkLrJoukYfIGCX9Kv0vgA/+a VGgaSg4ZYiugSuIABkx4O8oTgLqJQGOZlPISYFpynArJxsETXYrtq9YUyzNq2cO58KvJ lpNAka0OkYS7aChvyNN8SP50RGbBUD+qmwn20= MIME-Version: 1.0 Received: by 10.141.107.13 with SMTP id j13mr335595rvm.251.1239167686677; Tue, 07 Apr 2009 22:14:46 -0700 (PDT) In-Reply-To: <1239150469.98664.18.camel@shumai.marcuscom.com> References: <934e1d760904061455o4736d643o1d07e3292192d94c@mail.gmail.com> <1239078081.1908.41.camel@balrog.2hip.net> <49DAE987.7090802@freebsd.org> <1239086408.35025.59.camel@shumai.marcuscom.com> <20090407185915.GY31409@albert.catwhisker.org> <49DBA371.3080804@freebsd.org> <92cd2ff70904071637h362da63ua13c1f8eca6fc616@mail.gmail.com> <1239147806.98664.12.camel@shumai.marcuscom.com> <92cd2ff70904071653r4bf3b381lf5de220b2e280c0c@mail.gmail.com> <1239150469.98664.18.camel@shumai.marcuscom.com> Date: Tue, 7 Apr 2009 22:14:46 -0700 Message-ID: From: Freddie Cash To: current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Hal and KDM breakage (was Re: KDE4 and input events stalled) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 05:14:47 -0000 On Tue, Apr 7, 2009 at 5:27 PM, Joe Marcus Clarke wrot= e: > On Tue, 2009-04-07 at 16:53 -0700, Tim Kientzle wrote: >> On Tue, Apr 7, 2009 at 4:43 PM, Joe Marcus Clarke >> wrote: >> >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 It's not a question of what hal is doing, bu= t rather how >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 console-kit >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 works (and hald depends on console-kit-daemo= n). =C2=A0It needs to >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 be able to >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 monitor each of the active vtys... >> >> This is the part of the picture I'm still missing. =C2=A0*Why* does >> hald (via console-kit) care about tracking active vtys? >> (I presume hald actually doesn't care but that some client >> of hald needs this information.... ???) > > ConsoleKit monitors the vtys for active changes so it can provide > consumers such as hal and PolicyKit information about active sessions. > In particular, hal uses CK to determine if a user is currently logged in > on the console, and if so, allows that user to mount certain volumes > that would otherwise not be allowed. > >> >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 .... =C2=A0Bland did some work to correct th= is in -CURRENT, but it >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 won't work on other versions. =C2=A0It was j= ust easier to leave the >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 hack in >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 place. >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 If this could be universally fixed in all su= pported versions >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 of FreeBSD, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 then I would be happy to remove the hacks. >> >> I'm still curious whether it's feasible to just not monitor the vtys. > > Sure, you can try it. =C2=A0Especially if you're not using GNOME, this mi= ght > be fine. =C2=A0Just remove the hacks from hald's rc.d script. Doesn't work, at least not in my quick-n-dirty testing, using the kdm4 script I just posted. If you remove the lshal checks, then the keyboard doesn't work once kdm starts. --=20 Freddie Cash fjwcash@gmail.com