delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/25/14:45:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 25 Nov 2008 14:44:10 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running Linux Application on Windows
Message-ID: <20081125194410.GA6865@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20677518 DOT post AT talk DOT nabble DOT com> <492BE083 DOT 6060406 AT etr-usa DOT com> <20081125162207 DOT GA6541 AT ednor DOT casa DOT cgf DOT cx> <17393e3e0811251027u58a38a98yb9b884a49f2a0de1 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <17393e3e0811251027u58a38a98yb9b884a49f2a0de1@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Nov 25, 2008 at 01:27:24PM -0500, Matt Wozniski wrote:
>On Tue, Nov 25, 2008 at 11:22 AM, Christopher Faylor wrote:
>> On Tue, Nov 25, 2008 at 04:24:51AM -0700, Warren Young wrote:
>>> Emil Tan wrote:
>>>> Is the documentation kinda wrong?
>>>
>>> Yes, but that's something you'll have to take up with the people who
>>> maintain that file, presumably on the Samhain mailing list.  Whoever wrote
>>> it doesn't realize that /usr, /home, etc aren't created in c:\, they're
>>> mount(1) aliases for directories that actually live in c:\cygwin, by
>>> default.
>>
>> Right.  Just to be clear if that is what the documentation tells you to
>> do it is frighteningly wrong.
>
>It doesn't seem that that is what the documentation tells you to do:
>
>$ ./configure --enable-xml-log=yes --with-tmp-dir=/usr/local/tmp
>--with-config-file=/usr/local/etc/samhainrc
>--with-log-file=/usr/local/log/samhain.log
>--with-pid-file=/usr/local/var/samhain.pid
>--with-state-dir=/usr/local/var
>
>That seems sane to me; I think the OP's explanation/understanding was
>just wrong....
>
>OTOH, that page also has instructions for a "Cygwin minimal
>installation procedure to run samhain" that feature instructions to
>copy cygwin1.dll and cygminires.dll to the windows\system32 directory,
>and that definitely *is* bad advice.

I keep meaning to add code to cygwin to cause it to abort when run
from windows/system32...

cgf

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

- Raw text -


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