delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/30/05:59:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BDE87D3.FD9185DA@cern.ch>
Date: Tue, 30 Oct 2001 11:58:27 +0100
From: "Lassi A. Tuura" <lassi DOT tuura AT cern DOT ch>
Organization: Northeastern University, Boston, USA
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: How to debug inetd/sshd services?
References: <3BCEAD9C DOT B2A273B1 AT cern DOT ch>
<3BCF1A01 DOT 34CB395F AT cportcorp DOT com>
<3BD847F3 DOT 106B0C9E AT cern DOT ch>
<3BD84970 DOT 8080502 AT cportcorp DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20011025154741 DOT 0258a2d8 AT pop DOT ma DOT ultranet DOT com>

I wrote:
> Maybe if I try a simple question first: why would cygwin not set
> cygdrive prefix according to the value under the HKLM tree?  I deleted
> the mounts registry entry in HKCU section, so HKLM should now be the
> only setting that could possibly have an effect.  Under what
> circumstances this would be expected?

Pondering about this finally lead me to find the problem: I had
/cygdrive prefix defined under HKU\.DEFAULT\Software. This caused the
system account to get that cygdrive prefix instead of the HKLM value of
`/'.  I am not sure how I managed to create the registry entries under
the .DEFAULT user, but now they are gone and everything works as
expected.  (I am also not sure how I managed to miss them when searching
through the registry the last time, but never mind; it's not the first
driver error...)

A note to the cygwin developers: if the default /cygdrive prefix is
indeed set by setup (= not a driver error here), it would be good
document the conflict in inetutils and sshd documentation.  I assume you
do want the default user settings -- though with sshd/inetd only the
HKLM values matter only anyway, so maybe you don't :-)

(The conflict being that if setup does set the .DEFAULT user cygdrive,
this will cause the inetd and sshd services to ignore the system (HKLM)
cygdrive prefix setting.  Another remedy would be to set the prefix
separately for the system user.)

//lat
-- 
Facts do not cease to exist because they are ignored.
	--Aldous Huxley

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019