| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4D0B721F.3090407@cwilson.fastmail.fm> |
| Date: | Fri, 17 Dec 2010 09:22:23 -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: Errors in Exim, rebaseall, inetd. |
| References: | <1292583706 DOT 6437 DOT ezmlm AT cygwin DOT com> <4D0B4DA5 DOT 8060800 AT rosshemail DOT com> |
| In-Reply-To: | <4D0B4DA5.8060800@rosshemail.com> |
| 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 12/17/2010 6:46 AM, Ross Hemingway wrote:
> 4/ inetd.exe: This is not an error, but a big inconvenience. When
> this inetd is installed as a service (cygrunsrv -I), and then started as
> a service (net start inetd), it does not keep a Services.msc presence.
> Hence you cannot stop it (net stop inetd). The only way to stop it is
> with a force kill process on the inetd.exe.
Do you add "-D" to the arguments passed on to inetd by cygrunsrv? E.g.
cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a "-D" ...
^^^^^^^
Without -D, inetd will "daemonize" which means fork a new copy of
itself, and the old copy exits. Since cygrunsrv only knows about the old
copy...it exits too.
This is why the "iu-config" script is provided...to install inetd
"correctly" by taking care of these details.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |