linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Spurious rpc.idmapd nss_getpwnam: name 'nobody' does not map into domain messages
@ 2012-06-01 15:53 Orion Poplawski
  2012-06-01 15:58 ` Myklebust, Trond
  0 siblings, 1 reply; 6+ messages in thread
From: Orion Poplawski @ 2012-06-01 15:53 UTC (permalink / raw)
  To: linux-nfs

I'm seeing a fair number of these messages on our file server:

Jun  1 09:37:58 alexandria rpc.idmapd[28890]: nss_getpwnam: name 'nobody' does
not map into domain 'cora.nwra.com'

I think they are coming from accessing files on another file server that are
owned by an unknown uid (user left and was removed from the user database). 
These files end up owned by "nobody" (as expected) on the remote system:

drwxr-xr-x.  7 nobody nwra 4096 Mar 15  2010 analysis_data

Now, this seems like a perfectly normal operation and so shouldn't generate a
system log message.  First two possible fixes I can think of:

- Should the remote system send the username as "nobody@cora.nwra.com" instead
of just "nobody"?

                            recc_attr: FATTR4_OWNER (36)
                                fattr4_owner: nobody
                                    length: 6
                                    contents: nobody
                                    fill bytes: opaque data
                            recc_attr: FATTR4_OWNER_GROUP (37)
                                fattr4_owner_group: nwra@cora.nwra.com
                                    length: 18
                                    contents: nwra@cora.nwra.com
                                    fill bytes: opaque data

- Don't log if the username is "nobody"?  Although since this is independently
configurable on the different machines this seems like a bad idea.  Maybe don't
log if there is no domain part at all?

This is on EL6 with nfs-utils-1.2.3-15.el6_2.1

Orion Poplawski


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-01 17:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-01 15:53 Spurious rpc.idmapd nss_getpwnam: name 'nobody' does not map into domain messages Orion Poplawski
2012-06-01 15:58 ` Myklebust, Trond
2012-06-01 16:26   ` Orion Poplawski
2012-06-01 16:41     ` Myklebust, Trond
2012-06-01 16:53       ` Orion Poplawski
2012-06-01 17:10       ` Jim Rees

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).