linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RedHat nfs-utils-0.3.3.drop-privs.patch problems.
@ 2002-10-29 19:33 Juan Gomez
  0 siblings, 0 replies; only message in thread
From: Juan Gomez @ 2002-10-29 19:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: nfs





I am having trouble when I apply this patch to statd for the following
reason. After the patch does drop_privs() to switch from root to rpcuser
statd_get_socket() is called and it fails to bind to reserved ports
(bindresvport()) as rpcuser is not root. Later when statd tries to notify
lockd of a server going down/back up for example (at the NFS client side)
lockd (in the kernel) refuses to take the notification because it is coming
from a non-priv port (which I think is fine)...

Is this a well-known problem or am I just doing something wrong here?

Regards, Juan


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 19:33 RedHat nfs-utils-0.3.3.drop-privs.patch problems Juan Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).