- (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.
This commit is contained in:
Darren Tucker 2005-05-09 23:48:17 +10:00
parent 4f10e25684
commit fa2211d93d
2 changed files with 15 additions and 1 deletions

View File

@ -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@
@ -2474,4 +2478,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3753 2005/05/04 05:33:09 djm Exp $
$Id: ChangeLog,v 1.3754 2005/05/09 13:48:17 dtucker Exp $

View 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