Re: periodic emails

2012-06-04 Thread John Baldwin
On Saturday, June 02, 2012 2:53:49 pm Bjoern A. Zeeb wrote: On 3. Jan 2012, at 15:36 , John Baldwin wrote: On Monday, January 02, 2012 4:29:18 pm Bjoern A. Zeeb wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we

Re: periodic emails

2012-06-02 Thread Bjoern A. Zeeb
On 3. Jan 2012, at 15:36 , John Baldwin wrote: On Monday, January 02, 2012 4:29:18 pm Bjoern A. Zeeb wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress the empty sections (to me that sounds a bit like a wrong

Re: periodic emails

2012-01-04 Thread Gleb Smirnoff
On Tue, Jan 03, 2012 at 10:36:50AM -0500, John Baldwin wrote: J why do we send all these empty headings for periodic emails or given there is J no output to this one can we J J 1) suppress the empty sections (to me that sounds a bit like a wrong J return code or something maybe?), and J

Re: periodic emails

2012-01-04 Thread Volodymyr Kostyrko
04.01.2012 13:57, Gleb Smirnoff wrote: Does security_show_success=YES suppress the security report entirely (no mail sent), if no security related issues found? Yes. PS: I also prefer setting *_show_badconfig to 'yes' in case something is just not working right. -- Sphinx of black quartz

Re: periodic emails

2012-01-04 Thread John Baldwin
On Wednesday, January 04, 2012 6:57:53 am Gleb Smirnoff wrote: On Tue, Jan 03, 2012 at 10:36:50AM -0500, John Baldwin wrote: J why do we send all these empty headings for periodic emails or given there is J no output to this one can we J J 1) suppress the empty sections (to me

Re: periodic emails

2012-01-03 Thread John Baldwin
On Monday, January 02, 2012 4:29:18 pm Bjoern A. Zeeb wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress the empty sections (to me that sounds a bit like a wrong return code or something maybe?), and 2) add

periodic emails

2012-01-02 Thread Bjoern A. Zeeb
Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress the empty sections (to me that sounds a bit like a wrong return code or something maybe?), and 2) add an option to suppress empty periodic emails entirely? Sample

Re: periodic emails

2012-01-02 Thread Holger Kipp
Hi, Am 02.01.2012 um 22:33 schrieb Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net: why do we send all these empty headings for periodic emails It contains the info what has been done, so you know that the jobs have been performed correctly. If it does not contain the section headings

Re: periodic emails

2012-01-02 Thread Garrett Cooper
On Mon, Jan 2, 2012 at 1:29 PM, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress the empty sections (to me that sounds a bit like a wrong   return code or something

Re: periodic emails

2012-01-02 Thread Garrett Cooper
On Mon, Jan 2, 2012 at 1:56 PM, Holger Kipp holger.k...@alogis.com wrote: Hi, Am 02.01.2012 um 22:33 schrieb Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net: why do we send all these empty headings for periodic emails It contains the info what has been done, so you know that the jobs have

Re: periodic emails

2012-01-02 Thread Doug Barton
On 01/02/2012 14:14, Garrett Cooper wrote: How does this look for starters? The attached patch's goal is to provide a generic, rc(5)-like infrastructure that would quiet down the periodic emails for 120.clean-preserve . The periodic scripts are badly in need of attention, so effort

Re: periodic emails

2012-01-02 Thread Garrett Cooper
On Mon, Jan 2, 2012 at 2:45 PM, Doug Barton do...@freebsd.org wrote: On 01/02/2012 14:14, Garrett Cooper wrote:     How does this look for starters? The attached patch's goal is to provide a generic, rc(5)-like infrastructure that would quiet down the periodic emails for 120.clean-preserve

Re: periodic emails

2012-01-02 Thread Doug Barton
the periodic emails for 120.clean-preserve . The periodic scripts are badly in need of attention, so effort in that area is much appreciated. Regarding your patch, rather than copying functions from rc.subr, why not just source it? Yes, you will get more than you need, but I think

Re: periodic emails

2012-01-02 Thread Bjoern A. Zeeb
, rc(5)-like infrastructure that would quiet down the periodic emails for 120.clean-preserve . The periodic scripts are badly in need of attention, so effort in that area is much appreciated. Regarding your patch, rather than copying functions from rc.subr, why not just source it? Yes, you

Re: periodic emails

2012-01-02 Thread Bjoern A. Zeeb
On 2. Jan 2012, at 21:56 , Holger Kipp wrote: Am 02.01.2012 um 22:33 schrieb Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net: why do we send all these empty headings for periodic emails It contains the info what has been done, so you know that the jobs have been performed correctly

Re: periodic emails

2012-01-02 Thread Doug Barton
On 01/02/2012 15:01, Bjoern A. Zeeb wrote: Looking at periodic(8) it says: Each script is required to exit with one of the following values: 0 The script has produced nothing notable in its output. The basedir_show_success variable controls the masking of this

Re: periodic emails

2012-01-02 Thread Garrett Cooper
On Mon, Jan 2, 2012 at 3:09 PM, Doug Barton do...@freebsd.org wrote: On 01/02/2012 15:01, Bjoern A. Zeeb wrote: Looking at periodic(8) it says:      Each script is required to exit with one of the following values:      0     The script has produced nothing notable in its output.  The      

Re: periodic emails

2012-01-02 Thread Doug Barton
On 01/02/2012 15:10, Garrett Cooper wrote: Looking at the scripts, there are bugs where all of the beforementioned scripts would always be mute (because rc=0 is explicitly set at the bottom), unless _show_success was set to YES. Take a look at /etc/defaults/periodic.conf -- You

Re: periodic emails

2012-01-02 Thread Bjoern A. Zeeb
On 2. Jan 2012, at 23:09 , Doug Barton wrote: On 01/02/2012 15:01, Bjoern A. Zeeb wrote: Looking at periodic(8) it says: Each script is required to exit with one of the following values: 0 The script has produced nothing notable in its output. The

Re: periodic emails

2012-01-02 Thread Kevin Oberman
On Mon, Jan 2, 2012 at 1:29 PM, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress the empty sections (to me that sounds a bit like a wrong return code

Re: periodic emails

2012-01-02 Thread Garrett Cooper
On Mon, Jan 2, 2012 at 4:03 PM, Kevin Oberman kob6...@gmail.com wrote: On Mon, Jan 2, 2012 at 1:29 PM, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: Hi, why do we send all these empty headings for periodic emails or given there is no output to this one can we 1) suppress