Your message dated Mon, 29 Oct 2007 18:02:05 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#448251: fixed in nfs-utils 1:1.1.1-4 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.1.1-3 Severity: normal Tags: patch Hi, I got following error on system bootup after removed (not purged) the nfs-common package. Starting NFS common utilities: statdstart-stop-daemon: stat /sbin/rpc.statd: No such file or directory (No such file or directory) . To reproduce this problem: # aptitude install nfs-common # aptitude remove nfs-common and then, reboot the computer or execute '/etc/init.d/nfs-common start' will shows: Starting NFS common utilities: statdstart-stop-daemon: stat /sbin/rpc.statd: No such file or directory (No such file or directory) . I think the problem is that /etc/init.d/nfs-common does not check if /sbin/rpc.statd is available. Because of init.d script should not fail when package has been removed but configuration files remain, /etc/init.d/nfs-common should check /sbin/rpc.statd and exit if it is unavailable. You can fix this problem by adding test -x $PREFIX/sbin/rpc.statd || exit 0 or [ -x $PREFIX/sbin/rpc.statd ] || exit 0 to top of /etc/init.d/nfs-common script. I have made a patch to fix this problem. Note: In this patch, I moved PREFIX= to earlier and add a comment. I think it is in line with debian/nfs-kernel-server.init. --- nfs-utils-1.1.1/debian/nfs-common.init.orig 2007-10-27 22:26:15.000000000 +0900 +++ nfs-utils-1.1.1/debian/nfs-common.init 2007-10-27 22:27:33.000000000 +0900 @@ -14,10 +14,13 @@ # What is this? DESC="NFS common utilities" +PREFIX= + +# Exit if required binaries are missing. +[ -x $PREFIX/sbin/rpc.statd ] || exit 0 # Read config DEFAULTFILE=/etc/default/nfs-common -PREFIX= NEED_IDMAPD= NEED_GSSD= PIPEFS_MOUNTPOINT=/var/lib/nfs/rpc_pipefs Regards, Morita Sho -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-k7 (SMP w/1 CPU core) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nfs-common depends on: ii adduser 3.105 add and remove users and groups ii initscripts 2.86.ds1-38.1 Scripts for initializing and shutt ii libc6 2.6.1-6 GNU C Library: Shared libraries ii libcomerr2 1.40.2-1 common error description library ii libevent1 1.3d-1 An asynchronous event notification ii libgssglue1 0.1-1 mechanism-switch gssapi library ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries ii libnfsidmap2 0.20-0 An nfs idmapping library ii librpcsecgss3 0.17-1 allows secure rpc communication us ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip ii netbase 4.30 Basic TCP/IP networking system ii portmap 6.0-4 The RPC portmapper ii ucf 3.003 Update Configuration File: preserv nfs-common recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: nfs-utils Source-Version: 1:1.1.1-4 We believe that the bug you reported is fixed in the latest version of nfs-utils, which is due to be installed in the Debian FTP archive: nfs-common_1.1.1-4_i386.deb to pool/main/n/nfs-utils/nfs-common_1.1.1-4_i386.deb nfs-kernel-server_1.1.1-4_i386.deb to pool/main/n/nfs-utils/nfs-kernel-server_1.1.1-4_i386.deb nfs-utils_1.1.1-4.diff.gz to pool/main/n/nfs-utils/nfs-utils_1.1.1-4.diff.gz nfs-utils_1.1.1-4.dsc to pool/main/n/nfs-utils/nfs-utils_1.1.1-4.dsc A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Steinar H. Gunderson <[EMAIL PROTECTED]> (supplier of updated nfs-utils package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 29 Oct 2007 18:33:15 +0100 Source: nfs-utils Binary: nfs-kernel-server nfs-common Architecture: source i386 Version: 1:1.1.1-4 Distribution: unstable Urgency: low Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]> Changed-By: Steinar H. Gunderson <[EMAIL PROTECTED]> Description: nfs-common - NFS support files common to client and server nfs-kernel-server - support for NFS kernel server Closes: 443591 448234 448251 Changes: nfs-utils (1:1.1.1-4) unstable; urgency=low . * Remove broken hack introduced in 1.1.1-3. * Fix init script to work if the package has been removed but not purged; patch adapted from Morita Sho. (Closes: #448251) * Patch init script to allow not running rpc.statd or rpc.mountd (via settings in /etc/default/), since they are not needed for an NFSv4-only setup; patch adapted from David Härdeman. (Closes: #448234) * Clarify language in the exportfs man page; patch adapted from David Liontooth. (Closes: #443591) Files: 70925a117a572f7aabfe4c3c435678d2 860 net standard nfs-utils_1.1.1-4.dsc 3d1e023a8aa598951e7f94c2d7c9e827 31366 net standard nfs-utils_1.1.1-4.diff.gz ea53c06656a59edaa66c9700a3a2d10a 310088 net optional nfs-kernel-server_1.1.1-4_i386.deb 364516e46def94c400e4dbb1ef322f53 389068 net standard nfs-common_1.1.1-4_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHJh05XKRQ3lK3SH4RAmuKAKCYYAreG+9LTn01CxjE72+o7+7/ywCg0xlZ OsO4m8zvyIcovXEFrCOFXBE= =vj8i -----END PGP SIGNATURE-----
--- End Message ---

