Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754540AbZJGSqo (ORCPT ); Wed, 7 Oct 2009 14:46:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753768AbZJGSqn (ORCPT ); Wed, 7 Oct 2009 14:46:43 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:53968 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752406AbZJGSqm (ORCPT ); Wed, 7 Oct 2009 14:46:42 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=au+DsDDO6e35IH9DUk56E5WNau9AaYyjhoQXbNj0S/PXyGFxC8rhrx/7obW6SY4DyK 7KtcuTxqI7BUbmyQ7eMo9Oow6qkAKqqeDFRmDK/yT391Sg1lB4HQfsCKRRfzdUfSrqIV U2DmsrsHK/UidrUcuzL0XwXpLrzYds9APxF7A= Message-ID: <4ACCE1BA.5000307@gmail.com> Date: Wed, 07 Oct 2009 11:45:14 -0700 From: "Justin P. Mattock" User-Agent: Spicebird/0.7.1 (X11; 2009022519) MIME-Version: 1.0 To: rostedt@goodmis.org CC: Jason Baron , Ingo Molnar , Peter Zijlstra , Li Zefan , Frederic Weisbecker , Linux Kernel Mailing List Subject: Re: system gets stuck in a lock during boot References: <1251096925.7538.121.camel@twins> <4A9251EB.8040805@gmail.com> <20090825085919.GB14003@elte.hu> <4A94803A.5060408@gmail.com> <20090826073351.GE23435@elte.hu> <4A9549E5.5020002@gmail.com> <20091002211211.GA2633@redhat.com> <1254792249.13160.213.camel@gandalf.stny.rr.com> <20091006203225.GC2631@redhat.com> <1254880921.1696.112.camel@gandalf.stny.rr.com> <4ACC001D.4050105@gmail.com> <1254920429.1696.127.camel@gandalf.stny.rr.com> <4ACCAB54.4010408@gmail.com> <1254928298.1696.166.camel@gandalf.stny.rr.com> <4ACCB934.7070805@gmail.com> <1254931582.1696.171.camel@gandalf.stny.rr.com> In-Reply-To: <1254931582.1696.171.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1531 Lines: 50 Steven Rostedt wrote: > On Wed, 2009-10-07 at 08:52 -0700, Justin P. Mattock wrote: > > >>> >>> >> What I think is happening is while building >> sysvinit with the SELinux patch, sysvinit is looking >> in /lib for libselinux(but could be wrong) but libselinux is in >> /lib64. >> (here's my excuse as a newbie:) >> part of a pain when building an x86_64 multilib is building >> everything to point to lib64(pure64 with the soft link >> lib64 -> lib makes life so much easier). >> >> I'm going to look at that patch and see how it tells >> -lselinux -lsepol to find the libs. >> (if this is the case then I must admit I am a real >> newbie, and apologize for the confusion). >> > > Justin, > > Just being able to monkey around with the init code on top of SELinux > already qualifies you to be well beyond a newbie ;-) > > -- Steve > > > > yep like I said I owe you guys an apology, for my mistake(thanks for taking the time). From what it looks like init was looking for libselinux in /lib instead of /lib64. after adjusting the Makefile and adding: LDFLAGS = -s -L/lib64 -lselinux -lsepol LIBDIR=/lib64 the system boots right up. (sh*t built everything to point to lib64(xserver and all).., and forgot the modify init.c to do the same). Justin P. Mattock -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/