delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/05/16:11:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Date: Mon, 5 Apr 2010 22:10:41 +0200
From: d DOT sastre DOT medina AT gmail DOT com
To: <cygwin AT cygwin DOT com>
Subject: [ ATTN: xinetd mantainer ] Default xinetd init conf correction
Message-ID: <20100405201041.GA5152@ghost.local.lan>
MIME-Version: 1.0
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
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

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

This is just a remainder, I sent this before to the list, but might
have gone unnoticed.
Please consider correcting the default xinetd config file.=20
I checked a src version from
http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/relea=
se/xinetd/xinetd-2.3.14-1-src.tar.bz2
today, and it includes a wrong path to source the functions in=20
/etc/rc.d/init.d that affects managing the program through calls like
start/stop/reload/status/... e.g:

dawud AT win7 ~
$ /etc/rc.d/init.d/xinetd status
/etc/rc.d/init.d/xinetd: line 22: /etc/init.d/functions: No such
file or directory
/etc/rc.d/init.d/xinetd: line 136: status: command not found

This simple patch solves it:

$ diff -u xinetd-2.3.14/contrib/xinetd.orig
xinetd-2.3.14/contrib/xinetd
--- xinetd-2.3.14/contrib/xinetd.orig   2010-04-05 21:33:00.000000000
+0200
+++ xinetd-2.3.14/contrib/xinetd        2010-04-05 21:33:17.000000000
+0200
@@ -18,7 +18,7 @@
 PATH=3D/sbin:/bin:/usr/bin:/usr/sbin

 # Source function library.
-. /etc/init.d/functions
+. /etc/rc.d/init.d/functions

 # Get config.
 test -f /etc/sysconfig/network && . /etc/sysconfig/network

Best regards.

--=20
Huella de clave =3D 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAku6Q8EACgkQ0Tqi4ZilyVMMWQCfa4+IxOggBesZ0qfdtq8Mbun+
ipgAn2s/XhozZz5t1+Hj3mpya2tLby3Y
=532p
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--

- Raw text -


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