Last call for nfs-utils patches
Timo Aaltonen
tjaalton at cc.hut.fi
Thu Mar 6 17:06:20 EST 2008
On Thu, 6 Mar 2008, Steve Dickson wrote:
> Timo Aaltonen wrote:
>> What about the changes which make rpc.gssd spam the syslog less, ie.
>> lowering the priority of two printerr's? It did the trick wonderfully,
>> no more syslog overflows when user creds have expired.
> Which patches are you referring to? It appears I missed them...
I didn't actually post anything yet, it was discussed recently though. But
here it goes:
diff -Naur nfs-utils-1.1.1/utils/gssd/gss_util.c nfs-utils-1.1.1-new/utils/gssd/gss_util.c
--- nfs-utils-1.1.1/utils/gssd/gss_util.c 2007-10-19 06:07:28.000000000 +0300
+++ nfs-utils-1.1.1-new/utils/gssd/gss_util.c 2008-02-27 17:23:40.000000000 +0200
@@ -168,7 +168,7 @@
min = min_gss_buf.value;
}
- printerr(0, "ERROR: GSS-API: error in %s(): %s - %s\n",
+ printerr(1, "ERROR: GSS-API: error in %s(): %s - %s\n",
m, maj, min);
if (maj_gss_buf.length != 0)
diff -Naur nfs-utils-1.1.1/utils/gssd/gssd_proc.c nfs-utils-1.1.1-new/utils/gssd/gssd_proc.c
--- nfs-utils-1.1.1/utils/gssd/gssd_proc.c 2007-10-19 06:07:28.000000000 +0300
+++ nfs-utils-1.1.1-new/utils/gssd/gssd_proc.c 2008-02-27 17:23:10.000000000 +0200
@@ -464,7 +464,7 @@
if (write(k5_fd, buf, p - buf) < p - buf) goto out_err;
return 0;
out_err:
- printerr(0, "Failed to write error downcall!\n");
+ printerr(1, "Failed to write error downcall!\n");
return -1;
}
More information about the NFSv4
mailing list