Re: 7-STABLE NFS: fatal: "select lock: Permission denied"



On Mon, 4 Apr 2011, Chuck Swiger wrote:

On Apr 4, 2011, at 11:58 AM, Marc G. Fournier wrote:
Be careful; multiple access from different processes even on a single host can still run into locking issues against NFS filesystems, or data corruption if locking isn't available. You're most at risk with local delivery to an mbox-style INBOX; delivery to maildir-style INBOX is much safer even on NFS without locking.

In my case, I have postfix+cyrus-imapd ...

OK-- Cyrus IMAP uses a variant of maildir, so you're relatively safe even if locking is not available.

So, just to get this clear ...

If I were to boot a diskless station using an NFS backend, then that instance would be prone to corruption since lockd wouldn't work, even though the only processes handling the files on that mount?

And this may be where I'm mis-understanding things:

Does rpc.lockd work at the process level or file system? For instance, in my test case, I'm trying to operate within a jail ... does the rpc.lockd runnig at the primary OS level handle communications between client<->server, irrelevent of whether the process is running in a jail or not?


----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy@xxxxxxx http://www.hub.org

Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@xxxxxxx
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • FreeBSD Security Advisory FreeBSD-SA-07:01.jail [REVISED]
    ... For general information regarding FreeBSD Security Advisories, ... The host's jail rc.dscript can be used to start and stop jails ... a path inside the jail file system structure is a symbolic link before ... # fetch http://security.FreeBSD.org/patches/SA-07:01/jail5.patch.asc ...
    (Bugtraq)
  • FreeBSD Security Advisory FreeBSD-SA-07:01.jail [REVISED]
    ... For general information regarding FreeBSD Security Advisories, ... The host's jail rc.dscript can be used to start and stop jails ... a path inside the jail file system structure is a symbolic link before ... # fetch http://security.FreeBSD.org/patches/SA-07:01/jail5.patch.asc ...
    (FreeBSD-Security)
  • [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-07:01.jail [REVISED]
    ... For general information regarding FreeBSD Security Advisories, ... The host's jail rc.dscript can be used to start and stop jails ... a path inside the jail file system structure is a symbolic link before ... # fetch http://security.FreeBSD.org/patches/SA-07:01/jail5.patch.asc ...
    (freebsd-announce)
  • FreeBSD Security Advisory FreeBSD-SA-07:01.jail
    ... For general information regarding FreeBSD Security Advisories, ... The host's jail rc.dscript can be used to start and stop jails ... a path inside the jail file system structure is a symbolic link before ... # fetch http://security.FreeBSD.org/patches/SA-07:01/jail5.patch.asc ...
    (FreeBSD-Security)
  • [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-07:01.jail
    ... For general information regarding FreeBSD Security Advisories, ... The host's jail rc.dscript can be used to start and stop jails ... a path inside the jail file system structure is a symbolic link before ... # fetch http://security.FreeBSD.org/patches/SA-07:01/jail5.patch.asc ...
    (freebsd-announce)