From owner-freebsd-questions@FreeBSD.ORG Wed Jun 6 01:25:02 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 9FBCA16A400 for ; Wed, 6 Jun 2007 01:25:02 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 73F0D13C45D for ; Wed, 6 Jun 2007 01:25:02 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 19694 invoked from network); 6 Jun 2007 11:25:01 +1000 Received: from 203-214-138-113.perm.iinet.net.au (HELO localhost) (203.214.138.113) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Jun 2007 11:25:01 +1000 Date: Wed, 6 Jun 2007 11:24:54 +1000 From: Norberto Meijome To: Sereno Ternullo Message-ID: <20070606112454.5a4005f2@localhost> In-Reply-To: <4665E3A6.60309@virgilio.it> References: <200706050054.32377.serenoternullo@virgilio.it> <20070605105451.76ef095f@localhost> <4665E3A6.60309@virgilio.it> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Wed, 06 Jun 2007 01:25:02 -0000 On Wed, 06 Jun 2007 00:28:54 +0200 Sereno Ternullo wrote: > From: Sereno Ternullo > To: Norberto Meijome > CC: freebsd-questions@freebsd.org > Subject: Re: Making a new libmap.conf for linux emulation > Date: Wed, 06 Jun 2007 00:28:54 +0200 > User-Agent: Mozilla Thunderbird 1.5.0.12 (Macintosh/20070509) > > 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. hmm not necessarily the way to go (restraining myself from saying 'definitely bad bad bad')... have you seen all the linux-* ports in /usr/ports? (and do you REALLY need ALL of the rpms in FC4? ) > > # 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. hmm i dont like it :) > > 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 Ockam's razor says you simply stuffed up the system so much it's beyond recognition. I suggest reading the FBSD Handbook, including the section about linux compatibility (and believe the handbook, that is all you have to do to have it working!), then give this computer another chance by reinstalling. > > 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'll say it again - there is NO need to touch libmap.conf when setting up your run of the mill linux compat. you may *have* to in some cases, but I haven't had to yet in several years of using linux compat. > > I'm running FreeBSD 6.2 , GENERIC, > the linux base installed system is Fedora Core 4. you need to install from emulators/linux_base-.... pick your own. Wipe the machine and start again :) that's how we all learnt ;) good luck! _________________________ {Beto|Norberto|Numard} Meijome I used to hate weddings; all the Grandmas would poke me and say, "You're next sonny!" They stopped doing that when i started to do it to them at funerals. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.