Package: nfs-kernel-server
Version: 1:1.2.0-4

Hello,
nfs-kernel-server startup script fails to start on my 2.6.32-rc3 with modular nfsd, saying that kernel does not support nfsd:

petr-dev3:/usr/src/git/linux-2.6/fs/nfsd# /etc/init.d/nfs-kernel-server start
Not starting NFS kernel daemon: no support in current kernel. ... (warning).

Apparently init method is no longer listed with its name in exported symbols, most probably due to symbols in __init section being dropped.

petr-dev3:/usr/src/git/linux-2.6/fs/nfsd# grep nfsd /proc/kallsyms | grep init
ffffffffa0382400 t svc_export_init      [nfsd]
ffffffffa0383d60 t expkey_init  [nfsd]
ffffffffa03aac38 b nfs4_init    [nfsd]
ffffffffa039d4d0 t ent_init     [nfsd]
ffffffffa039f1d0 t init_state   [nfsd]
ffffffffa03bb1f0 b rec_dir_init [nfsd]
ffffffffa039e610 t nfsd_idmap_init      [nfsd]
ffffffffa03871a0 t nfsd_stat_init       [nfsd]
ffffffffa0386080 t nfsd_reply_cache_init        [nfsd]
ffffffffa03991b0 t nfs4_state_init      [nfsd]
ffffffffa0384760 t nfsd_export_init     [nfsd]
ffffffffa037e520 t nfsd_racache_init    [nfsd]
ffffffffa0385950 t nfsd_lockd_init      [nfsd]
ffffffffa03a0560 t nfsd4_init_recdir    [nfsd]

Testing presence of /proc/fs/nfs/exports seems to work on that kernel - though I have no idea how far back (and into the future) that works...

# See if our running kernel supports the NFS kernel server
if [ ! -f /proc/fs/nfs/exports ]; then
    log_warning_msg "Not starting $DESC: no support in current kernel."
    exit 0
fi

                                        Thanks,
                                                Petr Vandrovec



--
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