Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?

2009-10-30 Thread Chuck Swiger

On Oct 30, 2009, at 4:17 PM, Yuri wrote:
The workaround suggested in this PR eliminates the messages, but  
causes client to get "Permission denied message"

Because the modified mount points are for different nets.



Assuming /usr/diskless, /usr/local, and /usr/home are all on the same / 
usr filesystem, just set up one export using -alldirs instead.


However, you cannot export subdirectories of /usr with different  
permissions (some ro, some rw) to the same subnet...you would have to  
use different filesystems to do that.


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?

2009-10-30 Thread Yuri

Chuck Swiger wrote:

For one thing, the second line should be:

/usr/local -maproot=root,ro -network=10.0.0 -mask=255.0.0.0

For another, you are only supposed to export a given filesystem once; 
the notion of exporting it multiple times means you are changing the 
values of the previous export, and that's not supported.  See:


  http://www.freebsd.org/cgi/query-pr.cgi?pr=109911



The workaround suggested in this PR eliminates the messages, but causes 
client to get "Permission denied message"

Because the modified mount points are for different nets.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?

2009-10-30 Thread Chuck Swiger

Hi--

On Oct 30, 2009, at 2:49 PM, Yuri wrote:

I am getting these errors in messages:
Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ 
local
Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/local  
-maproot
Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ 
home
Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/home - 
network


Here is my /etc/exports:
/usr/diskless -alldirs -maproot=root -ro -network=10.0.0 - 
mask=255.0.0.0

/usr/local -maproot=root -ro -network=10.0.0 -mask=255.0.0.0
/usr/home -maproot=root -network=10.0.0 -mask=255.0.0.0

What's wrong?

Also why messages are so cryptic? Which attributes? Why "bad exports  
list line"?
If it would explain in messages what's wrong I wouldn't even be  
asking question here.


For one thing, the second line should be:

/usr/local -maproot=root,ro -network=10.0.0 -mask=255.0.0.0

For another, you are only supposed to export a given filesystem once;  
the notion of exporting it multiple times means you are changing the  
values of the previous export, and that's not supported.  See:


  http://www.freebsd.org/cgi/query-pr.cgi?pr=109911

...or your friendly documentation on NFS.

Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?

2009-10-30 Thread Yuri

I am getting these errors in messages:
Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/local
Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/local 
-maproot

Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/home
Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/home -network

Here is my /etc/exports:
/usr/diskless -alldirs -maproot=root -ro -network=10.0.0 -mask=255.0.0.0
/usr/local -maproot=root -ro -network=10.0.0 -mask=255.0.0.0
/usr/home -maproot=root -network=10.0.0 -mask=255.0.0.0

What's wrong?

Also why messages are so cryptic? Which attributes? Why "bad exports 
list line"?
If it would explain in messages what's wrong I wouldn't even be asking 
question here.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"