From owner-freebsd-questions@freebsd.org Tue Dec 20 23:30:49 2016 Return-Path: Delivered-To: freebsd-questions@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 A3968C898CB for ; Tue, 20 Dec 2016 23:30:49 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 349031822; Tue, 20 Dec 2016 23:30:49 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id u144so37353416wmu.1; Tue, 20 Dec 2016 15:30:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4B6E4WwNq511QP9WsCN3kGJR856PAjIEzDLM7iaObVc=; b=INV8alxVrxw3XXZcABIH+0RLiKVbJRQdn3WDDsGeHQfGblbRbnPL+AJmpZUBMnYxXB xZIMl4dU1ILyeCtkxHedr0RE6lcomklJpwn4urWZJKsKDiJnz18etsqH7HTsN73JAsXh 0I8us/zWElNjQ+LGt4Va4EMvRz6oCHACw9x0gbubfcK8eHklVovDKYbDlLGYz86E2Jct fyLRC3OldfosnHTEPljVSrDB06KPokm1DYvi6u1Fg/ELCIRr6Ca945NBidl8LW5wXCjn eJi1WAx/BKZM6PEnT+fgQvM3DttNsQqIKdjIu+sDgQZ6HOUMs0GFUe3bLhOFi0xpJRko 2hVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4B6E4WwNq511QP9WsCN3kGJR856PAjIEzDLM7iaObVc=; b=LTsnSDfaSKe+9F7a35IxSeMgfpkV/rp8U1QZvEL0ZYzrsurq11ktijOdsKbY5w20z+ wuzOp/KA0gsu9me9eT49zkKbaoe0PNeP8wFkUXIV2vhJZAaqJNTF6/HE3KnToo5Jqvu9 0kMgeC4DQiBM2grHKzrNY78Wh4eoAql2BGvriR5oQaO3l5AuC9lPPOi/Iz0+SGbOvwJz WkPj4QUxe53+qZIMRu18WMzzudCVrw1eaGSjigap5PIrBBWqrqPIleXlB34FAy/eYqtA D6ss88mjMlpm8V/MENiI2gkN+gt4G9SChCgbkKbLxVyqFY/LOX3yXSp4IMTJ5Pkc1hP1 lWQQ== X-Gm-Message-State: AIkVDXIDaVfUuuzySmQDmjjgCKnQ60TENKAcxIN6R+PWYS+47uVhGyuwN4XUtlcjDsRm6S3N7tP3WKHrByMpkw== X-Received: by 10.28.135.5 with SMTP id j5mr4186628wmd.3.1482276646863; Tue, 20 Dec 2016 15:30:46 -0800 (PST) MIME-Version: 1.0 References: <5ee1dcc7-643b-a7b1-7d1c-1017599bdfe5@citrin.ru> <5844BA83.8030601@gmail.com> In-Reply-To: From: Ben Woods Date: Tue, 20 Dec 2016 23:30:36 +0000 Message-ID: Subject: Re: blacklistd(8) - entries don't removed To: Anton Yuzhaninov , freebsd-questions@freebsd.org, "lidl@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 23:30:49 -0000 On Wed., 21 Dec. 2016 at 12:16 am, Anton Yuzhaninov wrote: > It turned out, that blacklistd expects string OK from > blacklistd-helper script. > > echo 'OK' > in script is workaround working for me. > > Some time ago this was committed to head: > https://svnweb.freebsd.org/changeset/base/306695 > > This behavior of blacklistd is unexpected and undocumented in man though. > > It was ported from NetBSD and in NetBSD 7.0.2 blacklistd has the > same problem - script should print 'OK' string. > > I don't like this, but it seems to be not a bug, but a bad designed > feature. > Nice find. Please do raise a bug report to request the man page is updated to explain this feature. Be sure to CC Kurt Lidl (lidl@freebsd.org) in the bug report, as he committed the change and may know enough to ok the man page update. Regards, Ben