From owner-freebsd-stable@freebsd.org Thu Jul 12 19:22:58 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E54EA103A0E7 for ; Thu, 12 Jul 2018 19:22:57 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C8807B182 for ; Thu, 12 Jul 2018 19:22:57 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id a3-v6so13572174wrt.2 for ; Thu, 12 Jul 2018 12:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QaJq3yDaDt3MPNdiEmAxu09HTCp/9L1oOB8HYGfLWPQ=; b=GS1c2/0aa+BdZlx5uiUEQyCd3RVdDTBOo4IfOw+PExTkP2+Ui0wBHnPWmvmQJ++l9E C+tA8XXeyy07lw71XwF3Kjw3I189GC8RMVQp+3cWh5vzXs99TA2uoA5MWpl3D0qdJhVp ELrKU4lRG5aZdoGO5yUbReEDCrr1hrFAPkzlzv17H3/GkpYwVmHtH5DBCj2i7/VHqbzK mJUb6JBa44igY6Xu7DBhbMg+wMLeBug+IDt42ZdUPLZ99nOFNHw4cziH3nRbg9Q9BN2l FnyByYVOteY6W3Q8RqaICq+EOpYaAVINPUF9UrLlreFCAefhSCz7w5hL8gvnTJpTt4A5 bkzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=QaJq3yDaDt3MPNdiEmAxu09HTCp/9L1oOB8HYGfLWPQ=; b=Lbk8yBawIE8QqX7TEXO33gijk8Yai5xv/bvWLqC/LDhMUFzGfZCeY23wtc40VFhHY7 JA21bR9FdJTVca8AQTAsqCfb/x+J6KJ0McYbdc+agQB+YrmO+Utn/+phbfacRzSU3FxA sK7J3KgfEfJpV8uQZrUz9BiJD192iF2AFmbiAaEGrSoOK3XNf4amqQTsi4xIb3TczlIz xyTnrAlp5vH9BbN3pkVCuCGiCqIounw/gJgodx+IRN2y1pGIEeMrC7VrdyjUVsas9pLq /QbRYBIl0l7UWmxvzhx1VQj7atk3YWCT9UGZVlviyB4W/qQNVymKzUm3r6o8ekXFYk2o GUfw== X-Gm-Message-State: AOUpUlHyoV5Y4PIRZmrzF11+NGv0BJQ0IdAcs6SGnzNwLpZ9dgqJF8ry uUp/R99IPx630OT4x4S1KrmRifvo X-Google-Smtp-Source: AAOMgpd9Ej9k2Dfk1RL6S+k64YAWfzfVUzQJxUSCLoocHM6kcTbpk+26H8swuBSsX6aeKNkm3XG5MA== X-Received: by 2002:adf:f9c9:: with SMTP id w9-v6mr2656338wrr.105.1531423376304; Thu, 12 Jul 2018 12:22:56 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2a02:390:7e52::10]) by smtp.gmail.com with ESMTPSA id n16-v6sm32840114wrg.58.2018.07.12.12.22.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jul 2018 12:22:55 -0700 (PDT) Date: Thu, 12 Jul 2018 20:22:54 +0100 From: Matt Smith To: Eugene Grosbein Cc: freebsd-stable@freebsd.org Subject: Re: syslogd not logging with . in program name Message-ID: <20180712192254.GB41523@gmail.com> Mail-Followup-To: Matt Smith , Eugene Grosbein , freebsd-stable@freebsd.org References: <20180712181411.GA41523@gmail.com> <5B47A7E0.1060308@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <5B47A7E0.1060308@grosbein.net> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 19:22:58 -0000 On Jul 13 02:11, Eugene Grosbein wrote: >13.07.2018 1:14, Matt Smith wrote: > >> I run acme.sh with it configured to log to syslog. I use this syslog.conf structure to log to a specific log file: >> >> !-acme.sh >> ... other syslog.conf entries ... >> !acme.sh >> *.* /var/log/acme.log >> !* >> >> This has worked for ages, but I've just noticed it's no longer working at all. It appears that syslogd is now not happy with a . character in a program name. I see that there have been a lot of commits to syslogd during June and July which may have changed the behavior? >> >> If I run logger -p user.err -t acme.sh test message then nothing is logged. If I run logger -p user.err -t acme test message (removing the .sh), with the same change in syslog.conf, then everything is logged as normal. >> >> Obviously . is used to separate facility and priority. Is it now being parsed wrongly in the case of a program name? I've tried things like putting it in quotes or escaping it with \ and it doesn't make any difference. > >You have not specified which version/revision you run. Whoops. My bad! It's 11.2-STABLE r336013. I'm not sure when this stopped working as I've only just noticed today but I usually do a buildworld every week. I took a look at svn log /usr/src/usr.sbin/syslogd though and can see there are quite a few updates in the last couple of months. -- Matt