Re: Shared home directory and NIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/18/10 5:43 PM, Wendell Nichols wrote:
> I have access to several linux machines at work and they're all on a
> single nis domain.  My home dir is on an nfs mount and is the same for
> all machines.   I have xrdp installed on all of them but because the
> home dir is shared I find that the second session behaves badly.
> firefox wont start and any desktop that has log files fights with its
> counterpart on the other desktop.
> Is there a way to overcome this?
> I cannot change the nis and shared home dir setup...
> wcn
>    
This is a shortcoming of NFS in general.  If the NFS server supports
NLM locking, then the clients should be set up to mount your home
directory using NLM locks (in Linux parlance, adding "lock" to the
mount options).

This may or may not work, depending on whether the applications involved
use fcntl() or flock() to do locking (most Linux systems use fcntl()).
It can also be dangerous if the exported filesystem has mandatory
locking enabled.

You said you can't change shared home dir setup, so you may be SOL.
Sorry.

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-               500: Internal Fortune Cookie Error                   -
----------------------------------------------------------------------

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux