From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 29 18:13:39 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 637191065670 for ; Tue, 29 Apr 2008 18:13:39 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1F38FC12 for ; Tue, 29 Apr 2008 18:13:39 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.52] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JquKf-000IBg-Q4; Tue, 29 Apr 2008 22:13:37 +0400 To: John E Hein References: <48164CD5.9030109@gmail.com> <790a9fff0804281537p27003437p10ff1d9bf7c7bff@mail.gmail.com> <20080429045001.GW18958@deviant.kiev.zoral.com.ua> <42172269@ipt.ru> <20080429101459.GX18958@deviant.kiev.zoral.com.ua> <95766063@serv3.int.kfs.ru> <18455.7999.318965.875282@gromit.timing.com> From: Boris Samorodov Date: Tue, 29 Apr 2008 22:13:36 +0400 In-Reply-To: <18455.7999.318965.875282@gromit.timing.com> (John E. Hein's message of "Tue\, 29 Apr 2008 07\:14\:39 -0600") Message-ID: <94009951@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: linux_base-f8 giving me guff X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 18:13:39 -0000 On Tue, 29 Apr 2008 07:14:39 -0600 John E Hein wrote: > Boris Samorodov wrote at 16:51 +0400 on Apr 29, 2008: > > Can you please give (an) example(s) when it is necessary to install > > files with stale /usr/compat/linux/etc/ld.so.cache? > Installing to a chroot for deployment on a different system. > This is one well-used mode of operation that many ports > maintainers do not consider. We have packages for that purpose... Or I didn't understand you. > Also note that /etc/rc.d/abi runs /compat/linux/sbin/ldconfig. ...which will run while booting? That is not enough if you just install a linux port. > > I'm not sure if it make more good than harm... So far we rely on > > linuxulator being run and check for compat.linux.osrelease value > > while installing. If that check is removed then we have only FreeBSD > > OSVERSION which is very unreliable at compat.linux.osrelease quessing. > At least add a knob (ala DISABLE_VULNERABILITIES) for when the user > knows better. For packaging needs I suppose to use (an overwritable) variable LINUX_OSRELEASE. It will be introduced at bsd.linux-apps.mk together with other linux-f8 infrastructure ports. See the recent emulation@ archives for more details. WBR -- bsam