FreeBSD Security Advisory FreeBSD-SA-13:05.nfsserver [REVISED]
Dan Lukes
dan at obluda.cz
Mon Apr 29 22:08:39 UTC 2013
FreeBSD Security Advisories wrote:
> To determine which implementation an NFS server is running, run the
> following command:
>
> # kldstat -v | grep -cw nfsd
>
> This will print 1 if the system is running the new NFS implementation,
> and 0 otherwise.
It output "2" on my 9.1-RELEASE-p2 with new NFSD as output of
kldstat -v return two lines containing word 'nfsd':
> 6 1 0xffffffff80c14000 2b38b nfsd.ko (/boot/kernel/nfsd.ko)
> Contains modules:
> Id Name
> 202 nfsd
Someone may be confused by non 0/1 result not catched in advisory.
Either
kldstat -v | grep -wc nfsd.ko
or
kldstat | grep -wc nfsd
should be used instead the command recommended in advisory to obtain 0/1
result.
Regards
Dan
More information about the freebsd-security
mailing list