You are not logged in.

#1 2013-08-21 08:28:08

geekmiki
Member
Registered: 2011-10-10
Posts: 74

Request-key and nfsidmap error flooding log

Hi,

My logs are flooded with an error from request-key:

request-key: /etc/request-key.d/id_resolver.conf  Missing macro name

id_resolver.conf contains the regular nfsidmap command:

create    id_resolver    *    *    /usr/bin/nfsidmap %k %d

Any clues on what I'm missing?

Thank you in advance.

Last edited by geekmiki (2013-08-21 08:28:31)

Offline

#2 2013-09-26 08:50:37

janoliver
Member
Registered: 2011-06-01
Posts: 54

Re: Request-key and nfsidmap error flooding log

Hi, some weeks old, but I have the exact same issue. What is this and how can we make it stop?

Offline

#3 2013-10-18 19:56:02

cookiecaper
Member
Registered: 2007-09-22
Posts: 199

Re: Request-key and nfsidmap error flooding log

Getting this here too.

Offline

#4 2013-10-25 12:09:32

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Request-key and nfsidmap error flooding log

geekmiki wrote:

Hi,

My logs are flooded with an error from request-key:

request-key: /etc/request-key.d/id_resolver.conf  Missing macro name

id_resolver.conf contains the regular nfsidmap command:

create    id_resolver    *    *    /usr/bin/nfsidmap %k %d

Any clues on what I'm missing?

Thank you in advance.

Getting exactly the same thing. Goggling around didn't help.

Anybody any clues ?

I am using NFS and samba.

Will disable samba first.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2013-11-19 17:52:19

petzouill
Member
Registered: 2013-11-19
Posts: 4

Re: Request-key and nfsidmap error flooding log

Hi,
I exactly have the same problem. It's killing my SSD uselessly. Somebody has something new about that ?

Offline

#6 2013-12-23 01:32:47

vjm
Member
From: Amsterdam, NL
Registered: 2012-09-15
Posts: 6

Re: Request-key and nfsidmap error flooding log

Hello
Same here. This started happening after an update on my Synology NAS to which I connect using NFS...

Offline

#7 2014-01-01 19:09:48

cookiecaper
Member
Registered: 2007-09-22
Posts: 199

Re: Request-key and nfsidmap error flooding log

From a quick skim of request-key.c, "Missing macro name" is only supposed to occur when you have a % sign by itself in an argument (macro escape with no macro signification). That is obviously not the case here, as %k and %d should both be parsed in the same argument as their aforementioned escape character.

There's either a bug in the config file parser or in its documentation, because the format matches the description on the man page for request-key.conf, but this error is spawned anyway.

I noted a workaround, however: if you explicity define -t, the error quits appearing in the log. My file now looks like this and the error is gone:

create id_resolver * * /usr/bin/nfsidmap -t 600 %k %d

Debian, Ubuntu, and RHEL all also include the explicit -t. Arch excluded it probably because they didn't see the sense in explicitly defining the default value, but again, it seems there is a bug in the parser or some other impediment that makes this line misbehave without the explicit time flag. It is also possible that the documentation has incorrectly specified the format. This can probably also be worked around by explicitly defining another flag.

Last edited by cookiecaper (2014-01-01 19:11:50)

Offline

#8 2014-01-01 19:13:50

cookiecaper
Member
Registered: 2007-09-22
Posts: 199

Re: Request-key and nfsidmap error flooding log

After employing this work around, I noted a new line in my log, seemingly occuring every time the request-key.d/id_resolver.conf line was processed:

nfsidmap[3870]: nss_getpwnam: name 'admin' not found in domain 'localdomain'

I googled and followed the advice of someone on a mailing list to change /etc/hosts's localhost.localdomain mapping to localhost.domain. This may have other unexpected implications but it is working for the time being, without spamming my log.

Offline

Board footer

Powered by FluxBB