delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/26/22:42:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4CF07DFA.9060500@cwilson.fastmail.fm>
Date: Fri, 26 Nov 2010 22:41:46 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ ATTN: xinetd mantainer ] Default xinetd init conf correction
References: <20100405201041 DOT GA5152 AT ghost DOT local DOT lan> <loom DOT 20101112T185409-804 AT post DOT gmane DOT org> <4CDE1911 DOT 2030406 AT cwilson DOT fastmail DOT fm> <loom DOT 20101126T182735-731 AT post DOT gmane DOT org>
In-Reply-To: <loom.20101126T182735-731@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 11/26/2010 12:33 PM, Keshav prasad wrote:
>> For now, just edit /etc/rc.d/init.d/xinetd manually.
>>
> 
> can you tell me which line to edit and to what.
> 
> Because as per my umderstanding I need to change 
> 
> . /etc/init.d/functions  to    . /etc/rc.d/init.d/functions
> 
> But the no function file is present at that location either.

to use the sysvinit-style startup scripts (like
/etc/rc.d/init.d/xinetd), you need to install the 'initscripts;
pacakage.  You may ALSO need to install the sysvinit package, and
install the 'init' service it provides by running the init-config script
as Adminstrator.

These packages are not explicitly listed as requirements and installed
automatically, because they really aren't necessary for the Cygwin
xinetd.  You can install, control, and use xinetd all by itself, without
ever using the /etc/rc.d/init.d/xinetd script, simply by installing
xinetd itself as a standalone service (rather than relying on init to do
it for you).  Then, you use
  cygrunsrv -S xinetd
to start it, and
  cygrunsrv -E xinetd
to stop it.

--
Chuck

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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