From owner-freebsd-current@freebsd.org Tue Dec 20 15:12:54 2016 Return-Path: Delivered-To: freebsd-current@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 C9E6BC8918F for ; Tue, 20 Dec 2016 15:12:54 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 99E4C136D; Tue, 20 Dec 2016 15:12:54 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject; s=201508; t= 1482246772; bh=5rwmszoHJymcKqtJ9R5wJ/x49CTXpFW4r3Sr7GOlTVs=; b=O 2qq/HstDRmlz+zeTXT9H76Nd21CE5S0J3ua80hVHRMyd6pRKtNkZXSSghNKd086t 9RsTV56ITphj+awhp2vK/6V4R7snGB24rBQIRR/BTmwugO3dhu56y6Ad2mJZxXeT IztOrjA7OD4GEQgLfMmRnjIWcDvrXig4Gyx/15m6DY= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 406AD11E3F; Tue, 20 Dec 2016 10:12:52 -0500 (EST) Subject: Re: syslogd no longer listens (or sends) on a network socket To: Hiroki Sato References: <20161220.021234.885117715060624657.hrs@allbsd.org> <20161220.124246.1063562270206163854.hrs@allbsd.org> Cc: freebsd-current@freebsd.org From: Michael Butler Message-ID: <47083256-c0dd-56db-64c9-33ac43788487@protected-networks.net> Date: Tue, 20 Dec 2016 10:12:51 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161220.124246.1063562270206163854.hrs@allbsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 15:12:54 -0000 On 12/19/16 22:42, Hiroki Sato wrote: > Michael Butler wrote > in : > > im> On 12/19/16 12:12, Hiroki Sato wrote: > im> > Michael Butler wrote > im> > in : > im> > > im> > im> It appears that SVN r309925 and onward no longer opens a network > im> > im> socket unless the command-line explicitly contains "-b :syslog" > im> > :-( > im> > im> > im> > im> This also stops one syslog daemon forwarding to another (which is > im> > why > im> > im> I noticed). > im> > im> > im> > im> Was this an intentional behaviour change? > im> > > im> > Sorry, it was broken due to another mismerge at r309933. I fixed it > im> > at r310278. Can you try the latest one and let me know if the > im> > problem still persists or not? > im> > im> No, it does not. "netstat -an -finet | grep 514" shows that it doesn't > im> listen on a UDP socket without adding "-b :syslog" to syslogd_flags in > im> /etc/rc.conf, > > Thank you for the report. I misunderstood what was wrong and fixed > it just now. Please try r310310. That works - thanks! :-) Michael