From 25882b6d971dc02f1c294847c8e6e6a04399167c Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 9 May 2005 13:48:17 +0000 Subject: [PATCH] - (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. --- ChangeLog | 4 ++++ contrib/cygwin/ssh-host-config | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index b47ebe85..a30ca1ee 100644 --- 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@ 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 -- 2.45.2