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 3
Dot 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.