From owner-freebsd-emulation@FreeBSD.ORG Sun Feb 19 15:56:23 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEEF016A423 for ; Sun, 19 Feb 2006 15:56:23 +0000 (GMT) (envelope-from wietse@porcupine.org) Received: from spike.porcupine.org (spike.porcupine.org [168.100.189.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22DC643D5E for ; Sun, 19 Feb 2006 15:56:22 +0000 (GMT) (envelope-from wietse@porcupine.org) Received: by spike.porcupine.org (Postfix, from userid 1001) id 038CBBC074; Sun, 19 Feb 2006 10:56:21 -0500 (EST) To: freebsd-emulation@freebsd.org Date: Sun, 19 Feb 2006 10:56:21 -0500 (EST) X-Time-Zone: USA EST, 6 hours behind central European time X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20060219155622.038CBBC074@spike.porcupine.org> From: wietse@porcupine.org (Wietse Venema) Subject: VMware 4 now has networking support 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: Sun, 19 Feb 2006 15:56:23 -0000 Frustrated by the absence of recent VMware support I have taken a day or so to tinker with Orlando Bassoto's port from a year ago at http://www.break.net/orlando/freebsd.html. I got the vmnet network interface to compile and run, but the rest still needs lots of work. Here are some first impressions after I got it to work on my FreeBSD 5.3 laptop computer (an IBM T42P). Normally I use this machine with VMware 3. - An idle virtual machine running Win/XP or FreeBSD 6 burns 10-20% of my 2GHz CPU. This may have to do with the next problem. - It complains that /dev/rtc is unavailable (no such file or directory) even when I union mount defvs over /compat/linux/dev. - When running as non-root, many things break with "NOT_IMPLEMENTED F(638):663" followed by "Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server ...". If someone wants to pick up this effort, great, because I am both out of time and at the limits of my expertise. You can find my tarball with patches and README for VMware 4.5.2 at ftp://ftp.porcupine.org/pub/misc/vmware4-freebsd-20060218.tar.gz and ftp://ftp.porcupine.org/pub/misc/vmware4-freebsd-20060218.tar.gz.sig Wietse From owner-freebsd-emulation@FreeBSD.ORG Sun Feb 19 23:38:50 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27AAC16A420 for ; Sun, 19 Feb 2006 23:38:50 +0000 (GMT) (envelope-from ltgator333@yahoo.com) Received: from web34707.mail.mud.yahoo.com (web34707.mail.mud.yahoo.com [209.191.68.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 9538143D45 for ; Sun, 19 Feb 2006 23:38:49 +0000 (GMT) (envelope-from ltgator333@yahoo.com) Received: (qmail 16016 invoked by uid 60001); 19 Feb 2006 23:38:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Er0LL6hCAJl40QkmcLsz4lqDH1B6fYvKnzllv353vIBZFthgtRor1VEIc5KBcx0fYru9pvcZkdhkbgH+Hih+fbUdqQsjCyNr23ZiY6exv4OtCqobiC/vT+gTfDyU6G/7cl0EiD+IMuzbNCMVvQ0zjA/KGhTBTHWVJFqa14oujlg= ; Message-ID: <20060219233849.16014.qmail@web34707.mail.mud.yahoo.com> Received: from [24.56.195.69] by web34707.mail.mud.yahoo.com via HTTP; Sun, 19 Feb 2006 15:38:49 PST Date: Sun, 19 Feb 2006 15:38:49 -0800 (PST) From: LT Cornell To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: VMWare 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: Sun, 19 Feb 2006 23:38:50 -0000 Does anyone know whether or not the current VMWare workstation for Linux can be reliably ran on FreeBSD? Thanx much! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 20 11:02:27 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2602416A420 for ; Mon, 20 Feb 2006 11:02:27 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEDD243D46 for ; Mon, 20 Feb 2006 11:02:26 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1KB2QSG083504 for ; Mon, 20 Feb 2006 11:02:26 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1KB2PDa083498 for freebsd-emulation@freebsd.org; Mon, 20 Feb 2006 11:02:25 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Feb 2006 11:02:25 GMT Message-Id: <200602201102.k1KB2PDa083498@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 20 Feb 2006 11:02:27 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow f [2002/11/07] kern/45023 emulation [linux] [patch] flexlm does not run with f [2003/09/24] kern/57192 emulation [linux] [hang] linux-ibm-java1.4 freeze f [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] kern/77710 emulation [linux] Linux page fault sigcontext infor o [2005/12/27] ports/90958 emulation linux-* are not built on amd64 o [2006/01/17] ports/91911 emulation [PATCH]: x11-toolkits/linux-gtk2: distfil o [2006/02/09] ports/93106 emulation acroread7 cannot locate /usr/local/bin/lp 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with f [2001/08/14] kern/29698 emulation [linux] [patch] linux ipcs doesn'work f [2002/06/12] kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLIN o [2002/08/11] kern/41543 emulation [patch] feature request: easier wine/w23 o [2003/08/21] kern/55835 emulation [linux] [patch] Linux IPC emulation missi f [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE a [2004/10/20] kern/72920 emulation [linux]: path "prefixing" is not done on o [2004/11/10] kern/73777 emulation [linux] [patch] linux emulation: root dir o [2005/08/21] kern/85175 emulation [linux] [patch] linux emulation layer wit o [2006/01/04] kern/91293 emulation [svr4] [patch] *Experimental* Update to t o [2006/01/25] ports/92330 emulation linux-pango fails to install o [2006/02/01] kern/92671 emulation [patch] [linux] Fix for Maple 10: impleme 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 10:01:11 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACC8516A423 for ; Tue, 21 Feb 2006 10:01:11 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3ED443D69 for ; Tue, 21 Feb 2006 10:01:02 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (fenner@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1LA12ao071635 for ; Tue, 21 Feb 2006 10:01:02 GMT (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1LA122Q071634; Tue, 21 Feb 2006 10:01:02 GMT (envelope-from fenner+portsurvey) Date: Tue, 21 Feb 2006 10:01:02 GMT Message-Id: <200602211001.k1LA122Q071634@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: freebsd-emulation@freebsd.org Subject: FreeBSD ports: 3 unfetchable distfiles: devel/linux-libglade, devel/linux_devtools, graphics/linux-ungif X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 10:01:11 -0000 Dear freebsd-emulation@freebsd.org, You are listed as the FreeBSD port maintainer for 3 ports whose distfiles are not fetchable from their MASTER_SITES. Could you please visit http://people.freebsd.org/~fenner/portsurvey/freebsd-emulation@freebsd.org.html and correct the problems listed there? The individual ports with problems are devel/linux-libglade,devel/linux_devtools,graphics/linux-ungif. If you have already corrected the problems and submitted a PR, please accept my thanks and apologies for the delay in getting the fixes into the tree. This reminder is created automatically and does not (yet) have a way to know if a PR fixing the problem has been submitted. Please do *NOT* send your response to me directly; I do not necessarily have time to commit your fix; please instead submit a PR via 'send-pr' so it doesn't get lost. Problems are usually of two types: 1. The software package has been upgraded and the version in the port has been removed. The best solution to this problem is to upgrade the port to the most current version of the software package. If you are a FreeBSD committer, then you can just upgrade the port directly. If not, you should create the updated port on your own machine, test it (and maybe even run "portlint" on it), and then use "send-pr" to submit a "diff -uNr old-port updated-port". If you added or deleted any files, please make an explicit note of it. 2. The mirror site being used no longer contains the software package in question, or no longer exists. Solutions include: a) If there are other mirror sites, just remove the bad site from the list. (Make sure that what appears to be a bad site isn't actually a problem of type 1, upgrade) b) If the README or other support files in the software documentation mention where to get the software package, use one of those sites. c) Use a search engine to find another place to get the original DISTFILES. Make sure that you don't pick a FreeBSD distfiles mirror -- if you can't find any other places where the file exists, it can be a LOCAL_PORT or you can simply comment out the MASTER_SITES= line, with a comment explaining why. Once you have a solution, use "send-pr" to submit a "diff -u" of the Makefile. Note that this isn't an urgent issue, as people who try to build the port now will just fall back to the FreeBSD distfiles mirror. Please just put it on your list to do and get to it when you have time. These messages will continue to arrive twice a month until the fix is committed, as a reminder. Thanks, Bill "distfiles" Fenner. From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 12:54:02 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2377616A420 for ; Tue, 21 Feb 2006 12:54:02 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6F843D46 for ; Tue, 21 Feb 2006 12:54:01 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FBX1k-000BgL-5u for freebsd-emulation@FreeBSD.org; Tue, 21 Feb 2006 15:54:00 +0300 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBWzt-000I5w-6F for freebsd-emulation@FreeBSD.org; Tue, 21 Feb 2006 15:52:05 +0300 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Tue, 21 Feb 2006 15:52:05 +0300 Message-ID: <59887930@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: linprocfs and linux_base port upgrade 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, 21 Feb 2006 12:54:02 -0000 Hi! Assume that one has a linux_base port installed and linprocfs is mounted. The task is to upgrade the linux_base port. We do: - Un-mounting linprocfs; - deletting /compat/linux (along /compat/linux/proc); - ... The problem: a short period of time (well, it may be not so short accoring to various curcumstances) exists when there _is no_ /compat/linux/proc directory and linprocfs _is_ defined at /etc/fstab. If something goes wrong when upgrading (system panic, port upgrading errors, etc) one can get an unbootable machine. I think that a linux_base port should: - comment the linprocfs definition right after removing /compat/linux/proc directory; - remove the comment after creating the needed directory. The comment itself should be a readable and unique one (ie all linux_base ports should use the same text). Ex.: "#*linux_base autocomment*". Do you have some other ideas? Thanks. -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 21:07:03 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AB2F16A420 for ; Tue, 21 Feb 2006 21:07:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B30A43D45 for ; Tue, 21 Feb 2006 21:07:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 202FD1A3C22; Tue, 21 Feb 2006 13:07:03 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7D98A528E5; Tue, 21 Feb 2006 16:07:00 -0500 (EST) Date: Tue, 21 Feb 2006 16:07:00 -0500 From: Kris Kennaway To: Boris Samorodov Message-ID: <20060221210659.GA64256@xor.obsecurity.org> References: <59887930@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <59887930@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@FreeBSD.org Subject: Re: linprocfs and linux_base port upgrade 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, 21 Feb 2006 21:07:03 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 21, 2006 at 03:52:05PM +0300, Boris Samorodov wrote: > Hi! >=20 >=20 > Assume that one has a linux_base port installed and linprocfs is > mounted. The task is to upgrade the linux_base port. We do: > - Un-mounting linprocfs; > - deletting /compat/linux (along /compat/linux/proc); > - ... >=20 > The problem: a short period of time (well, it may be not so short > accoring to various curcumstances) exists when there _is no_ > /compat/linux/proc directory and linprocfs _is_ defined at > /etc/fstab. If something goes wrong when upgrading (system panic, port > upgrading errors, etc) one can get an unbootable machine. >=20 > I think that a linux_base port should: > - comment the linprocfs definition right after removing > /compat/linux/proc directory; > - remove the comment after creating the needed directory. >=20 > The comment itself should be a readable and unique one (ie all > linux_base ports should use the same text). Ex.: > "#*linux_base autocomment*". >=20 >=20 > Do you have some other ideas? Actually, this unmount ... remount situation is pretty evil. For example, it prevents users from building linux_base in a jail. In fact I'd like to switch to building packages in jails instead of chroots on the package cluster, but this is the major reason I can't. Is it possible to avoid this? e.g. by preventing cpio from recursing into the /compat/linux/proc directory. Kris --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+4DzWry0BWjoQKURAsmtAKDcjFaOvXum6p0ScSSifSAZdpGPSwCg8g4K 8IyrS94KUhNlKWvafiAbH9w= =qBcU -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 21:38:13 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DEC616A420 for ; Tue, 21 Feb 2006 21:38:13 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AE4F43D46 for ; Tue, 21 Feb 2006 21:38:13 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D7AF01A3C2D; Tue, 21 Feb 2006 13:38:12 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2DAD5528E5; Tue, 21 Feb 2006 16:38:12 -0500 (EST) Date: Tue, 21 Feb 2006 16:38:12 -0500 From: Kris Kennaway To: Kris Kennaway Message-ID: <20060221213812.GA69006@xor.obsecurity.org> References: <59887930@srv.sem.ipt.ru> <20060221210659.GA64256@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20060221210659.GA64256@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@FreeBSD.org Subject: Re: linprocfs and linux_base port upgrade 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, 21 Feb 2006 21:38:13 -0000 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 21, 2006 at 04:07:00PM -0500, Kris Kennaway wrote: > On Tue, Feb 21, 2006 at 03:52:05PM +0300, Boris Samorodov wrote: > > Hi! > >=20 > >=20 > > Assume that one has a linux_base port installed and linprocfs is > > mounted. The task is to upgrade the linux_base port. We do: > > - Un-mounting linprocfs; > > - deletting /compat/linux (along /compat/linux/proc); > > - ... > >=20 > > The problem: a short period of time (well, it may be not so short > > accoring to various curcumstances) exists when there _is no_ > > /compat/linux/proc directory and linprocfs _is_ defined at > > /etc/fstab. If something goes wrong when upgrading (system panic, port > > upgrading errors, etc) one can get an unbootable machine. > >=20 > > I think that a linux_base port should: > > - comment the linprocfs definition right after removing > > /compat/linux/proc directory; > > - remove the comment after creating the needed directory. > >=20 > > The comment itself should be a readable and unique one (ie all > > linux_base ports should use the same text). Ex.: > > "#*linux_base autocomment*". > >=20 > >=20 > > Do you have some other ideas? >=20 > Actually, this unmount ... remount situation is pretty evil. For > example, it prevents users from building linux_base in a jail. In > fact I'd like to switch to building packages in jails instead of > chroots on the package cluster, but this is the major reason I can't. Not to mention that the umount isn't always reliable for some reason: the linux_base-8 package build often fails with this: =3D=3D=3D> Checking if emulators/linux_base-8 already installed Un-mounting linprocfs... kern.fallback_elf_brand: -1 -> 3 redhat-release-8.0-8.noarch.rpm glibc-common-2.3.2-4.80.8.i386.rpm glibc-2.3.2-4.80.8.i386.rpm setup-2.5.20-1.noarch.rpm filesystem-2.1.6-5.noarch.rpm unpacking of archive failed on file /proc: cpio: chown failed - Operation n= ot supported *** Error code 1 Kris --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+4hDWry0BWjoQKURAvq2AKC0xaKYJoq7risykN0jMjCA+HsOLwCg8zUA sW2wBcIQ1PYHUP92W9sVLfA= =p5nY -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 21:51:04 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9230116A422 for ; Tue, 21 Feb 2006 21:51:04 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C5E343D70 for ; Tue, 21 Feb 2006 21:50:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k1LLofba032306; Tue, 21 Feb 2006 13:50:41 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k1LLofZ2032305; Tue, 21 Feb 2006 13:50:41 -0800 Date: Tue, 21 Feb 2006 13:50:41 -0800 From: Brooks Davis To: Kris Kennaway Message-ID: <20060221215041.GB22713@odin.ac.hmc.edu> References: <59887930@srv.sem.ipt.ru> <20060221210659.GA64256@xor.obsecurity.org> <20060221213812.GA69006@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20060221213812.GA69006@xor.obsecurity.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-emulation@freebsd.org Subject: Re: linprocfs and linux_base port upgrade 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, 21 Feb 2006 21:51:04 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 21, 2006 at 04:38:12PM -0500, Kris Kennaway wrote: > On Tue, Feb 21, 2006 at 04:07:00PM -0500, Kris Kennaway wrote: > > On Tue, Feb 21, 2006 at 03:52:05PM +0300, Boris Samorodov wrote: > > > Hi! > > >=20 > > >=20 > > > Assume that one has a linux_base port installed and linprocfs is > > > mounted. The task is to upgrade the linux_base port. We do: > > > - Un-mounting linprocfs; > > > - deletting /compat/linux (along /compat/linux/proc); > > > - ... > > >=20 > > > The problem: a short period of time (well, it may be not so short > > > accoring to various curcumstances) exists when there _is no_ > > > /compat/linux/proc directory and linprocfs _is_ defined at > > > /etc/fstab. If something goes wrong when upgrading (system panic, port > > > upgrading errors, etc) one can get an unbootable machine. > > >=20 > > > I think that a linux_base port should: > > > - comment the linprocfs definition right after removing > > > /compat/linux/proc directory; > > > - remove the comment after creating the needed directory. > > >=20 > > > The comment itself should be a readable and unique one (ie all > > > linux_base ports should use the same text). Ex.: > > > "#*linux_base autocomment*". > > >=20 > > >=20 > > > Do you have some other ideas? > >=20 > > Actually, this unmount ... remount situation is pretty evil. For > > example, it prevents users from building linux_base in a jail. In > > fact I'd like to switch to building packages in jails instead of > > chroots on the package cluster, but this is the major reason I can't. >=20 > Not to mention that the umount isn't always reliable for some reason: > the linux_base-8 package build often fails with this: >=20 > =3D=3D=3D> Checking if emulators/linux_base-8 already installed > Un-mounting linprocfs... > kern.fallback_elf_brand: -1 -> 3 > redhat-release-8.0-8.noarch.rpm > glibc-common-2.3.2-4.80.8.i386.rpm > glibc-2.3.2-4.80.8.i386.rpm > setup-2.5.20-1.noarch.rpm > filesystem-2.1.6-5.noarch.rpm > unpacking of archive failed on file /proc: cpio: chown failed - Operation= not supported > *** Error code 1 I've also had issues where trying to build a native jdk in a chroot. The problem is that the chroot in question doesn't have the necessicary fstab entries so procfs get unmounted, but not remounted. Installing linux_base in a prior invocation (also required on amd64 due to the ARCH override) and mounting and unmounting the chroot's /compat/linux/proc before and after every port build seems to work OK. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD+4sxXY6L6fI4GtQRAj0gAKDVNsa3PwUrf1p49P1vt3zYq9fjbQCgrOsg kPgKhp7h5UKsoTicXyqXaqE= =PRyC -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 21 22:36:59 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C48D16A420 for ; Tue, 21 Feb 2006 22:36:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA71143D48 for ; Tue, 21 Feb 2006 22:36:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 936601A3C2C; Tue, 21 Feb 2006 14:36:58 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 90FAF53BBB; Tue, 21 Feb 2006 17:36:56 -0500 (EST) Date: Tue, 21 Feb 2006 17:36:56 -0500 From: Kris Kennaway To: Brooks Davis Message-ID: <20060221223655.GA70811@xor.obsecurity.org> References: <59887930@srv.sem.ipt.ru> <20060221210659.GA64256@xor.obsecurity.org> <20060221213812.GA69006@xor.obsecurity.org> <20060221215041.GB22713@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20060221215041.GB22713@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, Kris Kennaway Subject: Re: linprocfs and linux_base port upgrade 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, 21 Feb 2006 22:36:59 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 21, 2006 at 01:50:41PM -0800, Brooks Davis wrote: > On Tue, Feb 21, 2006 at 04:38:12PM -0500, Kris Kennaway wrote: > > On Tue, Feb 21, 2006 at 04:07:00PM -0500, Kris Kennaway wrote: > > > On Tue, Feb 21, 2006 at 03:52:05PM +0300, Boris Samorodov wrote: > > > > Hi! > > > >=20 > > > >=20 > > > > Assume that one has a linux_base port installed and linprocfs is > > > > mounted. The task is to upgrade the linux_base port. We do: > > > > - Un-mounting linprocfs; > > > > - deletting /compat/linux (along /compat/linux/proc); > > > > - ... > > > >=20 > > > > The problem: a short period of time (well, it may be not so short > > > > accoring to various curcumstances) exists when there _is no_ > > > > /compat/linux/proc directory and linprocfs _is_ defined at > > > > /etc/fstab. If something goes wrong when upgrading (system panic, p= ort > > > > upgrading errors, etc) one can get an unbootable machine. > > > >=20 > > > > I think that a linux_base port should: > > > > - comment the linprocfs definition right after removing > > > > /compat/linux/proc directory; > > > > - remove the comment after creating the needed directory. > > > >=20 > > > > The comment itself should be a readable and unique one (ie all > > > > linux_base ports should use the same text). Ex.: > > > > "#*linux_base autocomment*". > > > >=20 > > > >=20 > > > > Do you have some other ideas? > > >=20 > > > Actually, this unmount ... remount situation is pretty evil. For > > > example, it prevents users from building linux_base in a jail. In > > > fact I'd like to switch to building packages in jails instead of > > > chroots on the package cluster, but this is the major reason I can't. > >=20 > > Not to mention that the umount isn't always reliable for some reason: > > the linux_base-8 package build often fails with this: > >=20 > > =3D=3D=3D> Checking if emulators/linux_base-8 already installed > > Un-mounting linprocfs... > > kern.fallback_elf_brand: -1 -> 3 > > redhat-release-8.0-8.noarch.rpm > > glibc-common-2.3.2-4.80.8.i386.rpm > > glibc-2.3.2-4.80.8.i386.rpm > > setup-2.5.20-1.noarch.rpm > > filesystem-2.1.6-5.noarch.rpm > > unpacking of archive failed on file /proc: cpio: chown failed - Operati= on not supported > > *** Error code 1 >=20 > I've also had issues where trying to build a native jdk in a chroot. > The problem is that the chroot in question doesn't have the necessicary > fstab entries so procfs get unmounted, but not remounted. Installing > linux_base in a prior invocation (also required on amd64 due to the > ARCH override) and mounting and unmounting the chroot's /compat/linux/proc > before and after every port build seems to work OK. In my environment I have fstab configured, but it's still not reliable; sometimes jdk will end up built without linprocfs present, as though it was not remounted correctly. I suspect umount and/or mount of linprocfs may sometimes fail, but I haven't managed to track down why. Anyway, [u]mounting during port builds should be avoided for the reasons I gave earlier. Kris --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+5YHWry0BWjoQKURAsmMAKC7vaeIa0T0YzlBTWS9PHitgGxoIQCglLcr iF1soNZJQLnF4GFtujns1LI= =/d6m -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 01:53:38 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD7016A422 for ; Wed, 22 Feb 2006 01:53:37 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EB6A43D45 for ; Wed, 22 Feb 2006 01:53:37 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1304613nzo for ; Tue, 21 Feb 2006 17:53:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nvos+xt2LlPljvfwhICTxoO8k7/+JztiMXG4A5cw3lz4VQCKQHBVwoCPd49STDHqsMD7gM6OTCT9ZIGbSuKyAeTxJoZrOVXRAeQnVuGj0R869IVMnUv0dN6wtwouyLeaJZofP8eFW2U+42XmPaLuAvGCqM2IG6o80eiZ0Oug3Yc= Received: by 10.36.157.19 with SMTP id f19mr4364875nze; Tue, 21 Feb 2006 17:53:36 -0800 (PST) Received: by 10.36.68.1 with HTTP; Tue, 21 Feb 2006 17:53:36 -0800 (PST) Message-ID: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> Date: Wed, 22 Feb 2006 09:53:36 +0800 From: "Mars G. Miro" To: kris@obsecurity.org, freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 01:53:38 -0000 >> >> Actually, this unmount ... remount situation is pretty evil. For >> example, it prevents users from building linux_base in a jail. In >> fact I'd like to switch to building packages in jails instead of >> chroots on the package cluster, but this is the major reason I can't. I have been able to build linux_base in a jail, but I had to turn on a few sysctl jail knobs on the main host (see more below) > Not to mention that the umount isn't always reliable for some reason: > the linux_base-8 package build often fails with this: > =3D=3D=3D> Checking if emulators/linux_base-8 already installed > Un-mounting linprocfs... > kern.fallback_elf_brand: -1 -> 3 > redhat-release-8.0-8.noarch.rpm > glibc-common-2.3.2-4.80.8.i386.rpm > glibc-2.3.2-4.80.8.i386.rpm > setup-2.5.20-1.noarch.rpm > filesystem-2.1.6-5.noarch.rpm > unpacking of archive failed on file /proc: cpio: chown failed - Operation= not > supported I usually have, in /etc/sysctl.conf: ... # for the Jails security.jail.allow_raw_sockets=3D1 security.jail.sysvipc_allowed=3D1 security.jail.chflags_allowed=3D1 ... I think that last error you got has something todo w/ enabling the chflags sysctl jail. For the record: mars@jail:~> uname -a FreeBSD jail.XXXXXXXXXXX 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb 16 17:32:02 PHT 2006 =20 root@alcatraz.XXXXXXXXXXX:/usr/obj/usr/src/sys/XXXXXX amd64 mars@jail:~> pkg_info autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms automake-1.4.6_2 GNU Standards-compliant Makefile generator (1.4) expat-2.0.0 XML 1.0 parser written in C fontconfig-2.3.2_1,1 An XML-based font configuration API for X Windows freetype2-2.1.10_2 A free and portable TrueType font rendering engine gettext-0.14.5_1 GNU gettext package glib-2.8.6 Some useful routines of C programming (current stable v= ersi gmake-3.80_2 GNU version of 'make' utility imake-6.9.0 Imake and other utilities from X.Org javavmwrapper-2.0_6 Wrapper script for various Java Virtual Machines libdrm-2.0 Userspace interface to kernel Direct Rendering Module s= ervi libiconv-1.9.2_1 A character set conversion library libtool-1.3.5_2 Generic shared library support script (1.3) libtool-1.5.22_1 Generic shared library support script (1.5) linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary linux-expat-1.95.7 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_2 Linux/i386 binary of Fontconfig linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux linux_base-8-8.0_13 Base set of packages needed in Linux mode (for i386/amd= 64) m4-1.4.4 GNU m4 open-motif-2.2.3_2 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) perl-5.8.7_2 Practical Extraction and Report Language pkgconfig-0.20 A utility to retrieve information about installed libra= ries popt-1.7 A getopt(3) like library with a number of enhancements,= fro rpm-3.0.6_10 The Red Hat Package Manager unzip-5.52_2 List, test and extract compressed files in a ZIP archiv= e xorg-libraries-6.9.0 X11 libraries and headers from X.Org zip-2.31 Create/update ZIP files compatible with pkzip mars@jail:~> sysctl -a |grep jail kern.hostname: jail.XXXXXXXXXXX security.jail.jailed: 1 security.jail.chflags_allowed: 1 security.jail.allow_raw_sockets: 1 security.jail.enforce_statfs: 2 security.jail.sysvipc_allowed: 1 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 > *** Error code 1 > Kris cheers mars From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 01:59:26 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3618116A420 for ; Wed, 22 Feb 2006 01:59:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3DC843D48 for ; Wed, 22 Feb 2006 01:59:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BDFD71A3C2C; Tue, 21 Feb 2006 17:59:25 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1F6E2515AE; Tue, 21 Feb 2006 20:59:25 -0500 (EST) Date: Tue, 21 Feb 2006 20:59:25 -0500 From: Kris Kennaway To: "Mars G. Miro" Message-ID: <20060222015924.GA74781@xor.obsecurity.org> References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, kris@obsecurity.org Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 01:59:26 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 22, 2006 at 09:53:36AM +0800, Mars G. Miro wrote: > >> > >> Actually, this unmount ... remount situation is pretty evil. For > >> example, it prevents users from building linux_base in a jail. In > >> fact I'd like to switch to building packages in jails instead of > >> chroots on the package cluster, but this is the major reason I can't. >=20 > I have been able to build linux_base in a jail, but I had to turn on a > few sysctl jail knobs on the main host (see more below) >=20 > > Not to mention that the umount isn't always reliable for some reason: > > the linux_base-8 package build often fails with this: >=20 > > =3D=3D=3D> Checking if emulators/linux_base-8 already installed > > Un-mounting linprocfs... > > kern.fallback_elf_brand: -1 -> 3 > > redhat-release-8.0-8.noarch.rpm > > glibc-common-2.3.2-4.80.8.i386.rpm > > glibc-2.3.2-4.80.8.i386.rpm > > setup-2.5.20-1.noarch.rpm > > filesystem-2.1.6-5.noarch.rpm > > unpacking of archive failed on file /proc: cpio: chown failed - Operati= on not > > supported >=20 > I usually have, in /etc/sysctl.conf: > ... >=20 > # for the Jails > security.jail.allow_raw_sockets=3D1 > security.jail.sysvipc_allowed=3D1 > security.jail.chflags_allowed=3D1 > ... >=20 > I think that last error you got has something todo w/ enabling the > chflags sysctl jail. No, it's because it tried and failed to umount linprocfs. Presumably you didnt have linprocfs mounted in your jail, but some packages require this so I have to have it present always. Kris --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+8V8Wry0BWjoQKURAvzzAJ4sP14zZp8wVi7QyygxCgSN0hIo3gCdFRJp lb1/WaQsvhTmlU81gT8U1EY= =GcJ/ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 03:01:59 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72F4B16A420 for ; Wed, 22 Feb 2006 03:01:59 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE29743D4C for ; Wed, 22 Feb 2006 03:01:58 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id z3so1314821nzf for ; Tue, 21 Feb 2006 19:01:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bOsSqTWsJSzXPCFWo4LkYDD8exErSMwOEPpohdeJo2tibmtNcGAfyqEDmU328kq85gLG1L59BPtWadHML65UOQehkF7iYDilKMbkTv3CxXAE5YF7/RaSMm276948ge0O8d3NBIhTfsXs2nRZPpJl7UwOMioXI5nuG/+a/rGpeNw= Received: by 10.36.222.27 with SMTP id u27mr2520355nzg; Tue, 21 Feb 2006 19:01:57 -0800 (PST) Received: by 10.36.68.1 with HTTP; Tue, 21 Feb 2006 19:01:57 -0800 (PST) Message-ID: <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> Date: Wed, 22 Feb 2006 11:01:57 +0800 From: "Mars G. Miro" To: "Kris Kennaway" In-Reply-To: <20060222015924.GA74781@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> Cc: freebsd-emulation@freebsd.org Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 03:01:59 -0000 On 2/22/06, Kris Kennaway wrote: > On Wed, Feb 22, 2006 at 09:53:36AM +0800, Mars G. Miro wrote: > > >> > > >> Actually, this unmount ... remount situation is pretty evil. For > > >> example, it prevents users from building linux_base in a jail. In > > >> fact I'd like to switch to building packages in jails instead of > > >> chroots on the package cluster, but this is the major reason I can't= . > > > > I have been able to build linux_base in a jail, but I had to turn on a > > few sysctl jail knobs on the main host (see more below) > > > > > Not to mention that the umount isn't always reliable for some reason: > > > the linux_base-8 package build often fails with this: > > > > > =3D=3D=3D> Checking if emulators/linux_base-8 already installed > > > Un-mounting linprocfs... > > > kern.fallback_elf_brand: -1 -> 3 > > > redhat-release-8.0-8.noarch.rpm > > > glibc-common-2.3.2-4.80.8.i386.rpm > > > glibc-2.3.2-4.80.8.i386.rpm > > > setup-2.5.20-1.noarch.rpm > > > filesystem-2.1.6-5.noarch.rpm > > > unpacking of archive failed on file /proc: cpio: chown failed - > Operation not > > > supported > > > > I usually have, in /etc/sysctl.conf: > > ... > > > > # for the Jails > > security.jail.allow_raw_sockets=3D1 > > security.jail.sysvipc_allowed=3D1 > > security.jail.chflags_allowed=3D1 > > ... > > > > I think that last error you got has something todo w/ enabling the > > chflags sysctl jail. > > No, it's because it tried and failed to umount linprocfs. Presumably > you didnt have linprocfs mounted in your jail, but some packages Well mounting/unmounting stuff inside the jail is a pain. I now recall I had to mount linprocfs from the host to the jail, thus I was able to build them. Hrm, perhaps its time for jail__linprocfs_enable (as with devfs inside a jail) ... Also some of the linux ports checks either fstab or mount for linprocfs, I had to at least set security.jail.enforce_statfs=3D1. > require this so I have to have it present always. > > Kris > > cheers mars From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 03:08:14 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55B4916A420 for ; Wed, 22 Feb 2006 03:08:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203D943D46 for ; Wed, 22 Feb 2006 03:08:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id F0B1D1A3C25; Tue, 21 Feb 2006 19:08:13 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 346B1517D5; Tue, 21 Feb 2006 22:08:11 -0500 (EST) Date: Tue, 21 Feb 2006 22:08:10 -0500 From: Kris Kennaway To: "Mars G. Miro" Message-ID: <20060222030810.GA75798@xor.obsecurity.org> References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, Kris Kennaway Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 03:08:14 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > > No, it's because it tried and failed to umount linprocfs. Presumably > > you didnt have linprocfs mounted in your jail, but some packages >=20 > Well mounting/unmounting stuff inside the jail is a pain. I now recall > I had to mount linprocfs from the host to the jail, thus I was able to > build them. Hrm, perhaps its time for jail__linprocfs_enable > (as with devfs inside a jail) ... I think you're missing my point: if you don't have linprocfs mounted, ports like jdk will fail. If you do have it mounted, ports like linux_base will fail [because they need to umount it and remount it]. The latter should be fixed so that you can consistently set up a jail and have it work in both cases. Kris --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+9WaWry0BWjoQKURAmfRAJ9m+TbblEePM4L2w73ksi7rzjuk4wCcDCD5 4cFR2+3rsp91vF3MUAEZby8= =1/eF -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 10:17:03 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426ED16A420 for ; Wed, 22 Feb 2006 10:17:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6288B43D4C for ; Wed, 22 Feb 2006 10:17:01 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D2B4.dip.t-dialin.net [84.165.210.180]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1MA3JR5020499; Wed, 22 Feb 2006 11:03:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1MAGw7c020276; Wed, 22 Feb 2006 11:16:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 22 Feb 2006 11:16:58 +0100 Message-ID: <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 22 Feb 2006 11:16:58 +0100 From: Alexander Leidinger To: Kris Kennaway References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> In-Reply-To: <20060222030810.GA75798@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, "Mars G. Miro" Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 10:17:03 -0000 Kris Kennaway wrote: Regarding the question of the OP: changing "ro" to "ro,noauto" has a similar effect in the race-case. > On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > >> > No, it's because it tried and failed to umount linprocfs. Presumably >> > you didnt have linprocfs mounted in your jail, but some packages >> >> Well mounting/unmounting stuff inside the jail is a pain. I now recall >> I had to mount linprocfs from the host to the jail, thus I was able to >> build them. Hrm, perhaps its time for jail__linprocfs_enable >> (as with devfs inside a jail) ... > > I think you're missing my point: if you don't have linprocfs mounted, > ports like jdk will fail. If you do have it mounted, ports like > linux_base will fail [because they need to umount it and remount it]. > > The latter should be fixed so that you can consistently set up a jail > and have it work in both cases. Perhaps (completely untested): @exec mkdir -p %D/proc || true @dirrmtry proc @unexec [ ! -d %D/proc ] || echo "+++ Please unmount linprocfs and remove %D/proc by hand!" and not touching linprocfs at all. Kris, would this work on pointyhat? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 What good is having someone who can walk on water if you don't follow in his footsteps? From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 10:55:08 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 311D916A420 for ; Wed, 22 Feb 2006 10:55:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D61D43D55 for ; Wed, 22 Feb 2006 10:55:07 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 29EA11A3C1C; Wed, 22 Feb 2006 02:55:07 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EC451521FC; Wed, 22 Feb 2006 05:55:03 -0500 (EST) Date: Wed, 22 Feb 2006 05:55:03 -0500 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060222105503.GA86596@xor.obsecurity.org> References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, "Mars G. Miro" , Kris Kennaway Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 10:55:08 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 22, 2006 at 11:16:58AM +0100, Alexander Leidinger wrote: > Kris Kennaway wrote: >=20 > Regarding the question of the OP: changing "ro" to "ro,noauto" has a simi= lar > effect in the race-case. >=20 > >On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > > > >>> No, it's because it tried and failed to umount linprocfs. Presumably > >>> you didnt have linprocfs mounted in your jail, but some packages > >> > >>Well mounting/unmounting stuff inside the jail is a pain. I now recall > >>I had to mount linprocfs from the host to the jail, thus I was able to > >>build them. Hrm, perhaps its time for jail__linprocfs_enable > >>(as with devfs inside a jail) ... > > > >I think you're missing my point: if you don't have linprocfs mounted, > >ports like jdk will fail. If you do have it mounted, ports like > >linux_base will fail [because they need to umount it and remount it]. > > > >The latter should be fixed so that you can consistently set up a jail > >and have it work in both cases. >=20 > Perhaps (completely untested): > @exec mkdir -p %D/proc || true > @dirrmtry proc > @unexec [ ! -d %D/proc ] || echo "+++ Please unmount linprocfs and remove > %D/proc by hand!" > and not touching linprocfs at all. >=20 > Kris, would this work on pointyhat? I don't think so: I posted a log excerpt of what fails when linprocfs remains mounted (because the umount doesn't work somehow) during the install. cpio needs to be told somehow not to try and write into /proc. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD/EMHWry0BWjoQKURAqTCAJ9K+vOObFOqodrq3UqSK6HjZ0FuaACg/eil IRKn5+OO3wJqCEx5/2T48mE= =IQZU -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 11:00:30 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F092B16A420 for ; Wed, 22 Feb 2006 11:00:30 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6718043D45 for ; Wed, 22 Feb 2006 11:00:30 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FBri6-000EMQ-Ue; Wed, 22 Feb 2006 13:59:07 +0300 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBrgC-000J2A-Vl; Wed, 22 Feb 2006 13:57:08 +0300 To: Alexander Leidinger References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> From: Boris Samorodov Date: Wed, 22 Feb 2006 13:57:08 +0300 In-Reply-To: <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> (Alexander Leidinger's message of "Wed, 22 Feb 2006 11:16:58 +0100") Message-ID: <74112715@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, "Mars G. Miro" , Kris Kennaway Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 11:00:31 -0000 On Wed, 22 Feb 2006 11:16:58 +0100 Alexander Leidinger wrote: > Kris Kennaway wrote: > Regarding the question of the OP: changing "ro" to "ro,noauto" has a similar > effect in the race-case. > > On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > > > >> > No, it's because it tried and failed to umount linprocfs. Presumably > >> > you didnt have linprocfs mounted in your jail, but some packages > >> > >> Well mounting/unmounting stuff inside the jail is a pain. I now recall > >> I had to mount linprocfs from the host to the jail, thus I was able to > >> build them. Hrm, perhaps its time for jail__linprocfs_enable > >> (as with devfs inside a jail) ... > > > > I think you're missing my point: if you don't have linprocfs mounted, > > ports like jdk will fail. If you do have it mounted, ports like > > linux_base will fail [because they need to umount it and remount it]. > > > > The latter should be fixed so that you can consistently set up a jail > > and have it work in both cases. > Perhaps (completely untested): > @exec mkdir -p %D/proc || true Imo "mkdir -p" doesn't generate errors if the target directory exists. Do we need "|| true"? > @dirrmtry proc > @unexec [ ! -d %D/proc ] || echo "+++ Please unmount linprocfs and remove > %D/proc by hand!" > and not touching linprocfs at all. > Kris, would this work on pointyhat? WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 11:43:25 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA4BD16A420 for ; Wed, 22 Feb 2006 11:43:25 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D97743D6E for ; Wed, 22 Feb 2006 11:43:17 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FBsOn-000ESx-60; Wed, 22 Feb 2006 14:43:13 +0300 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBsMt-000J48-47; Wed, 22 Feb 2006 14:41:15 +0300 To: Kris Kennaway References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> <20060222105503.GA86596@xor.obsecurity.org> From: Boris Samorodov Date: Wed, 22 Feb 2006 14:41:15 +0300 In-Reply-To: <20060222105503.GA86596@xor.obsecurity.org> (Kris Kennaway's message of "Wed, 22 Feb 2006 05:55:03 -0500") Message-ID: <97310068@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: linprocfs and linux_base port upgrade 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: Wed, 22 Feb 2006 11:43:25 -0000 On Wed, 22 Feb 2006 05:55:03 -0500 Kris Kennaway wrote: > On Wed, Feb 22, 2006 at 11:16:58AM +0100, Alexander Leidinger wrote: > > Kris Kennaway wrote: > > > > Regarding the question of the OP: changing "ro" to "ro,noauto" has a similar > > effect in the race-case. > > > > >On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > > > > > >>> No, it's because it tried and failed to umount linprocfs. Presumably > > >>> you didnt have linprocfs mounted in your jail, but some packages > > >> > > >>Well mounting/unmounting stuff inside the jail is a pain. I now recall > > >>I had to mount linprocfs from the host to the jail, thus I was able to > > >>build them. Hrm, perhaps its time for jail__linprocfs_enable > > >>(as with devfs inside a jail) ... > > > > > >I think you're missing my point: if you don't have linprocfs mounted, > > >ports like jdk will fail. If you do have it mounted, ports like > > >linux_base will fail [because they need to umount it and remount it]. > > > > > >The latter should be fixed so that you can consistently set up a jail > > >and have it work in both cases. > > > > Perhaps (completely untested): > > @exec mkdir -p %D/proc || true > > @dirrmtry proc > > @unexec [ ! -d %D/proc ] || echo "+++ Please unmount linprocfs and remove > > %D/proc by hand!" > > and not touching linprocfs at all. > > > > Kris, would this work on pointyhat? > I don't think so: I posted a log excerpt of what fails when linprocfs > remains mounted (because the umount doesn't work somehow) during the > install. cpio needs to be told somehow not to try and write into > /proc. Yes, I managed to reproduce that error: - mount linprocfs; - cd /compat/linux/proc - try to install linux_base-8 at another shell. Unmounting doesn't occure thus instal ending with the error. The current linux_base-8 port uses the linux rpm binary to install software (which apparently is trying to chown the proc directory and fails): ----- unpacking of archive failed on file /proc: cpio: chown failed - Operation not supported ----- A new linux_base port I'm working on doesn't use the linux rpm to install the software. This port installs without errors even with unmounted linprocfs. I'll change my port so it won't do auto [u]mount. Then this port may be build at jails. For users and admins the port will echo messages (to [u]mount linprocfs and deletting proc manually if needed). WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 21:10:46 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D301316A420 for ; Sat, 25 Feb 2006 21:10:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45E6043D53 for ; Sat, 25 Feb 2006 21:10:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CBE771A4DC2 for ; Sat, 25 Feb 2006 13:10:45 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 41B5851475; Sat, 25 Feb 2006 16:10:45 -0500 (EST) Date: Sat, 25 Feb 2006 16:10:45 -0500 From: Kris Kennaway To: freebsd-emulation@FreeBSD.org Message-ID: <20060225211045.GR15500@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="brdEIFGMNIjz5YJG" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 21:10:46 -0000 --brdEIFGMNIjz5YJG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FYI; see http://pointyhat.freebsd.org and/or previous email notifications for the full log. Thanks, Kris P.S. Since we are currently in ports freeze for the 5.5 and 6.1 release cycles, your swift attention to this problem is requested. ----- Forwarded message from Kris Kennaway ----- X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.org X-Original-To: kris Delivered-To: kris@FreeBSD.ORG X-Original-To: ports-committers@FreeBSD.org Delivered-To: ports-committers@FreeBSD.org From: Kris Kennaway Date: Mon, 20 Feb 2006 01:44:59 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/emulators/rtc Makefile X-FreeBSD-CVS-Branch: HEAD Precedence: bulk X-Loop: FreeBSD.ORG X-UIDL: !K;!!KTc!!^ke!!A7i"! X-Bogosity: Ham, tests=3Dbogofilter, spamicity=3D0.000000, version=3D1.0.1 kris 2006-02-20 01:44:59 UTC FreeBSD ports repository Modified files: emulators/rtc Makefile=20 Log: BROKEN: Incomplete pkg-plist =20 Revision Changes Path 1.30 +2 -0 ports/emulators/rtc/Makefile http://cvsweb.FreeBSD.org/ports/emulators/rtc/Makefile.diff?r1=3D1.29&r2=3D= 1.30 | =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D | RCS file: /usr/local/www/cvsroot/FreeBSD/ports/emulators/rtc/Makefile,v | retrieving revision 1.29 | retrieving revision 1.30 | diff -u -p -r1.29 -r1.30 | --- ports/emulators/rtc/Makefile 2006/01/29 16:09:17 1.29 | +++ ports/emulators/rtc/Makefile 2006/02/20 01:44:59 1.30 | @@ -2,7 +2,7 @@ | # Date created: 28 March 2000 | # Whom: Akinori MUSHA aka knu | # | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/emulators/rtc/Makefile,= v 1.29 2006/01/29 16:09:17 netchild Exp $ | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/emulators/rtc/Makefile,= v 1.30 2006/02/20 01:44:59 kris Exp $ | # | =20 | PORTNAME=3D rtc | @@ -14,6 +14,8 @@ DISTFILES=3D # none | =20 | MAINTAINER=3D freebsd-emulation@FreeBSD.org | COMMENT=3D Kernel module which provides /dev/rtc device support | + | +BROKEN=3D Incomplete pkg-plist | =20 | WRKSRC=3D ${WRKDIR}/files | =20 ----- End forwarded message ----- --brdEIFGMNIjz5YJG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEAMfUWry0BWjoQKURAi75AKD6bDryxPsmG9YcDC/h3kIlrjkaIACfbXI1 drfqSPaKfFgzvsRPhv9Nons= =Y8zs -----END PGP SIGNATURE----- --brdEIFGMNIjz5YJG-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:01:26 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D161D16A420 for ; Sat, 25 Feb 2006 22:01:26 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587C243D45 for ; Sat, 25 Feb 2006 22:01:25 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC24.dip.t-dialin.net [84.165.252.36]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1PLl1vI051839; Sat, 25 Feb 2006 22:47:02 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1PM1NkL069652; Sat, 25 Feb 2006 23:01:23 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 25 Feb 2006 23:01:28 +0100 From: Alexander Leidinger To: Kris Kennaway Message-ID: <20060225230128.2764ed73@Magellan.Leidinger.net> In-Reply-To: <20060225211045.GR15500@xor.obsecurity.org> References: <20060225211045.GR15500@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=MP_T+Mg7A_ReoA8+u_k4jVIkEz X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:01:27 -0000 --MP_T+Mg7A_ReoA8+u_k4jVIkEz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Sat, 25 Feb 2006 16:10:45 -0500 schrieb Kris Kennaway : > FYI; see http://pointyhat.freebsd.org and/or previous email > notifications for the full log. > > Thanks, > Kris > > P.S. Since we are currently in ports freeze for the 5.5 and 6.1 > release cycles, your swift attention to this problem is requested. I didn't looked at the pointyhat logs, but I think the problem is the remaining linker.hints file at deinstall time. I solved this with a kldxref (PREFIX/modules is now removed). While I'm here fix the port a little bit to be more package friendly. Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ --MP_T+Mg7A_ReoA8+u_k4jVIkEz Content-Type: text/x-patch; name=rtc.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=rtc.diff Index: Makefile =================================================================== RCS file: /big/FreeBSD-CVS/ports/emulators/rtc/Makefile,v retrieving revision 1.30 diff -u -u -r1.30 Makefile --- Makefile 20 Feb 2006 01:44:59 -0000 1.30 +++ Makefile 25 Feb 2006 22:00:43 -0000 @@ -7,7 +7,7 @@ PORTNAME= rtc PORTVERSION= 2004.02.24.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= emulators linux MASTER_SITES= # none DISTFILES= # none @@ -15,8 +15,6 @@ MAINTAINER= freebsd-emulation@FreeBSD.org COMMENT= Kernel module which provides /dev/rtc device support -BROKEN= Incomplete pkg-plist - WRKSRC= ${WRKDIR}/files NO_FETCH= yes @@ -29,7 +27,8 @@ STARTUP= rtc.sh MAKE_ARGS= KMODDIR="${KMODDIR}" CDEV_MAJOR="${CDEV_MAJOR}" -PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR="${CDEV_MAJOR}" RTC_H_DIR="${RTC_H_DIR}" +PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR="${CDEV_MAJOR}" \ + RTC_H_DIR="${RTC_H_DIR}" SRC_BASE?= /usr/src @@ -39,6 +38,12 @@ IGNORE= needs a system more recent than 400013 .endif +.if ${OSVERSION} < 500104 +PLIST_SUB+= MAKEDEV="" +.else +PLIST_SUB+= MAKEDEV="@comment " +.endif + .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= needs kernel source files .endif @@ -53,8 +58,6 @@ ${MKDIR} ${KMODDIR} post-install: - ${RM} -f ${DEVDIR}/rtc - -mknod /dev/rtc c ${CDEV_MAJOR} 0 ${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/ ${MKDIR} ${PREFIX}/share/examples/rtc ${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/ Index: pkg-plist =================================================================== RCS file: /big/FreeBSD-CVS/ports/emulators/rtc/pkg-plist,v retrieving revision 1.6 diff -u -u -r1.6 pkg-plist --- pkg-plist 22 Jan 2006 01:50:37 -0000 1.6 +++ pkg-plist 25 Feb 2006 21:53:44 -0000 @@ -2,6 +2,10 @@ include/rtc.h modules/rtc.ko %%EXAMPLESDIR%%/test.c +%%MAKEDEV%%@exec mknod /dev/rtc c %%CDEV_MAJOR%% 0 +@exec rm -f %%DEVDIR%%/rtc +@exec /usr/sbin/kldxref %D/modules +@unexec /usr/sbin/kldxref %D/modules @dirrm %%EXAMPLESDIR%% @dirrmtry modules @unexec rm -f /dev/rtc --MP_T+Mg7A_ReoA8+u_k4jVIkEz-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:04:39 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51FAA16A420 for ; Sat, 25 Feb 2006 22:04:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CFA43D48 for ; Sat, 25 Feb 2006 22:04:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id EAD0A1A4DBB; Sat, 25 Feb 2006 14:04:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4ACDE51418; Sat, 25 Feb 2006 17:04:38 -0500 (EST) Date: Sat, 25 Feb 2006 17:04:38 -0500 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060225220438.GA73531@xor.obsecurity.org> References: <20060225211045.GR15500@xor.obsecurity.org> <20060225230128.2764ed73@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <20060225230128.2764ed73@Magellan.Leidinger.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, Kris Kennaway Subject: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:04:39 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 25, 2006 at 11:01:28PM +0100, Alexander Leidinger wrote: > Am Sat, 25 Feb 2006 16:10:45 -0500 > schrieb Kris Kennaway : >=20 > > FYI; see http://pointyhat.freebsd.org and/or previous email > > notifications for the full log. > >=20 > > Thanks, > > Kris > >=20 > > P.S. Since we are currently in ports freeze for the 5.5 and 6.1 > > release cycles, your swift attention to this problem is requested. >=20 > I didn't looked at the pointyhat logs, but I think the problem is the > remaining linker.hints file at deinstall time. I solved this with a > kldxref (PREFIX/modules is now removed). Is it really useful to install into PREFIX/modules in the first place? Kris --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEANR1Wry0BWjoQKURAuo+AKCaVMhN1r08812WPzDzz8CbO+tClACcCw0K yf7rICqK26AJLaXRRtLb7W0= =BlSL -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:14:41 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6657C16A420 for ; Sat, 25 Feb 2006 22:14:41 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from host-212-68-242-42.brutele.be (host-212-68-242-42.brutele.be [212.68.242.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 969CF43D45 for ; Sat, 25 Feb 2006 22:14:40 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id C99575530; Sat, 25 Feb 2006 23:14:38 +0100 (CET) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id 63A02C0DF; Sat, 25 Feb 2006 23:14:38 +0100 (CET) Date: Sat, 25 Feb 2006 23:14:38 +0100 From: Jean-Yves Lefort To: Alexander Leidinger Message-Id: <20060225231438.2e15f76f.jylefort@FreeBSD.org> In-Reply-To: <20060225230128.2764ed73@Magellan.Leidinger.net> References: <20060225211045.GR15500@xor.obsecurity.org> <20060225230128.2764ed73@Magellan.Leidinger.net> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__25_Feb_2006_23_14_38_+0100_RpTmQ9DJRjEwW2SZ" Cc: freebsd-emulation@freebsd.org, kris@obsecurity.org Subject: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:14:41 -0000 --Signature=_Sat__25_Feb_2006_23_14_38_+0100_RpTmQ9DJRjEwW2SZ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 25 Feb 2006 23:01:28 +0100 Alexander Leidinger wrote: > Am Sat, 25 Feb 2006 16:10:45 -0500 > schrieb Kris Kennaway : >=20 > > FYI; see http://pointyhat.freebsd.org and/or previous email > > notifications for the full log. > >=20 > > Thanks, > > Kris > >=20 > > P.S. Since we are currently in ports freeze for the 5.5 and 6.1 > > release cycles, your swift attention to this problem is requested. >=20 > I didn't looked at the pointyhat logs, but I think the problem is the > remaining linker.hints file at deinstall time. I solved this with a > kldxref (PREFIX/modules is now removed). >=20 > While I'm here fix the port a little bit to be more package friendly. > > post-install: > - ${RM} -f ${DEVDIR}/rtc > - -mknod /dev/rtc c ${CDEV_MAJOR} 0 You no longer want to create the device when installing from the port? --=20 Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Sat__25_Feb_2006_23_14_38_+0100_RpTmQ9DJRjEwW2SZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEANbOyzD7UaO4AGoRAkR2AJ9rluSD3IuF5qgGYRtwuX1B8jdLSACffPfL T3g95GJORJjnW2bef2xHSBU= =IdbJ -----END PGP SIGNATURE----- --Signature=_Sat__25_Feb_2006_23_14_38_+0100_RpTmQ9DJRjEwW2SZ-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:21:32 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6040D16A420; Sat, 25 Feb 2006 22:21:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F82943D45; Sat, 25 Feb 2006 22:21:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 049611A4DBD; Sat, 25 Feb 2006 14:21:32 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 55D6151418; Sat, 25 Feb 2006 17:21:30 -0500 (EST) Date: Sat, 25 Feb 2006 17:21:29 -0500 From: Kris Kennaway To: Jean-Yves Lefort Message-ID: <20060225222128.GA52309@xor.obsecurity.org> References: <20060225211045.GR15500@xor.obsecurity.org> <20060225230128.2764ed73@Magellan.Leidinger.net> <20060225231438.2e15f76f.jylefort@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20060225231438.2e15f76f.jylefort@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: Alexander Leidinger , freebsd-emulation@freebsd.org, kris@obsecurity.org Subject: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:21:32 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 25, 2006 at 11:14:38PM +0100, Jean-Yves Lefort wrote: > On Sat, 25 Feb 2006 23:01:28 +0100 > Alexander Leidinger wrote: >=20 > > Am Sat, 25 Feb 2006 16:10:45 -0500 > > schrieb Kris Kennaway : > >=20 > > > FYI; see http://pointyhat.freebsd.org and/or previous email > > > notifications for the full log. > > >=20 > > > Thanks, > > > Kris > > >=20 > > > P.S. Since we are currently in ports freeze for the 5.5 and 6.1 > > > release cycles, your swift attention to this problem is requested. > >=20 > > I didn't looked at the pointyhat logs, but I think the problem is the > > remaining linker.hints file at deinstall time. I solved this with a > > kldxref (PREFIX/modules is now removed). > >=20 > > While I'm here fix the port a little bit to be more package friendly. > > > > post-install: > > - ${RM} -f ${DEVDIR}/rtc > > - -mknod /dev/rtc c ${CDEV_MAJOR} 0 >=20 > You no longer want to create the device when installing from the port? You can't make devices this way in a post-FreeBSD 4 world. Kris --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEANhoWry0BWjoQKURAuiXAKCcNv73ibGZEILb/Nz6CcLXcQXpwwCfZzJm 4tbQEeNwz4Om0IU/SoyAjUU= =BZYf -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:45:14 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C15B16A423; Sat, 25 Feb 2006 22:45:14 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CFC943D45; Sat, 25 Feb 2006 22:45:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC24.dip.t-dialin.net [84.165.252.36]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1PMUmUT051964; Sat, 25 Feb 2006 23:30:49 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1PMjAmP077674; Sat, 25 Feb 2006 23:45:11 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 25 Feb 2006 23:45:16 +0100 From: Alexander Leidinger To: Kris Kennaway Message-ID: <20060225234516.3410ccec@Magellan.Leidinger.net> In-Reply-To: <20060225222128.GA52309@xor.obsecurity.org> References: <20060225211045.GR15500@xor.obsecurity.org> <20060225230128.2764ed73@Magellan.Leidinger.net> <20060225231438.2e15f76f.jylefort@FreeBSD.org> <20060225222128.GA52309@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Jean-Yves Lefort , freebsd-emulation@FreeBSD.org, kris@obsecurity.org Subject: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:45:14 -0000 Am Sat, 25 Feb 2006 17:21:29 -0500 schrieb Kris Kennaway : > > > While I'm here fix the port a little bit to be more package friendly. > > > > > > post-install: > > > - ${RM} -f ${DEVDIR}/rtc > > > - -mknod /dev/rtc c ${CDEV_MAJOR} 0 > > > > You no longer want to create the device when installing from the port? > > You can't make devices this way in a post-FreeBSD 4 world. It moved into the plist with an @exec in case of OSVERSION < 500104. We want the device to be created when installed as a package too, right? :-) Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 25 22:50:26 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7BA316A420 for ; Sat, 25 Feb 2006 22:50:26 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B997A43D69 for ; Sat, 25 Feb 2006 22:50:25 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC24.dip.t-dialin.net [84.165.252.36]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1PMa1it051996 for ; Sat, 25 Feb 2006 23:36:02 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1PMoNUW078615 for ; Sat, 25 Feb 2006 23:50:23 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 25 Feb 2006 23:50:28 +0100 From: Alexander Leidinger To: emulation@freebsd.org Message-ID: <20060225235028.4719f047@Magellan.Leidinger.net> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Subject: Fw: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] 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: Sat, 25 Feb 2006 22:50:26 -0000 Start weitergeleitete Nachricht: Datum: Sat, 25 Feb 2006 23:50:06 +0100 Von: Alexander Leidinger An: Kris Kennaway Betreff: Re: [kris@FreeBSD.org: cvs commit: ports/emulators/rtc Makefile] Am Sat, 25 Feb 2006 17:04:38 -0500 schrieb Kris Kennaway : > > I didn't looked at the pointyhat logs, but I think the problem is the > > remaining linker.hints file at deinstall time. I solved this with a > > kldxref (PREFIX/modules is now removed). > > Is it really useful to install into PREFIX/modules in the first place? Good question. I asked me this too. There's an old-style rc-script which loads the module at boot unconditionally. As long as such scripts work (I haven't tested this), there should be no problem. Bye, Alexander. -- Secret hacker rule #11: hackers read manuals. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/