Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 3 May 2005 11:05:04 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: CYGWIN sshd service could not be started Message-ID: <20050503090504.GC25050@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000601c54f44$479cdc80$6c01a8c0 AT dell5100> <427678F2 DOT EA496694 AT dessent DOT net> <42768CA6 DOT 6485FF51 AT dessent DOT net> <20050503085400 DOT GA25050 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050503085400.GA25050@calimero.vinschen.de> User-Agent: Mutt/1.4.2i On May 3 10:54, Corinna Vinschen wrote: > On May 2 13:25, Brian Dessent wrote: > > Brian Dessent wrote: > > > > > (It would probably be a good addition for ssh-host-config to check for > > > user mounts and bail or offer to remount them... this seems to come up a > > > lot.) > > > > Here is a patch against ssh-host-config that checks for this. > > > > Brian > > --- ssh-host-config.orig 2005-05-02 13:09:13.984375000 -0700 > > +++ ssh-host-config 2005-05-02 13:23:50.640625000 -0700 > > @@ -583,6 +583,16 @@ > > chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log > > fi > > fi > > + if mount | egrep -q 'on /(|usr/(bin|lib)) type user' > > + 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 > > Good idea. I'll add this to the script for the next version. Well... not exactly. The problem is that if somebody has user *and* system mounts, the warning will be printed nevertheless. It's not quite that simple. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/