statd does not start automatically when needed nor can be forced to start on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Lucid |
Triaged
|
Medium
|
Canonical Foundations Team | ||
Natty |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I have some user-mountable nfs entries in my /etc/fstab like this:
myserver:
for this to work, statd (from nfs-common) needs to be running, but it is not started at system startup
The scripts claim that it will be started
According to /etc/init/
When a user tries to mount a NFS share, statd will not be started:
user@ubuntu:~$ mount /mnt/images
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
user@ubuntu:~$
And setting NEED_STATD to yes in /etc/default/
I also tried a workaround: Putting "@reboot service start statd" into a system cronjob which also does NOT work...
However, starting it as root manually works, and nfs mounts are working afterwards
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: nfs-common 1:1.2.0-4ubuntu4
Uname: Linux 2.6.34rc3-
Architecture: i386
Date: Mon May 17 22:25:57 2010
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: nfs-utils
Related branches
- James Hunt (community): Needs Fixing
- Steve Langasek: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 116 lines (+58/-6)5 files modifieddebian/changelog (+11/-0)
debian/control (+1/-1)
debian/nfs-common.statd-mounting.upstart (+28/-0)
debian/nfs-common.statd.upstart (+17/-5)
debian/rules (+1/-0)
Changed in nfs-utils (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in nfs-utils (Ubuntu Natty): | |
status: | Triaged → New |
Changed in nfs-utils (Ubuntu Lucid): | |
status: | New → Triaged |
Changed in nfs-utils (Ubuntu Natty): | |
importance: | Medium → Undecided |
Changed in nfs-utils (Ubuntu Lucid): | |
importance: | Undecided → Medium |
Changed in nfs-utils (Ubuntu Natty): | |
assignee: | Canonical Foundations Team (canonical-foundations) → nobody |
Changed in nfs-utils (Ubuntu Lucid): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
assignee: | Canonical Foundations Team (canonical-foundations) → nobody |
milestone: | none → lucid-updates |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: regression-release |
Changed in nfs-utils (Ubuntu Natty): | |
status: | New → Triaged |
Thank you for taking the time to report this issue and help to improve Ubuntu.
Please post the /etc/fstab for this system.
Also, when you started statd manually, how did you do so?