]> andersk Git - openssh.git/commitdiff
- (dtucker) [contrib/cygwin/ssh-host-config] Add a test and warning for a
authordtucker <dtucker>
Mon, 9 May 2005 13:48:17 +0000 (13:48 +0000)
committerdtucker <dtucker>
Mon, 9 May 2005 13:48:17 +0000 (13:48 +0000)
   user-mode mounts in Cygwin installation.  Patch from vinschen at redhat.com.

ChangeLog
contrib/cygwin/ssh-host-config

index b47ebe85129525c235a8c388c41f877c82dafa0f..a30ca1ee8d0dfcd50c6e9f2fe3c99791475a040a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20050509
+ - (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.
+
 20050504
  - (djm) [ssh.c] some systems return EADDRINUSE on a bind to an already-used
    unix domain socket, so catch that too; from jakob@ ok dtucker@
index b41a2e49b65f47be3fc13328757780ab73222c5a..fbfb5c195a33d5b44c2bdb2711f6a6e328a0e7bc 100644 (file)
@@ -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
 
This page took 0.103382 seconds and 5 git commands to generate.