Commit Graph

75 Commits

Author SHA1 Message Date
brian
f3c04d92b8 Remove $daily_status_named_logs and figure out which /var/log/messages*
files to look an (in the same way that /etc/security does).

Don't single-quote $start, reducing it to an empty string.

MFC after:	3 days
2001-07-26 02:37:12 +00:00
brian
7fee5bd138 Don't try to remove directories unless we've emptied them first
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
PR:		28355
MFC after:	1 week
2001-07-19 12:08:24 +00:00
tobez
b0177f628c Recognize and support new output which pkg_version(1) might produce.
PR:             27707
Approved by:    bmah, markm
2001-06-11 21:31:50 +00:00
dougb
05769a88e2 Small adjustment to whitespace in output 2001-06-01 16:40:57 +00:00
ru
e7a85be33f Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
dougb
01c607845d Truly limit the path to local filesystems. 2001-05-31 09:53:53 +00:00
brian
3322ac2963 Default daily_accounting_flags to -q. I thought this was a typo in the
originally submitted patch (oops!).

Also check for an empty $daily_accounting_save.

Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
2001-05-30 20:23:43 +00:00
brian
4358d0941f Add $daily_accounting_save and $daily_accounting_flags
Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
MFC after:	2 weeks
2001-05-30 16:46:53 +00:00
dirk
0da4be9c47 Add 470.status-named.
Reminded by:	gshapiro
2001-05-11 09:32:48 +00:00
joe
4d0c552ae1 Remind the user that they need to check CPAN manually for updates
to perl5 modules installed by hand.
2001-04-28 16:15:50 +00:00
ru
3cbad34d06 Fixed typo.
PR:		bin/26836
Submitted by:	Matthew Seaman <matthew.seaman@tornadogroup.com>
2001-04-25 12:11:54 +00:00
dirk
9af3a3e675 Check for denied zone transfers (AXFR and IXFR). 2001-04-21 22:36:30 +00:00
brian
92b5e926cb Identify obsolete ports 2001-03-25 11:35:22 +00:00
ru
3e8d7346e8 setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
ache
e4a32d7040 Add 500.queuerun 2001-02-19 07:12:37 +00:00
peter
336d5fa6f8 Move the sendmail -q from cron to periodic, as suggested by a few people.
This has the benefit of adding a random start time element as daily
processing takes a different amount of time on different machines.
2001-02-19 02:47:42 +00:00
brian
9233b23065 Allow the output of /etc/security to be logged or mailed to different
users in line with ${daily,weekly,monthly}_output using a new
$daily_status_security_output variable.

PR:	24643
2001-01-30 10:24:18 +00:00
brian
5920344071 Cope with ports that have multiple versions *and* have embedded ``-''s
in their name.
2001-01-02 15:17:59 +00:00
brian
a11ea16dad Understand ``multiple versions'' lines emitted from pkg_version. 2001-01-02 13:28:47 +00:00
brian
d756562577 Handle multiple words in $daily_clean_disks_files
PR:			23805
Submitted mostly by:	Norbert Papke <npapke@telus.net>
2000-12-24 03:22:45 +00:00
dougb
b13f26d45b Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR:		bin/21321
Submitted by:	Me
2000-10-29 06:57:59 +00:00
brian
6e80549f22 Case is irrelevant when sorting mail redirects
PR:		21600
Submitted by:	David Wolfskill <dhw@whistle.com>
2000-10-02 21:54:38 +00:00
brian
72594a8f52 Remove a forgotten line
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-09-22 06:54:28 +00:00
brian
4484d23ba7 Another overhaul of the periodic stuff.
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8).  Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR:	21250
2000-09-14 17:19:15 +00:00
brian
32b4d974c8 Correct variable spelling
PR: 20841
2000-08-25 18:50:54 +00:00
gshapiro
2424c7393a Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
brian
20b74ed074 Correct dodgy wild card expansion
PR:	20514
2000-08-10 10:58:44 +00:00
sheldonh
b896bc0c05 Introduce a new option, daily_status_disks_df_flags, which specifies
the command-line arguments to be used for the call to df(1) when
daily_status_disks_enable is set to YES.

The name of the new variable was chosen by the maintainer of our
periodic hierarchy, Brian Somers.

PR:		19631
2000-07-05 10:47:01 +00:00
brian
d220ee616b Add $daily_status_mail_rejects_logs, defaulting to 3 to control
how many /var/log/maillog* files to check

PR:	19587
2000-06-30 09:41:16 +00:00
brian
97d1a2bb34 Correct two variable names
Mostly submitted by:	howardjp@wam.umd.edu
PR:			19567
2000-06-30 09:39:51 +00:00
joe
c328bb90a7 Added 400.status-pkg.
Forgotten by:	brian
2000-06-28 14:37:22 +00:00
brian
1400b2309b Add weekly_status_pkg_enable (defaults to NO) 2000-06-27 11:20:08 +00:00
brian
0ef3538e30 Allow compressed acct files
PR:		19483
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-25 08:59:26 +00:00
brian
8d5a977e22 daily_status_network_enable -> daily_status_network_usedns
Submitted by: Alexander Leidinger <Alexander@leidinger.net>
2000-06-23 12:33:16 +00:00
brian
567e3fdcca Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch
2000-06-23 01:18:31 +00:00
brian
ceb9d96a6e Use $clear_daily_* from rc.conf to decide what should be deleted
Reviewed by:	The silence of -committers
2000-06-09 17:05:11 +00:00
brian
85c7b2d731 Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
Clean /compat/linux/tmp if $linux_enable is also set to YES in rc.conf
2000-06-08 08:48:15 +00:00
obrien
1731b249cc Revert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE. 2000-01-27 22:52:43 +00:00
obrien
fb20480840 Update the sed action to match the change to "diff -u".
Otherwise the encrypted password of any account who's information changed
was shown in the daily email to root.

Submitted by:	jhb
2000-01-20 03:12:57 +00:00
obrien
79ed6d89a6 Use the *much* more readable unified diff format. 1999-12-28 21:38:12 +00:00
ache
a2d665c87a Use manpath -L for man locales 1999-11-23 03:21:19 +00:00
ghelmer
15b0a898a0 "make install" did not install 150.clean-hoststat.
PR:	bin/12497
1999-11-04 03:00:33 +00:00
ache
876db407b1 localize it
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 18:55:02 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
sheldonh
3d09e3478e Update the locate database even if user nobody can't stat root's
home directory.

PR:	10700
Submitted by:	Sergey Korsak <skif@1plus1.net>
1999-06-21 18:36:18 +00:00
brian
6c60b3cb5f Don't delete quota files when clean-tmps is enabled. 1999-06-10 00:34:15 +00:00
wollman
c3ead1bc25 Remove remaining traces of the prototype... 1999-03-30 15:31:35 +00:00
wollman
4444bea042 Clean up persistent host status from sendmail(8) (if so configured).
I had accumulated years' worth of junk files; now others won't
have to.
1999-03-30 15:30:44 +00:00
joerg
efd64fb913 Finally remove the ancient `-exec rm -f {} ;' cruft that used to be
used to cleanup old files, and replace it by -delete which has been
present in our find(1) for ages now.
1999-03-21 12:34:06 +00:00
wollman
86eed8a334 Now that newsyslog is capable of doing this at a specific time,
let it rotate /var/log/wtmp again, and update monthly/200.accounting to
take this into account.  (Some sites might want to change the parameters
of the rotation; it's easier to do this when it's all centralized in
newsyslog.conf.)
1999-01-28 20:03:31 +00:00