From owner-svn-src-all@freebsd.org Fri Apr 14 19:46:45 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85B0CD3E45F; Fri, 14 Apr 2017 19:46:45 +0000 (UTC) (envelope-from peter@wemm.org) Received: from smtp2.wemm.org (smtp2.wemm.org [192.203.228.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 677CC167; Fri, 14 Apr 2017 19:46:45 +0000 (UTC) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id 87F6330B; Fri, 14 Apr 2017 12:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1492199204; bh=m6agFC2SgIbVxFOItBosMjIOBCmP/5eC2Z7fDXiUXkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jMht7rxDaLoK1Xa56IfEXntQ8+VNpL4hpq+fmgi/Mh5ngmXXtK+S8yydwsW5Ynlcd kdpfUQiNlsc+lOI6SGxuo9LfjERu+TsJQPi8yw3OpMCD9OVD3BB1LqvexW7wYSc3Vq WLZf+lW3+Efn3FQ5F+cxQnQKciOSqxe36ThGQ3Bc= From: Peter Wemm To: Maxim Sobolev Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Hiren Panchasara Subject: Re: svn commit: r316874 - head/sys/kern Date: Fri, 14 Apr 2017 12:46:39 -0700 Message-ID: <6942092.OsECkgAp13@overcee.wemm.org> User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT; KDE/4.14.10; amd64; ; ) In-Reply-To: References: <201704141723.v3EHNS3B043902@repo.freebsd.org> <12133324.zHp9vo75vZ@overcee.wemm.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1639610.4lUEG6eNod"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 19:46:45 -0000 --nextPart1639610.4lUEG6eNod Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Friday, April 14, 2017 12:41:52 PM Maxim Sobolev wrote: > Thanks, Peter. I will try to look into this asap. I don't understand what is going on yet. Presumably there must be other= =20 changes in play that affect udp/select sometime between the original 20= 15=20 change and this. The syslogd -s code is Old(TM). I'm also wondering wh= ether=20 the -s code even works at all since the 2015 / r285910 change... > -Max >=20 > On Apr 14, 2017 12:32 PM, "Peter Wemm" wrote: > > On Friday, April 14, 2017 11:49:26 AM Peter Wemm wrote: > > > On Friday, April 14, 2017 05:23:28 PM Maxim Sobolev wrote: > > > > Author: sobomax > > > > Date: Fri Apr 14 17:23:28 2017 > > > > New Revision: 316874 > > > > URL: https://svnweb.freebsd.org/changeset/base/316874 > > > >=20 > > > > Log: > > > > Restore ability to shutdown DGRAM sockets, still forcing ENOT= CONN to > >=20 > > be > >=20 > > > > returned by the shutdown(2) system call. This ability has been = lost as > > > > part > > > > of the svn revision 285910. > > > >=20 > > > > Reviewed by: ed, rwatson, glebius, hiren > > > > MFC after: 2 weeks > > > > Differential Revision: https://reviews.freebsd.org/D10351 > > >=20 > > > This appears to have broken syslogd and had a major change in beh= avior > >=20 > > with > >=20 > > > regards to select(2). > > >=20 > > > If you run syslogd with the -s flag (which is default), it now sp= ins at > >=20 > > 100% > >=20 > > > cpu as all the shutdown sockets now return readable from select. > > >=20 > > > Old releases / jails also manifest this behavor. If it wasn't fo= r > > > losing > > > the ability to run old branch binaries I'd suggest changing syslo= gd > > > instead, but we depend on this in the cluster and I expect others= do > > > too. > > >=20 > > > I'm not 100% certain that this change is the culprit but a heads-= up > > > can't > > > hurt. I'll try reverting it on the freebsd cluster next, after fi= xing > > > the > > > broken auditing changes. > > >=20 > > > -Peter > >=20 > > I can confirm that reverting r316874 fixes syslogd and backwards > > compatability > > with old branches. > >=20 > > -- > > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com= ; > > KI6FJV > > UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 =2D-=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI= 6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 --nextPart1639610.4lUEG6eNod Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEBgrA0Vr/vfNVuPoUNdaXCeyAngQFAljxJyAACgkQNdaXCeyA ngRplwf/Z34dHsDsqm0Tpqsh9RMxDQNv4ezIMqoId2egNpmIrcXPm4JTBq8/pbTA J+Mi/zotWeDtfmcqtALCr0gQcNBL1ff3kxjWcMngcv7OtSK4JHyvdFUZhuTJIZrg iWklMg7HYinB8RdxLgctMmOMi0/ekn7QbhHoOqbtEGeLmJCTlvF0kmBbq7kqx+Sz 8cluLIS7KQTsr2ffsnfGpLI4Dcy0ycFeFfJ+t2uYdZWMCY1ocLHGKHTd1yXLAErW /p7KjZSXppK4a7ujh5tfvdrT7YPsY0A4wuRT4McPh/ZAIOLwMWXnlsUUUBKB2hZL YqFbimvrSpd4dXoeGNFZ6YtQAJIzog== =oxwE -----END PGP SIGNATURE----- --nextPart1639610.4lUEG6eNod--