From owner-freebsd-current@freebsd.org Mon Jan 8 04:07:15 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 7FA51E73ED2 for ; Mon, 8 Jan 2018 04:07:15 +0000 (UTC) (envelope-from mykel@mWare.ca) Received: from Vice.ServerNorth.net (vice.ServerNorth.net [209.44.123.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5B938F8 for ; Mon, 8 Jan 2018 04:07:15 +0000 (UTC) (envelope-from mykel@mWare.ca) Received: from mail.servernorth.net (localhost [127.0.0.1]) by Vice.ServerNorth.net (Postfix) with ESMTP id 7F20156860 for ; Sun, 7 Jan 2018 23:05:49 -0500 (EST) Received: from mykel@mWare.ca by mail.servernorth.net (Archiveopteryx 3.1.4) with esmtpsa id 1515384347-54584-54581/9/3; Sun, 7 Jan 2018 23:05:47 -0500 To: freebsd-current@freebsd.org From: mykel@mWare.ca Subject: Make periodic's output log to files if sendmail is disabled on install Message-Id: Date: Sun, 7 Jan 2018 23:05:44 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-CA X-Mailman-Approved-At: Mon, 08 Jan 2018 04:14:53 +0000 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 04:07:15 -0000 1) if sendmail is disabled during installation, have periodic's output=20 logged to files (per example in=20 https://www.freebsd.org/cgi/man.cgi?periodic(8) ) 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! [22:54.53]=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.17]=C2=A0 not sure how doable that is [22:57.20]=C2=A0 AllanJude:=20 https://www.freebsd.org/cgi/man.cgi?periodic(8) <-- see examples [22:57.55]=C2=A0 ohh [22:57.57]=C2=A0 ok then [22:58.04]=C2=A0 should be fairly easy to do then [23:00.02]=C2=A0 AllanJude: I'd argue logging periodic to files = should=20 become the default since I'm willing to bet 99% of fBSD machines' output=20 is ignored. [23:00.34]=C2=A0 Myke: that is a reasonable idea for freebsd = 12 [23:00.42]=C2=A0 :) [23:00.55]=C2=A0 want to email that to freebsd-current@freebs= d.org [23:00.57]=C2=A0 and then i'll do it ;)