This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bugs in nfs-server package. Att: package maintainers.


Hi,

I'm writing to report two bugs in the nfs-server package.  By my reading
of the Cygwin docs, posting to this list is the correct procedure, so forgive
me if that's not the case.  I have checked the mailing list archives and only
seen an obtuse reference to problem (1) and a brief mention of problem (2)
as something that fixes itself.  In my experience, and by examination of the
current version of the script, I would say that is unlikely.

The problems:
(1)	The sunrpc package should be listed as a dependency of nfs-server.
(2)	nfs-server-config incorrectly complains about my mount configuration.  
	A transcript of output follows.  The reason for the error is that the script
	is written as a Bourne shell script (/bin/sh) but the following line:
		if ! /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
	is Bash/Ksh syntax (the Bourne shell doesn't like "if !").  Switching over
	to Bash would fix that nicely.

Installing portmap as 'Cygwin portmap'
Installing mountd as 'Cygwin mountd'
Installing nfsd as 'Cygwin nfsd'

mount(1) command did not return SYSTEM mount(s).

It looks like you have installed Cygwin for a single user.
Cygwin mount points will not be available to programs installed
as Windows services. This will keep portmap, mountd, and nfsd
from running as Windows services.

In order for portmap, mountd and nfsd to function properly,
you should establish global mount points using the /bin/mount
utility. You can change user-specific Cygwin mount points to
global mount points using the following command:

    eval mount -f -s -b "C:/apps/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts";
mount -f -s -b "C:/apps/cygwin/bin" "/usr/bin";
mount -f -s -b "C:/apps/cygwin/lib" "/usr/lib";
mount -f -s -b "C:/apps/cygwin" "/";
mount -f -s -b "c:/home" "/home";
mount -s -b --change-cygdrive-prefix "/mnt";

You current mount -m  listing is:

mount -f -s -b "C:/apps/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/apps/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/apps/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/apps/cygwin" "/"
mount -f -s -b "c:/home" "/home"
mount -s -b --change-cygdrive-prefix "/mnt"

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]