From owner-freebsd-stable@freebsd.org Mon Aug 28 13:43:11 2017 Return-Path: Delivered-To: freebsd-stable@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 0CB17E0DC67 for ; Mon, 28 Aug 2017 13:43:11 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B364F77AB5 for ; Mon, 28 Aug 2017 13:43:10 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 3xgtJD1746z1D0 for ; Mon, 28 Aug 2017 15:43:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:organization:subject:subject:from:from :date:date:content-transfer-encoding:content-type:content-type :mime-version:received:received:received:received; s=jakla4; t= 1503927784; x=1506519785; bh=O0QMNnURZFOc6NU//C9LiMmcp2r84yZqfvf FDpit0AA=; b=DQWpUxCrhnEGv0Cr7RjGiwjCqu5C7vYS0FHq58v4VGTcv4AdOfn PakXb2DIIeATARdS5vbSAeMxK3XFlINFHJZgy+4Ix9Vr3gaS7XfZjd4cPWFLTJPE QE9naVLYQGnTv1vyjcImJBE3CrzOKr6Czmoac5k2Gj/tkoZnzA6KdZDo= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id B01I0A2e-lWu for ; Mon, 28 Aug 2017 15:43:04 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 3xgtJ852qnz1Cx for ; Mon, 28 Aug 2017 15:43:04 +0200 (CEST) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 3xgtJ84pCSzCQ for ; Mon, 28 Aug 2017 15:43:04 +0200 (CEST) Received: from neli.ijs.si (2001:1470:ff80:88:21c:c0ff:feb1:8c91) by nabiralnik.ijs.si with HTTP (HTTP/1.1 POST); Mon, 28 Aug 2017 15:43:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 28 Aug 2017 15:43:04 +0200 From: Mark Martinec To: freebsd-stable@freebsd.org Subject: syslogd include directive reads but disregards all but the last included .conf file Organization: Jozef Stefan Institute Message-ID: <6122450ad5f06579a0b740a94d694940@ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.2.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 13:43:11 -0000 Could somebody please check why the new 'include' 11.1 feature of syslogd does not work when given more than one file to include... Any chance of fixing this as a patch release to 11.1 ? > The 11.1 release brought a very desirable feature to syslogd: > > $ man syslog.conf : > A special include keyword can be used to include all files with names > ending in '.conf' and not beginning with a '.' contained in the > directory > following the keyword. > > but ... > > It turns out that of all the *.conf files found in the included > directory /etc/syslog.d, only entries found in the (alphabetically) > *last* file there are taken into account, all other entries in > remaining included files are just ignored. [...] Details at: Bug 221742 syslogd include directive reads but disregards all but the last included .conf file https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221742 Mark