From fa2211d93d3ad66ec16e4d23a14e5730a105c559 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 9 May 2005 23:48:17 +1000 Subject: - (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. --- contrib/cygwin/ssh-host-config | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'contrib/cygwin') diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config index b41a2e49b..fbfb5c195 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 -- cgit v1.2.3