Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2009 00:26:26 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        James Harrison <oscartheduck@gmail.com>
Cc:        ruby@freebsd.org
Subject:   Re: confirm bug still exists?
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Dec 2009 00:43:35 -0700
James Harrison <oscartheduck@gmail.com> 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 <format:bdb_btree> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091230002626.1d77a3b8.stas>