From owner-freebsd-questions Fri Sep 27 8:37:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8BE837B401 for ; Fri, 27 Sep 2002 08:37:33 -0700 (PDT) Received: from orion.gate5.de (orion.gate5.de [212.84.193.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C4543E75 for ; Fri, 27 Sep 2002 08:37:30 -0700 (PDT) (envelope-from erdgeist@gate5.de) Received: (qmail 31772 invoked by uid 1075); 27 Sep 2002 15:37:29 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Sep 2002 15:37:29 -0000 Date: Fri, 27 Sep 2002 17:37:29 +0200 (CEST) From: Dirk Engling Reply-To: lenin@weltregierung.de To: "freebsd-questions@FreeBSD.ORG" , "erdgeist@gate5.de" Subject: Re: mounting /usr/ports to multiple jails In-Reply-To: <200209271528.g8RFS9HO042180@lurza.secnetix.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > One way would be to NFS-export /usr/ports to localhost > (read-only), then mount it from localhost into every jail. > This works pretty well, unless you have more than a few > hundred jails. Advantage: When you update the ports, you > just have to update /usr/ports in the host environment. > All the jails will automatically see all changes. Disad- > vantage: The mount list can grow pretty large, depending > on the number of jails, which is a bit ugly. Well, this is not the problem, I do have with NFS. I, honestly, do not want to have that mountd/portmap/nfsd on my host system, as it proved to be "insecure on some occasions". > Another way would be to make hard-linked directory trees. [...] > tage: When updating your ports, you have to remove and re- > create all copies of it in your jails, otherwise they won't > see new files, and obsolete files wouldn't disappear. This, also, is not the real problem with hardlinks. It simply would not solve my inode problem. And the daily update for the users ports would be hell :) What I really hoped to hear was something like: Oh well, we finally fixed all the bugs in mount_nullfs but forgot to update the man-page :) Thanks for your fast answer Dirk -- fnord! -------------------------------- id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message