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


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
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.orig   2010-04-05 21:33:00.000000000
+++ xinetd-2.3.14/contrib/xinetd        2010-04-05 21:33:17.000000000
@@ -18,7 +18,7 @@

 # 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]