From owner-freebsd-ruby@FreeBSD.ORG Wed Dec 30 08:22:45 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C53C106568D for ; Wed, 30 Dec 2009 08:22:45 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id A7B088FC26 for ; Wed, 30 Dec 2009 08:22:51 +0000 (UTC) Received: from sputnik.SpringDaemons.com (c-71-198-20-159.hsd1.ca.comcast.net [71.198.20.159]) by mx0.deglitch.com (Postfix) with ESMTPA id 316D38FC4E; Wed, 30 Dec 2009 11:22:49 +0300 (MSK) Received: from sputnik.SpringDaemons.com (localhost [127.0.0.1]) by sputnik.SpringDaemons.com (Postfix) with SMTP id 4FBF8B871; Wed, 30 Dec 2009 00:26:26 -0800 (PST) Date: Wed, 30 Dec 2009 00:26:26 -0800 From: Stanislav Sedov To: James Harrison Message-Id: <20091230002626.1d77a3b8.stas@FreeBSD.org> In-Reply-To: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> References: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ruby@freebsd.org Subject: Re: confirm bug still exists? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 08:22:45 -0000 On Wed, 30 Dec 2009 00:43:35 -0700 James Harrison mentioned: > http://www.freebsd.org/cgi/query-pr.cgi?pr=112818&cat= > > I have an NFS server, /etc/exports reads: > > [root@centos ~]# cat /etc/exports > /home/james/portsold 172.16.128.133(rw) > > > I mount it on my FreeBSD box: > > [root@server /usr]# mv ports portsold > [root@server /usr]# mkdir ports > [root@server /usr]# mount 172.16.128.137:/home/james/portsold ports > [root@server /usr]# ls -l | grep ports > drwxr-xr-x 69 500 500 4096 Dec 30 07:22 ports > > On the FreeBSD server: > > drwxr-xr-x 69 james james 4096 Dec 29 2009 portsold > > > Using portupgrade-devel: > > [root@server /usr]# portupgrade -a > [Updating the portsdb in /var/db/pkg ... - 21055 port entries found ..........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000..........12000.........13000.........14000.........15000.........16000..........17000.........18000.........19000.........20000.........21000 ..... done] > ---> Upgrading 'mysql-client-5.0.88' to 'mysql-client-5.0.89' (databases/mysql50-client) > ---> Building '/usr/ports/databases/mysql50-client' > > > ...etc, etc, etc. > > The /usr/ports directory isn't writeable: > > [root@server /]# portsnap fetch update > Looking up us.portsnap.FreeBSD.org mirrors... 2 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Tue Dec 29 22:20:49 UTC 2009 to Wed Dec 30 05:02:19 UTC 2009. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 2 patches.. done. > Applying patches... done. > Fetching 0 new ports or files... done. > portsnap: Directory is not writable: /usr/ports > [root@server /]# cd usr/ports > [root@server /usr/ports]# touch something > touch: something: Permission denied > > > However, it's true that I did do a little hinkying around to get stuff to partially build with an NFS mounted directory. > > Anybody able to confirm that the bug still exists as described in the PR? > Hi! I can't see how this refers to the PR you're pointing too? The problem described in PR was due to portupgrade creating database files with wrong permissions, which was fixed in portupgrade-devel. Your problem seems to be irrelevant to portupgrade at all, or am I missing something? On the side not, please, show the output of mount command and ls -la /usr/ports on the server, which mounts that directory via NFS. I suspect there's something wrong here. -- Stanislav Sedov ST4096-RIPE