Subject: inetd.c log change objections
To: None <tech-userlevel@netbsd.org>
From: Steve Rumble <rumble@ephemeral.org>
List: tech-userlevel
Date: 09/13/2004 11:18:30
--PNTmBPCT7hxwcZjr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Guys,
	Would anybody object to the following change? The present
log message seems to me ambiguous if not erroneous. I'm just
hesitant to change something that has been around for so long.=20

Steve

Index: inetd.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/usr.sbin/inetd/inetd.c,v
retrieving revision 1.95
diff -u -r1.95 inetd.c
--- inetd.c	25 Jan 2004 10:00:17 -0000	1.95
+++ inetd.c	13 Sep 2004 00:13:34 -0000
@@ -595,8 +595,9 @@
 				sep->se_count =3D 1;
 			} else {
 				syslog(LOG_ERR,
-			"%s/%s server failing (looping), service terminated\n",
-				    sep->se_service, sep->se_proto);
+"%s/%s max spawn rate (%d in %d seconds) exceeded; service not started\n",
+				    sep->se_service, sep->se_proto,
+				    sep->se_max, CNT_INTVL);
 				if (!sep->se_wait && sep->se_socktype =3D=3D
 				    SOCK_STREAM)
 					close(ctrl);

--PNTmBPCT7hxwcZjr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUBQUW6RsuCaQyb9VOkAQJlRAf+J3tISs18wYfcxg73f8Hio5TY/84Hoz2f
fVDuhvIeWvJuTyq7O+tW+fw0U1NNCzmhIIKMwxtCV8g3Ewoa5IxnNmSnDe3Qd+/3
leAYSHIQsR/LuBuJv5qfO8q5vXlSGmKx8Stda5zGwI9RiLSs4cKelJdZ/wQPkmhj
HJvV1BrviZ5mfGDPeN0AfJP9oBMdBnqcYR6fBJpJWBaF4S0vePr56a5Vtbb5vNhN
FmP50Z7EzSzQALAHklyVQxAOW+qi+cWAlGsZZUNP66peajGk4x3mrJKyKNzaC1CO
tHBkZcxUdJF/aewa2eUSGBa5ZR6MQyvbuqBhUH0iWCRep4l2vFAJdA==
=sMwb
-----END PGP SIGNATURE-----

--PNTmBPCT7hxwcZjr--