Your message dated Thu, 7 Sep 2006 21:50:34 +0200
with message-id <[EMAIL PROTECTED]>
and subject line /etc/init.d/nfs-common fails to execute if /usr is mounted via
nfs
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: nfs-common
Version: 1:1.0.10-1
Severity: normal
If /usr is mounted via nfs and /etc/exports is available, /etc/init.d/nfs-common
fails to execute. The reason is that nfs-common is called directly by
/etc/network/if-up.d/mountnfs now _before_ any nfs drive is mounted.
/etc/init.d/nfs-common contains the following lines:
if [ -f /etc/exports ]; then
AUTO_NEED_IDMAPD=yes
fi
...
[ -x /usr/sbin/rpc.idmapd ] || [ "$NEED_IDMAPD" = no ] || exit 0
Because nfs-mounted /usr is still not available when executing this
script, it fails.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
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
--- End Message ---
--- Begin Message ---
On Thu, Sep 07, 2006 at 08:01:30PM +0200, Frank Mehnert wrote:
> If /usr is mounted via nfs and /etc/exports is available,
> /etc/init.d/nfs-common
> fails to execute. The reason is that nfs-common is called directly by
> /etc/network/if-up.d/mountnfs now _before_ any nfs drive is mounted.
Having /usr on NFS is a kind of corner case we can't really reliable support
without some interference from a local administrator. Simply set
NEED_IDMAPD=no in /etc/default/nfs-common and your problem will be solved.
(Of course, then you can't have /usr on NFSv4, but then you're back to square
one anyhow.)
/* Steinar */
--
Homepage: http://www.sesse.net/
--- End Message ---