This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ ATTN: xinetd mantainer ] Default xinetd init conf correction


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. 
I checked a src version from
http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/release/xinetd/xinetd-2.3.14-1-src.tar.bz2
today, and it includes a wrong path to source the functions in 
/etc/rc.d/init.d that affects managing the program through calls like
start/stop/reload/status/... e.g:

dawud@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=/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.

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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]