Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E52D8B1.7000805@ece.gatech.edu>
Date: Tue, 18 Feb 2003 20:06:57 -0500
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: error setting up ipc-daemon
References: <5.2.0.9.2.20030218080515.02ee9710@pop3.cris.com> <Pine.GSO.4.44.0302181257400.7773-100000@slinky.cs.nyu.edu>
In-Reply-To: <Pine.GSO.4.44.0302181257400.7773-100000@slinky.cs.nyu.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Igor Pechtchanski wrote:

> An excerpt from "cygrunsrv --help" below
> 
>   -e, --env <VAR=VALUE>     Optional environment strings which are added
>                             to the environment when service is started.
>                             You can add up to 255 environment strings using
>                             the `--env' option.
>                             Note: /bin is always added to $PATH to allow all
>                             started applications to find at least cygwin1.dll.
> 
> shows that you shouldn't really need to add c:\cygwin\bin to your system
> path (if one uses cygrunsrv, that is).  If that is not the case, then it's
> a bug in cygrunsrv (or an error in documentation).

That's all well and good -- but ipc-daemon doesn't use cygserver.  It 
has all the necessary hooks for ServiceManager itself.

I should probably rip out that stuff eventually, and rely on cygserver. 
  But since ipc-daemon will be replaced by the cygwin-daemon, someday, I 
really don't want to mess with it if it isn't broken.

As far as the actual difficulties here, I think it's probably an 
environment issue; ipc-deamon MUST have cygwin1.dll in its user context 
PATH.  See /usr/doc/Cygwin/cygipc/README.

--Chuck


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

