Hi Dave, On Wed, Jan 13, 2010 at 10:13:07AM -0500, Dave Witbrodt wrote: > Package: nfs-kernel-server > Version: 1:1.2.1-2 > Severity: normal > > > 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 :) 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 -- +----------------------------------------------------------+ | John Wright <john.wri...@hp.com> | | HP Mission Critical OS Enablement & Solution Test (MOST) | +----------------------------------------------------------+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org