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.)  Here's what 'aptitude' displayed:

---------------
Preparing to replace nfs-common 1:1.2.1-1.1 (using 
.../nfs-common_1%3a1.2.1-2_amd64.deb) ...
Unpacking replacement nfs-common ...
Preparing to replace nfs-kernel-server 1:1.2.1-1.1 (using 
.../nfs-kernel-server_1%3a1.2.1-2_amd64.deb) ...
Unpacking replacement nfs-kernel-server ...
Processing triggers for man-db ...
Setting up nfs-common (1:1.2.1-2) ...
Stopping NFS common utilities: idmapd statd.
Starting NFS common utilities: statd idmapd.
Setting up nfs-kernel-server (1:1.2.1-2) ...

Configuration file `/etc/init.d/nfs-kernel-server'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** nfs-kernel-server (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/init.d/nfs-kernel-server ...
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Not starting NFS kernel daemon: no support in current kernel. ... (warning).
[...]
---------------

I see the new detection code in the init script looks like this:

                if [ -f /proc/kallsyms ] && ! grep -Eqm1 ' nfsd_.* *\[nfsd\]' 
/proc/kallsyms; then

However, when I grep my own copy of /proc/kallsyms I get output like
this:

    $ grep -E " nfsd" /proc/kallsyms
    ffffffff8117fe10 T nfsd_vers
    ffffffff8117fea0 T nfsd_minorversion
    ffffffff8117ff00 T nfsd_reset_versions
    ffffffff8117ff40 T nfsd_nrpools
    ffffffff8117ff60 T nfsd_get_nrthreads
    ffffffff8117ffb0 T nfsd_pool_stats_release
    ffffffff8117ffe0 T nfsd_nrthreads
    ffffffff81180010 T nfsd_pool_stats_open
    ffffffff81180070 T nfsd_dispatch
    ffffffff811802c0 T nfsd_set_nrthreads
    ffffffff81180440 T nfsd_create_serv
    ffffffff81180580 T nfsd_svc
    ffffffff81180700 t nfsd
    ffffffff81180840 t nfsd_last_thread
    ffffffff811808a0 t nfsd_get_sb
    ffffffff811808c0 t nfsd_fill_super
    ffffffff811819f0 t nfsd_proc_null
    ffffffff81181a50 t nfsd_proc_statfs
    ffffffff81181ad0 t nfsd_proc_readdir
    ffffffff81181be0 t nfsd_proc_rmdir
    ffffffff81181c80 t nfsd_proc_remove
    ffffffff81181d20 t nfsd_return_dirop
    ffffffff81181d70 t nfsd_proc_mkdir
    ffffffff81181e80 t nfsd_return_attrs
    ffffffff81181ed0 t nfsd_proc_symlink
    ffffffff81182010 t nfsd_proc_link
    ffffffff811820f0 t nfsd_proc_rename
    ffffffff811821f0 t nfsd_proc_create
    ffffffff811827d0 t nfsd_proc_write
    ffffffff811828e0 t nfsd_proc_setattr
    ffffffff811829c0 t nfsd_proc_getattr
    ffffffff81182a70 t nfsd_proc_read
    ffffffff81182c10 t nfsd_proc_readlink
    ffffffff81182c90 t nfsd_proc_lookup
    ffffffff81183540 t nfsd_acceptable
    ffffffff81183650 t nfsd_setuser_and_check_port
    ffffffff81183ce0 T nfsd_racache_shutdown
    ffffffff81183d50 T nfsd_racache_init
    ffffffff81183ea0 T nfsd_permission
    ffffffff81183fe0 T nfsd_access
    ffffffff81184140 T nfsd_statfs
    ffffffff811841a0 t nfsd_buffered_filldir
    ffffffff81184210 T nfsd_readlink
    ffffffff81184320 t nfsd_sync
    ffffffff81184400 T nfsd_sync_dir
    ffffffff81184490 T nfsd_unlink
    ffffffff81184770 T nfsd_rename
    ffffffff81184c10 T nfsd_link
    ffffffff81184f20 T nfsd_symlink
    ffffffff81185270 t nfsd_vfs_write
    ffffffff81185690 t nfsd_vfs_read
    ffffffff81185ac0 t nfsd_direct_splice_actor
    ffffffff81185ae0 t nfsd_splice_actor
    ffffffff81185c00 T nfsd_close
    ffffffff81185c10 T nfsd_open
    ffffffff81185d80 T nfsd_readdir
    ffffffff81185f90 T nfsd_commit
    ffffffff81186020 T nfsd_write
    ffffffff81186130 T nfsd_read
    ffffffff81186230 T nfsd_setattr
    ffffffff81186710 T nfsd_create_v3
    ffffffff81186c20 T nfsd_create
    ffffffff81187120 T nfsd_cross_mnt
    ffffffff81187250 T nfsd_lookup_dentry
    ffffffff811876d0 T nfsd_lookup
    ffffffff81188090 t nfsd4_fslocs_free
    ffffffff81189690 T nfsd_export_shutdown
    ffffffff81189710 T nfsd_export_flush
    ffffffff81189750 T nfsd_export_init
    ffffffff8118a670 T nfsd_setuser
    ffffffff8118a920 T nfsd_lockd_shutdown
    ffffffff8118a930 T nfsd_lockd_init
    ffffffff8118aa60 T nfsd_cache_update
    ffffffff8118ac10 T nfsd_cache_lookup
    ffffffff8118aff0 T nfsd_reply_cache_shutdown
    ffffffff8118b080 T nfsd_reply_cache_init
    ffffffff8118c070 T nfsd_stat_shutdown
    ffffffff8118c080 T nfsd_stat_init
    ffffffff8118c0a0 t nfsd_proc_open
    ffffffff8118c0c0 t nfsd_proc_show
    ffffffff8118c210 t nfsd3_proc_null
    ffffffff8118c220 t nfsd3_proc_commit
    ffffffff8118c310 t nfsd3_proc_pathconf
    ffffffff8118c400 t nfsd3_proc_fsinfo
    ffffffff8118c4f0 t nfsd3_proc_fsstat
    ffffffff8118c570 t nfsd3_proc_readdirplus
    ffffffff8118c780 t nfsd3_proc_readdir
    ffffffff8118c8f0 t nfsd3_proc_link
    ffffffff8118ca50 t nfsd3_proc_rename
    ffffffff8118cbf0 t nfsd3_proc_rmdir
    ffffffff8118ccd0 t nfsd3_proc_remove
    ffffffff8118cdb0 t nfsd3_proc_mknod
    ffffffff8118cf50 t nfsd3_proc_mkdir
    ffffffff8118d080 t nfsd3_proc_symlink
    ffffffff8118d1d0 t nfsd3_proc_create
    ffffffff8118d370 t nfsd3_proc_write
    ffffffff8118d4c0 t nfsd3_proc_read
    ffffffff8118d640 t nfsd3_proc_readlink
    ffffffff8118d700 t nfsd3_proc_access
    ffffffff8118d7d0 t nfsd3_proc_lookup
    ffffffff8118d8e0 t nfsd3_proc_setattr
    ffffffff8118d9a0 t nfsd3_proc_getattr


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.  With
my temporary fix, here is the output from restarting the init script:

    Stopping NFS kernel daemon: mountd nfsd.
    Unexporting directories for NFS kernel daemon....
    Exporting directories for NFS kernel daemon....
    Starting NFS kernel daemon: nfsd mountd.


HTH,
Dave W.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.2-0git+k10temp+f71889fg+r600fix.091222.desktop.kms (SMP 
w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-kernel-server depends on:
ii  libblkid1              2.16.2-0          block device id library
ii  libc6                  2.10.2-5          Embedded GNU C Library: Shared lib
ii  libcomerr2             1.41.9-1          common error description library
ii  libgssapi-krb5-2       1.8+dfsg~alpha1-2 MIT Kerberos runtime libraries - k
ii  libgssglue1            0.1-4             mechanism-switch gssapi library
ii  libk5crypto3           1.8+dfsg~alpha1-2 MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.8+dfsg~alpha1-2 MIT Kerberos runtime libraries
ii  libnfsidmap2           0.23-2            An nfs idmapping library
ii  librpcsecgss3          0.19-2            allows secure rpc communication us
ii  libwrap0               7.6.q-18          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  nfs-common             1:1.2.1-2         NFS support files common to client
ii  ucf                    3.0025            Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to