RE: [PATCH] Don't spam kernel log with EKEYEXPIRED and EACCESSerrors

From: peter.staubach
Date: Fri Nov 18 2011 - 12:51:18 EST


The log messages are for the poor admin who has to figure out why nothing is working for the user.

ps


-----Original Message-----
From: John Hughes [mailto:john@xxxxxxxxx]
Sent: Friday, November 18, 2011 11:52 AM
To: Staubach, Peter
Cc: Trond.Myklebust@xxxxxxxxxx; linux-nfs@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] Don't spam kernel log with EKEYEXPIRED and EACCESS errors

On 18/11/11 17:27, peter.staubach@xxxxxxx wrote:
> Given that the poor user will be sitting, with almost nothing working because of the expired ticket, how does the user figure out what is going on or how does the admin help him?
>
> Some guidance seems like a good thing. Is there really a problem with these messages being printed to the log?
If you're sat at your console with nothing responding how are you going
to see the log messages?

The "ticket expired" messages are rate limited.

The "Error: state manager failed on NFSv4 server" messages are not rate
limited, but if you use my "rpc.gssd -e" hack they'll be written to the
log every 5 seconds all night long.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/