This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wishlist additions for setup.exe


At 11:40 PM 4/19/2004, you wrote:
>From: "Larry Hall" <cygwin-lh@cygwin.com>


<http://cygwin.com/acronyms/#PCYMTNQREAIYR>


>Subject: Re: Wishlist additions for setup.exe
>
>
>> "All Users" creates all the necessary default mount points for all users.
>> "Just Me" creates them just for the user that installs Cygwin.  Without
>> the mount points for all users ('mount -s'), services generally won't
>start
>> because they don't have access to those necessary mounts.  This doesn't
>> directly affect the permissions on particular directories though.
>
>Services won't start, precisely the point.  The requested change here is
>that when "Just Me" is selected that a warning would be displayed indicating
>this fact.


Agreed.  I suppose this falls into the category of PTC.


>> >Being on 'XP Home' I still can't get sshd to run as a service, but at
>least
>> >crond will and I can use it to make sure that sshd is running.  I think I
>> >know a fix for that too, though, just haven't yet had the chance or
>pressing
>> >desire to test it, especially now that I can run it through crond.
>>
>>
>> Sounds like a sshd configuration problem.
>
>Search the net...  It's not a configuration problem, or if it is, it's
>affected many many users without any apparent resolution available.  Have a
>glance at the results returned by Google for these search texts:
>
>"win32 error 1062"
>cygwin "Could not load host key"
>
>You'll see, as I have, that it's all but assuredly not a configuration
>issue.  The likely issue here is one with rights (Not owned by 'SYSTEM' and
>dir attributes).  The two directories that this is entails are /var/log and
>/var/empty.  As I said prior, I believe I know of a way of resolving the
>issue, but it entails rebooting to safe mode and other details which isn't
>important to someone that's gotten a fair kludge working.


I should have been more clear with my comment.  Services won't start without
system mounts.  You won't get those by default without installing as "All
Users".  So, if one installs as "Just for Me" and attempts to start services
(sshd, crond, etc), they will fail to start until the default mount points
(/, /usr/bin, /usr/lib) are remounted as "system" (see 'man mount').  As to 
the messages you refer to with the search strings above, the first few in 
every group are configuration problems AFAICS, though most don't have nearly
enough information to understand how the configuration got to the state it 
did.  Installing as "Just for Me" is a good start down the wrong road 
however. ;-)


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]