Bug 145004 - OpenSuSE 10.1 Beta 1:Can not start nfsserver due to kernel issue
Summary: OpenSuSE 10.1 Beta 1:Can not start nfsserver due to kernel issue
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ruediger Oertel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 22:26 UTC by S3WL S#WL
Modified: 2006-01-27 14:24 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S3WL S#WL 2006-01-23 22:26:40 UTC
On attempting to start nfsserver I receive the error message:

To start services nsfserver and enable it in rul level 3, 5 these services must be additionally started and enable because it depends on them: acpid 

/etc/init.d/acpid start
acpid: no support in kernel skipped

Then I get this message:

/etc/init.d/nfsserver start returned 1 (unspecified error):
Starting kernel based NFS servermount: nfsd already mounted or /proc/fs/nfsd busy
mount: according to mtab, nfsd is already mounted on /proc/fs/nfsd
..failed

or this message:

/etc/init.d/haldaemon start returned 0 (success):
HAL already started. Not starting.
/etc/init.d/syslog start returned 0 (success):
Re-Starting syslog services..done
/etc/init.d/portmap start returned 0 (success):
Starting RPC portmap daemon..done
/etc/init.d/nfsserver start returned 1 (unspecified error):
Starting kernel based NFS servermount: nfsd already mounted or /proc/fs/nfsd busy
mount: according to mtab, nfsd is already mounted on /proc/fs/nfsd
..failed
Comment 1 Olaf Kirch 2006-01-24 10:17:06 UTC
This is not a kernel issue. Something is mounting the nfsd pseudo
file system. Is the NFS server running at this point?

Neil, I'm assigning this to you; can you please take a look at this? Thanks!
Comment 2 Neil Brown 2006-01-27 03:30:09 UTC
The 'nfsserver' script should fail if the nfsd filesystem is already mounted.
It should do something like:

if [ ! -f /proc/fs/nfsd/exports ]; then
  mount -t nfsd nfsd /proc/fs/nfsd
  rc_status
fi
as having the filesystem already mounted isn't an error.
So I'm going to reassign this to Ruediger.

How 'acpi' comes into the picture I have no idea... do you Rudi?
Comment 3 Ruediger Oertel 2006-01-27 14:24:38 UTC
no, actually it should gracefully handle the condition that the nfsdfs is
mounted. code is already changed. (probably udev is mounting nfsdfs after
loading the module ...)

(I had another bug requiring "rcnfsserver start" to succeed if already running, apparently LSB states that starting a running service should
always succeed).