From owner-freebsd-stable@freebsd.org Thu Jul 12 18:14:16 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 501F6102F26B for ; Thu, 12 Jul 2018 18:14:16 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 BF32376CBD for ; Thu, 12 Jul 2018 18:14:15 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id h20-v6so6938419wmb.4 for ; Thu, 12 Jul 2018 11:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=mn8zBsMZ1NOzOA8ALlEfld/uhaZBlGKgOxFAN5kAWiY=; b=jK6l0LPNvT1aDjq2OMNW21oDjWtLJO9TaZptCdH/0p09IggaRz7UfJJUKy/pEcSci3 oAZTRsS7l6e77CE3fhp8BcKe3xcIfG3XXiKGsBWmXxzU2hVipksLCVOH8+vLAhhAerBm ZDYnxGhEhQn8VlE9FJaJU9BZv8CY2LIaHNfpevyvHn3e4jkaLuxeQ/ai6PqCyHa29Tq4 IM5fAvoKCJQCSuAxv8pAF+L2DDFkbV9M/9jAw1uqROZMUfjldIfD17iiDLSJNsE9Nmej b8C9sTIPUSwGpIDq82EaCm0VXVMetP44Fp+wldV5K1vgNXr/r8DodvRJgEnaUGG/KJ01 e3HQ== 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:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=mn8zBsMZ1NOzOA8ALlEfld/uhaZBlGKgOxFAN5kAWiY=; b=T2Sy1/i4MKC2xRdyWH5nzioidOD8JbYPSSPPDuSN+1FJgjwGPD4R3MgDF77XS8cHy/ iivPtU4/eQ9Lm9vR97LrvC42z4eNSUMCItrJjlJ5e6ZyIm0aUZfRM584KCHpLbzqd0Uw dX4BDTYZ63CK4qUg/5L2sfLutSjjS9Ug5yGakHLme3xJus/6U2ulZi1OhSuHqW/ex15y mokwgVfxTDZNM3hyNw5Q9LZrIjakbJkIlvXrvkO3BLEDjQz5rrf94Dx/2dlal42xjM1Q tB/ZrTe3Evc5QN8Nhy/oUMXG/DxmlIqjPhaf+GD1CjcMOWavUeqWP4hJy4A8QMYiUhQq 7epw== X-Gm-Message-State: AOUpUlGxYejwaBwW1JurGXpxAk8HdE4+zYuznEbr9VMYCfuPTkZMfgX5 LekZ2kZrWd0WqJFlcD8VVUMN+Wzc X-Google-Smtp-Source: AAOMgpen76lCqin1HWgEXkYAa8x5U6/tnEDzehFehE32HjI50kfjHnwcIpJcnoHqmmNlDD3AO2npaA== X-Received: by 2002:a1c:1182:: with SMTP id 124-v6mr2002063wmr.75.1531419254192; Thu, 12 Jul 2018 11:14:14 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2a02:390:7e52::10]) by smtp.gmail.com with ESMTPSA id a15-v6sm15955510wrn.91.2018.07.12.11.14.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jul 2018 11:14:13 -0700 (PDT) Date: Thu, 12 Jul 2018 19:14:11 +0100 From: Matt Smith To: freebsd-stable@freebsd.org Subject: syslogd not logging with . in program name Message-ID: <20180712181411.GA41523@gmail.com> Mail-Followup-To: Matt Smith , freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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 18:14:16 -0000 Hi, 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. Thanks, -- Matt