Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2018 21:34:01 -0800
From:      "Chris H" <bsd-lists@BSDforge.com>
To:        <mykel@mWare.ca>
Cc:        <freebsd-current@freebsd.org>
Subject:   Re: Make periodic's output log to files if sendmail is disabled on install
Message-ID:  <cdefd35803d48d2aa21a2bbf9692d789@udns.ultimatedns.net>
In-Reply-To: <a5c844a7-feb3-f153-3c8e-f95fb69f05bb@mware.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Jan 2018 23:05:44 -0500 <mykel@mWare=2Eca> 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 <Myke> 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 <AllanJude> not sure how doable that is
> [22:57=2E20]=C2=A0 <Myke> AllanJude:=20
> https://www=2Efreebsd=2Eorg/cgi/man=2Ecgi?periodic(8) <-- see examples
> [22:57=2E55]=C2=A0 <AllanJude> ohh
> [22:57=2E57]=C2=A0 <AllanJude> ok then
> [22:58=2E04]=C2=A0 <AllanJude> should be fairly easy to do then
> [23:00=2E02]=C2=A0 <Myke> 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 <AllanJude> Myke: that is a reasonable idea for freebsd =
12
> [23:00=2E42]=C2=A0 <Myke> :)
> [23:00=2E55]=C2=A0 <AllanJude> want to email that to freebsd-current@freebs=
d=2Eorg
> [23:00=2E57]=C2=A0 <AllanJude> and then i'll do it ;)
>=20
--Chris





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cdefd35803d48d2aa21a2bbf9692d789>