Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26989 - [nfs-utils] rc.d scripts reference mountpoint command but it is not a dependnecy
Attached to Project:
Arch Linux
Opened by Christopher Peplin (peplin) - Friday, 18 November 2011, 03:46 GMT
Last edited by Eric Belanger (Snowman) - Friday, 18 November 2011, 20:02 GMT
Opened by Christopher Peplin (peplin) - Friday, 18 November 2011, 03:46 GMT
Last edited by Eric Belanger (Snowman) - Friday, 18 November 2011, 20:02 GMT
|
DetailsDescription:
The /etc/rc.d/nfs-common and /etc/rc.d/nfs-server scripts both try to use the mountpoint command provided by the util-linux package, but nfs-utils does not have a dependency on this package. Additional info: nfs-utils 1.2.5-1 The specific section in the nfs-common script looks like this: if grep -vw "$1" /proc/mounts &> /dev/null ; then if ! mountpoint -q "$2" ; then mount -t "$1" "$1" "$2" -o "$3" return fi fi Steps to reproduce: Install nfs-utils but not util-linux and try to start nfs-common with "/etc/rc.d/nfs-common start" - it will fail with "command not found: mountpoint" and although it actually does start up rpc.statd, it loses track of its PID and all hell breaks loose. Next install til-linux 2.20.1-1 and everything works fine. |
This task depends upon
util-linux was indeed installed a few days ago, but it seems that when I ran a pacman -Syu on 11/16 and this upgrade happened:
[2011-11-16 22:32] upgraded util-linux (2.19.1-3 -> 2.20.1-1)
the mountpoint binary was lost.
While I was investigating this NFS issue there indeed was no /bin/mountpoint on my system. When I reinstalled util-linux:
[2011-11-18 06:37] Running 'pacman -S util-linux'
[2011-11-18 06:37] upgraded util-linux (2.20.1-1 -> 2.20.1-1)
the mountpoint binary returned.
As far as nfs-utils is concerned I will request to close this issue. I have no idea how mountpoint was wiped from my system by doing an upgrade - I didn't touch the machine in between and only noticed when I needed to restart NFS and it failed.