From owner-freebsd-current@freebsd.org Mon Jan 8 05:33:51 2018 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 B336AE78778 for ; Mon, 8 Jan 2018 05:33:51 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EC226A1B0 for ; Mon, 8 Jan 2018 05:33:49 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id w085Xt04079777; Sun, 7 Jan 2018 21:34:01 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: UDNSMS MIME-Version: 1.0 Cc: In-Reply-To: From: "Chris H" Reply-To: bsd-lists@BSDforge.com To: Subject: Re: Make periodic's output log to files if sendmail is disabled on install Date: Sun, 07 Jan 2018 21:34:01 -0800 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 08 Jan 2018 05:33:51 -0000 On Sun, 7 Jan 2018 23:05:44 -0500 said > 1) if sendmail is disabled during installation, have periodic's output=20 > logged to files (per example in=20 > https://www=2Efreebsd=2Eorg/cgi/man=2Ecgi?periodic(8) ) >=20 > 2) make this the default anyway (logging to files), arguably the vast=20 > majority of systems' reporting is ignored :) > At least now it could be logrotated out! Hmm, if they are "arguably" already ignoring their system emails=2E Won't they then *also* "arguably" ignore their [system] log files? Why not just remove periodic etc/periodic(daily/weekly/monthly/security)? But maybe I've just misunderstood the attempt here=2E >=20 >=20 >=20 > [22:54=2E53]=C2=A0 AllanJude: will you make the installer smart that= if=20 > the user disables sendmail, that periodic's output will be sent to=20 > logfiles instead? > [22:55=2E17]=C2=A0 not sure how doable that is > [22:57=2E20]=C2=A0 AllanJude:=20 > https://www=2Efreebsd=2Eorg/cgi/man=2Ecgi?periodic(8) <-- see examples > [22:57=2E55]=C2=A0 ohh > [22:57=2E57]=C2=A0 ok then > [22:58=2E04]=C2=A0 should be fairly easy to do then > [23:00=2E02]=C2=A0 AllanJude: I'd argue logging periodic to files sh= ould=20 > become the default since I'm willing to bet 99% of fBSD machines' output= =20 > is ignored=2E > [23:00=2E34]=C2=A0 Myke: that is a reasonable idea for freebsd = 12 > [23:00=2E42]=C2=A0 :) > [23:00=2E55]=C2=A0 want to email that to freebsd-current@freebs= d=2Eorg > [23:00=2E57]=C2=A0 and then i'll do it ;) >=20 --Chris