[PATCH] contrib/cygwin/ssh-host-config

Corinna Vinschen vinschen at redhat.com
Mon May 9 20:21:37 EST 2005


the below patch adds a test to the ssh-host-config script, which helps
the user by testing for one of the most annoying problems in a Cygwin
installation of OpenSSH and printing a message to help.  Please apply
the patch.


Index: contrib/cygwin/ssh-host-config
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-host-config,v
retrieving revision 1.16
diff -p -u -r1.16 ssh-host-config
--- contrib/cygwin/ssh-host-config	13 Mar 2005 10:20:18 -0000	1.16
+++ contrib/cygwin/ssh-host-config	9 May 2005 10:03:21 -0000
@@ -583,6 +583,16 @@ then
 	chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
+    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
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.

More information about the openssh-unix-dev mailing list