Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 4 May 2005 11:06:55 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: CYGWIN sshd service could not be started
Message-ID: <20050504090655.GG31567@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <000601c54f44$479cdc80$6c01a8c0@dell5100> <427678F2.EA496694@dessent.net> <42768CA6.6485FF51@dessent.net> <20050503085400.GA25050@calimero.vinschen.de> <20050503090504.GC25050@calimero.vinschen.de> <Pine.GSO.4.61.0505031553390.1454@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.61.0505031553390.1454@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.2i

On May  3 15:57, Igor Pechtchanski wrote:
> You probably want to reverse the test, e.g.,
> 
> --- 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 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
> 
> In the future versions, we should also check for user mounts for the SYSTEM
> user -- unlikely, but very nasty and hard to detect.  I also wonder if the
> above test should go into configurations for all services, or perhaps even
> added to cygrunsrv in some form...

Well, you know the acronym for this... ;-)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.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/

