Xymon Mailing List Archive search

nfs_proc_symlink in dmesg

3 messages in this thread

list Olivier Beau · Tue, 13 Jan 2009 13:57:37 +0100 ·
the cust-pageset works fine, but i'm getting those in dmesg :

Jan 13 13:31:33 localhost kernel: nfs_proc_symlink: cust-pageset/index.html already exists??
Jan 13 13:33:35 localhost kernel: nfs_proc_symlink: cust-pageset/index.html already exists??
Jan 13 13:35:37 localhost kernel: nfs_proc_symlink: cust-pageset/index.html already exists??
...


i'm not having those logs with my others pageset,

except for the main pageset once in a while:

Jan 13 12:05:47 localhost  kernel: nfs_proc_symlink: www/index.html already exists??
Jan 13 12:18:08 localhost  kernel: nfs_proc_symlink: www/index.html already exists??
Jan 13 12:32:37 localhost  kernel: nfs_proc_symlink: www/index.html already exists??


all pageset are store on a nfs share


olivier
list Henrik Størner · Mon, 19 Jan 2009 09:46:34 +0000 (UTC) ·
quoted from Olivier Beau
In <user-acae7c7f6ca6@xymon.invalid> Olivier Beau <user-eb340192b6fc@xymon.invalid> writes:

the cust-pageset works fine, but i'm getting those in dmesg :
Jan 13 13:31:33 localhost kernel: nfs_proc_symlink: 
cust-pageset/index.html already exists??
Seems like an overly sensitive kernel message ... 


You can probably avoid it by modifying bbdisplay/pagegen.c

Index: bbdisplay/pagegen.c
===================================================================
--- bbdisplay/pagegen.c	(revision 5898)
+++ bbdisplay/pagegen.c	(working copy)
@@ -786,7 +786,7 @@
 			sprintf(filename, "bb%s", htmlextension);
 			sprintf(rssfilename, "bb%s", rssextension);
 			sprintf(indexfilename, "index%s", htmlextension);
-			symlink(filename, indexfilename);
+			unlink(indexfilename); symlink(filename, indexfilename);
 			dbgprintf("Symlinking %s -> %s\n", filename, indexfilename);
 		}
 		else {


Regards,
Henrik
list Olivier Beau · Mon, 19 Jan 2009 21:38:31 +0100 ·
Hi Henrik,

This works fine (no more kernel messages).
Thank you for the solution.


Olivier
quoted from Henrik Størner


On 19/01/2009 10:46, Henrik Størner wrote:
You can probably avoid it by modifying bbdisplay/pagegen.c

Index: bbdisplay/pagegen.c
===================================================================
--- bbdisplay/pagegen.c	(revision 5898)
+++ bbdisplay/pagegen.c	(working copy)
@@ -786,7 +786,7 @@
 			sprintf(filename, "bb%s", htmlextension);
 			sprintf(rssfilename, "bb%s", rssextension);
 			sprintf(indexfilename, "index%s", htmlextension);
-			symlink(filename, indexfilename);
+			unlink(indexfilename); symlink(filename, indexfilename);
 			dbgprintf("Symlinking %s -> %s\n", filename, indexfilename);
 		}
 		else {