Package: nfs-common
Version: 1:1.0.10-1
Severity: important

Mounting kerberized nfs4 exports results in the error message:

Warning: rpc.idmapd appears not to be running.
         All uids will be mapped to the nobody uid.
Warning: rpc.gssd appears not to be running.

This comes from missing pid files /var/run/rpc.idmapd.pid and 
/var/run/rpc.gssd.pid, respectively, which are used for detecting 
whether idmapd and gssd are running.
The appended patch solves this issue.

Sincerely
Christian

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nfs-common depends on:
ii  adduser                      3.97        Add and remove users and groups
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libcomerr2                   1.39-1      common error description library
ii  libevent1                    1.1a-1      An asynchronous event notification
ii  libgssapi2                   0.10-3      A mechanism-switch gssapi library
ii  libkrb53                     1.4.4-1     MIT Kerberos runtime libraries
ii  libnfsidmap2                 0.17-3      An nfs idmapping library
ii  librpcsecgss3                0.14-2      allows secure rpc communication us
ii  lsb-base                     3.1-15      Linux Standard Base 3.1 init scrip
ii  portmap                      5-20        The RPC portmapper
ii  ucf                          2.0014      Update Configuration File: preserv

nfs-common recommends no packages.

-- no debconf information
21a22
> IDMAPD_PIDFILE=/var/run/rpc.idmapd.pid
22a24
> GSSD_PIDFILE=/var/run/rpc.gssd.pid
170c172,173
<                   start-stop-daemon --start --oknodo --quiet \
---
>                   start-stop-daemon --start --quiet \
>                             --make-pidfile --pidfile $IDMAPD_PIDFILE \
181,182c184,186
<                   start-stop-daemon --start --oknodo --quiet \
<                           --exec /usr/sbin/rpc.gssd -- $RPCGSSDOPTS
---
>                     start-stop-daemon --start --quiet \
>                             --make-pidfile --pidfile $GSSD_PIDFILE \
>                             --exec /usr/sbin/rpc.gssd -- $RPCGSSDOPTS
200a205
>             rm -f $GSSD_PIDFILE
210a216
>             rm -f $IDMAPD_PIDFILE

Reply via email to