Article 59HWT Current, rc.nfsd, exportfs stdout spew

Current, rc.nfsd, exportfs stdout spew

by
upnort
from LinuxQuestions.org on (#59HWT)
I am not an active Current user, but I keep a VirtualBox Current VM that I occasionally update and tinker.

With the nfs-utils 2.5.2 package there is a stdout spew when launching rc.nfsd.

Anybody know how to avoid the "ugly" spew?

When rc.nfsd launches the stdout spews the following:

Code:point 1
point 2
point 3Dot new files are updated.

The root cause is the exportfs command. Comparing nfs-utils 2.5.1 and 2.5.2:

Code:88c88
< if (_lockfd != -1)
---
> if (_lockfd != -1) {
89a90,92
> close(_lockfd);
> _lockfd = -1;
> }
175a179
> printf("point 1\n");
177a182
> printf("point 2\n");
186a192
> export_freeall();
189a196
> printf("point 3\n");
227a235
> export_freeall();I'm not a C programmer but browsing the exportfs.c file indicates the printf commands are hard-coded rather than conditional. I'm wondering if the printf commands are being used as debugging markers.

My /etc/exports file contains a single line and the export works fine.

P.S. Anybody who replies the spew is "harmless" gets whacked over the head with the thick end of a baseball bat. Just discuss the fine question. ;)latest?d=yIl2AUoC8zA latest?i=BiBWpxGKX-Q:_g8eelyKyhQ:F7zBnMy latest?i=BiBWpxGKX-Q:_g8eelyKyhQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=BiBWpxGKX-Q:_g8eelyKyhQ:gIN9vFwBiBWpxGKX-Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments