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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux