From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 22:30:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA91616A41F for ; Tue, 5 Jun 2007 22:30:42 +0000 (UTC) (envelope-from serenoternullo@virgilio.it) Received: from vsmtp14.tin.it (vsmtp14.tin.it [212.216.176.118]) by mx1.freebsd.org (Postfix) with ESMTP id 766D213C489 for ; Tue, 5 Jun 2007 22:30:42 +0000 (UTC) (envelope-from serenoternullo@virgilio.it) Received: from [87.16.171.164] (87.16.171.164) by vsmtp14.tin.it (7.3.122) id 4641E06D01A63D78; Wed, 6 Jun 2007 00:30:37 +0200 Message-ID: <4665E3A6.60309@virgilio.it> Date: Wed, 06 Jun 2007 00:28:54 +0200 From: Sereno Ternullo User-Agent: Mozilla Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: Norberto Meijome References: <200706050054.32377.serenoternullo@virgilio.it> <20070605105451.76ef095f@localhost> In-Reply-To: <20070605105451.76ef095f@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Making a new libmap.conf for linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 22:30:42 -0000 Norberto Meijome ha scritto: > On Tue, 5 Jun 2007 00:54:32 +0200 > Sereno Ternullo wrote: > > >> Hi all, >> I made too many mistakes configuring my /etc/libmap.conf file and now >> I'm having problems with my "linux sub system". >> > > why do you think you have to do that for? > I'm slowing understanding the source of my disaster. Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 base system, I had the insane idea of installing an entire Fedora core 4 system by unpacking all the RMPs found on the first ISO image of the linux distribution. # mount /dev/md0 /mnt/FedoraISO # cd /mnt/FedoraISO # for rpm in *.rmp > do > rpm --ignore-os -i --root-install /compat/linux ${rpm} > done After these commands I had my problem with ldconfig and the linux emulation. Now the strangest thing: my /etc/libmap.conf file disappeared. * I didn't have to install any rpms ? * I was sleeping and issued rm libmap.conf ? * someone logged into my system hacking my password by ssh ? --> I will check my logs I don't know. However, my libmap.conf was missing. I tried to adjust it by hand, but I'm not that expert, and everything I do about it is useless. Can anyone of you post me his own libmap.conf file with basic linux emulation ? I'm running FreeBSD 6.2 , GENERIC, the linux base installed system is Fedora Core 4. Thank you all, Sereno.