This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbie: cygrunsrv using strange PATH variable
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: Alder <PGDEHMKOKIMD at spammotel dot com>, cygwin at cygwin dot com
- Date: Fri, 27 Aug 2004 12:30:45 -0400
- Subject: Re: Newbie: cygrunsrv using strange PATH variable
- References: <cgmmho$7b6$1@sea.gmane.org>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
At 03:06 AM 8/27/2004, you wrote:
>After removing a previous Cygwin installation from my system and reinstalling from the harddrive using Setup, running cygrunsrv from any account (administrator or user) produces a Windows dialog reporting that the DLL cannot be found in the path:
>
> D:\cygwin\usr\sbin;.;<Windows system folders>;.
>
>I'm pretty sure I have my bash startup files in the same state as in my previous installation, but here are the relevant bits from these files to show how the PATH variable is created:
>
>[/etc/profile]
>PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH:."
>
>[~/.bash_profile]
>PATH="~/bin:${PATH}"
>
>[~/.bashrc]
><empty>
>
>If I echo the PATH variable when I first log in with rxvt, it shows:
>
>$ echo $PATH
>/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/d/Program Files/Common Files/GTK/2.0/bin:.
>
>My question is, then, where is cygrunsrv pulling its PATH information from and how do I get it to recognize the environment of the shell its run in?
>
>Many thanks,
>
Please visit:
>Problem reports: http://cygwin.com/problems.html
and follow the recommendations for providing bug reports to this list.
Specifically, we need to know the results of 'cygcheck -srv' (*attached*,
not inlined), the exact context in which this happens, and the input and
output.
--
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/