From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FpG2R-0002PN-QS for garchives@archives.gentoo.org; Sun, 11 Jun 2006 02:50:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5B2mj8S023737; Sun, 11 Jun 2006 02:48:45 GMT Received: from mailout2.igs.net (mailout2.igs.net [216.58.97.88]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k5B2gT9R001065 for ; Sun, 11 Jun 2006 02:42:30 GMT Received: from waltdnes.org (i216-58-58-99.cybersurf.com [216.58.58.99]) by mailout2.igs.net (Postfix) with SMTP id 3980047E9FE for ; Sat, 10 Jun 2006 22:42:29 -0400 (EDT) Received: by waltdnes.org (sSMTP sendmail emulation); Sat, 10 Jun 2006 22:43:03 -0400 From: "Walter Dnes" Date: Sat, 10 Jun 2006 22:43:03 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] An alternative to http-replicator Message-ID: <20060611024303.GA26116@waltdnes.org> References: <20060610033154.GA22420@waltdnes.org> <448A6201.6090900@cs.umn.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448A6201.6090900@cs.umn.edu> User-Agent: Mutt/1.5.11 X-Archives-Salt: 9df81216-7d39-4b85-828d-765743f52561 X-Archives-Hash: 87824924756f30c96bb263bd2fb0e536 On Sat, Jun 10, 2006 at 01:09:05AM -0500, Jeremy Olexa wrote > Much simplier: > http://gentoo-wiki.com/HOWTO_Using_a_shared_portage_via_NFS My approach requires 2 emerges (boa and rsyncd) and their config files on the server plus inserting the server as the preferred mirror in 2 lines in /etc/make.conf on the client(s). NFS requires building NFS server support on the server (reboot required) and NFS client support on the client(s) plus setting up lines in the associated config files. It also requires enabling and running portmapper on port 111 (the linux version of Windows' port 139) on the server and punching a few holes in iptables. For details see... http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS In terms of programs to configure and run, it's a wash. But I'll pick http security (especially boa) over portmap/nfs security any day. rsync and nfs both work for "emerge --sync" because we know that those files are supposed to be *ABSOLUTELY* identical for all machines at any given time. Unless your server has *EVERY PACKAGE THAT EVERY CLIENT NEEDS*, you run into a problem when emerging packages. If a required tarball isn't present, emerge downloads the missing file (tarball, etc) to the distfiles directory. But, but, but... the clients' distfiles directories are nfs mounts on the server. That implies that *THE CLIENTS WILL NEED WRITE PERMISSION ON THE SERVER*!!!! My approach is to make *LOCAL* copies on the client from mirrors. The local server just happens to be the first mirror on the list. If it doesn't have a required file, no problem, check the next mirror in the list. The clients never have to write on the local server. -- Walter Dnes In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list