From owner-freebsd-ports@FreeBSD.ORG Tue Apr 22 13:01:26 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 371BD37B401 for ; Tue, 22 Apr 2003 13:01:26 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-1.dsl.lsan03.pacbell.net [67.115.75.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A79843FAF for ; Tue, 22 Apr 2003 13:01:25 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 1A47366E2B; Tue, 22 Apr 2003 13:01:25 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id E90081537; Tue, 22 Apr 2003 13:01:24 -0700 (PDT) Date: Tue, 22 Apr 2003 13:01:24 -0700 From: Kris Kennaway To: Miguel Mendez Message-ID: <20030422200124.GA65276@rot13.obsecurity.org> References: <20030422092946.39da1c27.flynn@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20030422092946.39da1c27.flynn@energyhq.homeip.net> User-Agent: Mutt/1.4i cc: ports@freebsd.org Subject: Re: RFC: the linprocfs problem when portupgrading linux_base X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 20:01:26 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 22, 2003 at 09:29:46AM +0200, Miguel Mendez wrote: > Hi porters, >=20 > It seems this has bitten several people trying to portupgrade > linux_base. I think something like the attached patch could be useful. > Comments and suggestions welcomed. You didn't explain what the problem is, but I have a couple of comments on the proposed solution. 1) You don't re-mount it afterwards if you unmount 2) This will not work if installed via a package. You need to use a pkg-install script for that (and the pre-install target should call the script instead of duplicating code). Kris --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+pZ+UWry0BWjoQKURAhfDAJwMEvkl6X5RIxPWKgq4qSmTWB31OgCgpbFx kJVALOs5QpFrWpGSvEbi1w0= =jI0e -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--