summaryrefslogtreecommitdiff
path: root/contrib/cygwin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-05-09 23:48:17 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-05-09 23:48:17 +1000
commitfa2211d93d3ad66ec16e4d23a14e5730a105c559 (patch)
tree2876fb36491a69f22e64d3955fa0035a90f835ef /contrib/cygwin
parent4f10e25684fdbe00b9e563b510e03f9c2aa7a192 (diff)
downloadopenssh-git-fa2211d93d3ad66ec16e4d23a14e5730a105c559.tar.gz
- (dtucker) [contrib/cygwin/ssh-host-config] Add a test and warning for a
user-mode mounts in Cygwin installation. Patch from vinschen at redhat.com.
Diffstat (limited to 'contrib/cygwin')
-rw-r--r--contrib/cygwin/ssh-host-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index b41a2e49..fbfb5c19 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -583,6 +583,16 @@ then
chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
fi
fi
+ if ! ( mount | egrep -q 'on /(|usr/(bin|lib)) type system' )
+ then
+ echo
+ echo "Warning: It appears that you have user mode mounts (\"Just me\""
+ echo "chosen during install.) Any daemons installed as services will"
+ echo "fail to function unless system mounts are used. To change this,"
+ echo "re-run setup.exe and choose \"All users\"."
+ echo
+ echo "For more information, see http://cygwin.com/faq/faq0.html#TOC33"
+ fi
fi
fi