From: Chris Wright <chrisw@osdl.org>
To: Matt Bernstein <mb/lkml@dcs.qmul.ac.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6: can't lockf() over NFS
Date: Tue, 25 Nov 2003 16:55:01 -0800 [thread overview]
Message-ID: <20031125165501.A20302@build.pdx.osdl.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0311251613230.20810@lucy.dcs.qmul.ac.uk>; from mb/lkml@dcs.qmul.ac.uk on Tue, Nov 25, 2003 at 04:17:36PM +0000
* Matt Bernstein (mb/lkml@dcs.qmul.ac.uk) wrote:
> I can't get Debian testing to log in to GNOME when home directories are
> mounted over NFS (Linux 2.6 client -> Linux 2.4-ac server). It claims not
> to be able to lock a file..
>
> I tried writing a trivial program to test lockf() and it returns ENOLCK
> over NFS, but succeeds locally. The client kernel offers some grumbles:
>
> RPC: Can't bind to reserved port (13).
> RPC: can't bind to reserved port.
> nsm_mon_unmon: rpc failed, status=-5
> lockd: cannot monitor a.b.c.d
> lockd: failed to monitor a.b.c.d
>
> [where a.b.c.d is our NFS server]
>
> /sbin/rpc.statd is running on both client and server, and with a 2.4
> kernel on the client (as the only change) GNOME logins and the lockf()
> test program work just fine.
>
> Any ideas? I'm stumped at this point.
Yes, can you either change your config to:
CONFIG_SECURITY=n
or:
CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=y
or:
CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=m
and modprobe capability
Thanks, this had fallen off my radar.
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
next prev parent reply other threads:[~2003-11-26 0:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 16:17 Matt Bernstein
2003-11-26 0:39 ` Trond Myklebust
2003-11-26 0:55 ` Chris Wright [this message]
2003-11-26 1:35 ` Trond Myklebust
2003-11-26 11:21 ` Matt Bernstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031125165501.A20302@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mb/lkml@dcs.qmul.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®