Comment 9 for bug 581941

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

I could find where the log messages were going, so I disabled syslog logging in the source and rebuilt sm-notify.

apt-get source nfs-utils

The find the following lines in utils/statd/sm-notify.c and comment them out:

        log_syslog = 1;
        openlog("sm-notify", LOG_PID, LOG_DAEMON);

Then rebuild with dpkg-buildpackage -B (or whatever) and install the resulting nfs-common deb file.

For good measure, I also edited /etc/init/statd.conf to redirect the output of sm-notify to a spare tty (/dev/tty12 in my case)