Comment 18 for bug 293705

Revision history for this message
Matthew L. Dailey (matthew-l-dailey) wrote :

So here's what I figured out:

It looks like the logging verbosity of most messages was decreased as of nfs-utils 1.1.5 upstream. See commit 09c7ad1cd9c5ca2fc46631a0057d47309abc8706 in these release notes: https://sourceforge.net/project/shownotes.php?release_id=665939

So, I created a patch that basically back-ports these changes to the hardy version. This includes most of Andrew's work and some others, including the krb5 context warnings.

The change to the logging of the GSS-API message seems unnecessary. As far as I can tell, this function (display_status_1) isn't being called by anything. It's the message in display_status_2 that could be changed. However, in the case of expired credentials, the logging verbosity is already lowered in this function. In the case of missing credentials, the gss error is unspecified, so testing for it would mean some additional programming that seems a bit much for a simple patch.

I have tested my patch on our systems, and in the case of expired credentials, the logs are now silent. In the case of missing credentials, the GSS-API error still appears, but the krb5 context warning does not.

Please let me know if I'm missing something, but this seems like a better way to resolve this particular bug.