Updated this morning, and the init script still doesn't want to start.
(I build NFS support into my kernel.)
<snip>
I experimented with the following change:
# diff /etc/init.d/nfs-kernel-server.{orig,new}
67c67
< if [ -f /proc/kallsyms ] && ! grep -Eqm1 ' nfsd_.*
*\[nfsd\]' /proc/kallsyms; then
---
> if [ -f /proc/kallsyms ] && ! grep -Eqm1 ' nfsd$'
/proc/kallsyms; then
... and it appears to be working. I don't know if this is the *right*
fix, but I'll use it for now -- until an official fix is adopted.
Unfortunatlely, *this* one only works with nfsd built into the kernel :)
Thanks for pointing that out, John. I didn't reboot to a Debian
(modularized) kernel and take a look at things there first. Obviously,
I should have.
How about something like
if [ -f /proc/kallsyms ] && ! grep -Eqm1 ' nfsd([[:space:]]|$)'
/proc/kallsyms; then
(match ' nfsd' followed by whitespace - for the module case - or the end
of line - for the built-in case) which should work at least as far back
as 2.6.10. Or something like Joerg Dorchain suggested:
if ! grep '[[:space:]]nfsd$' /proc/filesystems; then
The latter option seems simpler. I made the change to this,
if ! grep -Eqm1 '[[:space:]]nfsd$' /proc/filesystems; then
and everything is working for me. So, I guess I'll stick with _this_
workaround until an official fix is selected! (Thanks to Joerg, as well.)
DW
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org