OpenBSD CVS

CVS log for src/etc/daily


[BACK] Up to [local] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.98 / (download) - annotate - [select for diffs], Thu May 16 11:33:59 2024 UTC (43 hours, 54 minutes ago) by solene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.97: +4 -1 lines
Diff to previous 1.97 (colored)

Make daily(8) reporting services that are running
but not enabled in rc.conf.local(8)

wording by jmc@
ok schwarze@ florian@

Revision 1.97 / (download) - annotate - [select for diffs], Fri Mar 3 16:22:57 2023 UTC (14 months, 2 weeks ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Process accounting and lastcomm(1) can detect execve(2) violations
of pinsyscall(2) policy.  Report such findings in daily mail like
other security violations.  User has to turn on accounting=YES in
rc.conf.local to utilize this feature.
OK deraadt@

Revision 1.96 / (download) - annotate - [select for diffs], Wed Oct 19 21:23:31 2022 UTC (18 months, 4 weeks ago) by sthen
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Exclude /tmp/*.shm files from /tmp cleaning in daily(8); removing them
interferes with programs using shm_open(3) which uses them as backing
files.

Problem pointed out by jeremy@ in relation to PostgreSQL.
Suggestion/ok tb@.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Oct 20 22:42:29 2020 UTC (3 years, 6 months ago) by danj
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.94: +3 -16 lines
Diff to previous 1.94 (colored)

Remove calls for df(1), netstat(1), and the verbose dump(1)

With this change, daily(8) only sends email when something looks
dubious.
Consequently VERBOSESTATUS is now a no-op and may be unset.

The code is trivial and riddled with choices that look like personal
preferences. The old behavior can be achieved through
/etc/daily.local.

With schwarze@, tweak kn@, sthen@
OK schwarze@, kn@, jung@

Revision 1.94 / (download) - annotate - [select for diffs], Thu Oct 8 12:08:45 2020 UTC (3 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.93: +5 -5 lines
Diff to previous 1.93 (colored)

Use find -delete instead of execing rm and rmdir.
OK sthen@ denis@

Revision 1.93 / (download) - annotate - [select for diffs], Mon Sep 9 20:02:26 2019 UTC (4 years, 8 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Inform about system call memory write protection and stack mapping
violations in system accounting.  This will help to find missbehaving
programs and possible attacks.  The flags bit field is full, so
recycle the PDP-11 compatibility on VAX.  lastcomm(1) prints the
AMAP flag as 'M'.  daily(8) prints a list of affected processes.
OK deraadt@

Revision 1.92 / (download) - annotate - [select for diffs], Thu Jul 25 13:13:53 2019 UTC (4 years, 9 months ago) by bluhm
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Show unveil(2) violators in lastcomm(1) output and daily mail.
input Janne Johansson, schwarze@; OK deraadt@ millert@

Revision 1.91 / (download) - annotate - [select for diffs], Tue Feb 6 19:57:37 2018 UTC (6 years, 3 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.90: +5 -2 lines
Diff to previous 1.90 (colored)

Print an explicit error if the backup volume is not present in
hw.disknames. This can only happen due to a failure or user error.
In either case, silent failure makes it hard to discover and debug.
Now it will be easy to spot in the daily mail.

ok rob, schwarze

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jul 10 11:18:48 2017 UTC (6 years, 10 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.89: +7 -4 lines
Diff to previous 1.89 (colored)

Test if an acct file exists before trying to rename it.  This silences
false warnings in the frist three daily mails after process accounting
has been turned on.
from Raf Czlonka

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jun 10 11:28:30 2017 UTC (6 years, 11 months ago) by bluhm
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

Report processes that were killed due to pledge or memory access
violations in the daily mail.
OK millert@ jmc@

Revision 1.88 / (download) - annotate - [select for diffs], Fri Apr 29 13:05:33 2016 UTC (8 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.87: +1 -8 lines
Diff to previous 1.87 (colored)

Delete invocation of mailq(1) that was present for historical reasons.
On a real mailserver, it's too noisy and may be a privacy concern.
On a machine that's not a mailserver, it's pointless.

Besides, Theo points out that running subsystems that potentially
parse untrusted user data daily, at a predictable time, as root
is not a very good idea in the first place.

Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree

Revision 1.87 / (download) - annotate - [select for diffs], Fri Apr 1 08:20:27 2016 UTC (8 years, 1 month ago) by ajacoutot
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Tweak rcctl wording.

from ian@

Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 1 08:18:56 2016 UTC (8 years, 1 month ago) by ajacoutot
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Rename the 'faulty' list action to 'failed'; it clearer.

prodded by matthieu@
ok millert@ jung@ sthen@

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jan 28 15:45:34 2016 UTC (8 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.84: +4 -1 lines
Diff to previous 1.84 (colored)

Run "rcctl ls faulty", which is silent when all services work as expected.
Based on an original idea and a different patch from landry@.
OK jung@ zhuk@ landry@
krw@ agreed to the general idea

Revision 1.84 / (download) - annotate - [select for diffs], Wed Dec 30 22:59:53 2015 UTC (8 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

Remove portslocks from /etc/daily. The ports LOCKDIR was moved from /tmp
to /usr/ports/pobj years ago.

OK millert@, ajacoutot@

Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 29 00:10:44 2015 UTC (9 years ago) by halex
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.82: +3 -1 lines
Diff to previous 1.82 (colored)

VERBOSESTATUS or no VERBOSESTATUS, failed or missing dumps are still
worth noting

"go ahead" schwarze@

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 17 18:19:08 2014 UTC (9 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.81: +2 -13 lines
Diff to previous 1.81 (colored)

Make /var/tmp a symbolic link to /tmp.  The creation of /var/tmp in the
often space-constrained /var filesystem was a historical mistake.  There
are big implications for the daemons which assume they won't run out of
space, and this is a first step towards trying to improve the situation.

Move /tmp to the same 7-day expiration rules that /var/tmp had.
vi.recover works just as well as before, except on memory filesystems;
indicating that vi should be repaired to write files into homedirs or
something.

done with rpe
ok many

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jul 2 13:39:41 2014 UTC (9 years, 10 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

don't clear tmux session sockets in daily(8)'s tmp cleanup, from Rafael Zalamena
ok schwarze@

Revision 1.80 / (download) - annotate - [select for diffs], Thu Apr 24 19:04:54 2014 UTC (10 years ago) by tedu
Branch: MAIN
Changes since 1.79: +1 -7 lines
Diff to previous 1.79 (colored)

jmc spotted more ruptime tentacles

Revision 1.79 / (download) - annotate - [select for diffs], Thu Apr 24 15:05:10 2014 UTC (10 years ago) by tedu
Branch: MAIN
Changes since 1.78: +1 -6 lines
Diff to previous 1.78 (colored)

rm rwhod tentacles

Revision 1.78 / (download) - annotate - [select for diffs], Thu Dec 12 22:02:43 2013 UTC (10 years, 5 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Have df(1) in the daily output show the inodes used/free.

a few developers thought this was a reasonable/good idea.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Nov 3 18:28:34 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored)

ugly spaces

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jan 6 14:11:12 2013 UTC (11 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.75: +0 -9 lines
Diff to previous 1.75 (colored)

backout atactl check; I had warned that this would try a lot of code
paths which are rarely tried.  Problem reported by a few on the list.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Dec 11 17:09:50 2012 UTC (11 years, 5 months ago) by ajacoutot
Branch: MAIN
Changes since 1.74: +10 -1 lines
Diff to previous 1.74 (colored)

Add a SMART check using atactl(8) against disks that support and have
SMART enabled.

Committing now so that it gets broader testing.
Man page bits will be added once we are confident there is no side
effect and this can stay.

inputs from sthen@ halex@ weerd@
ok deraadt@

Revision 1.74 / (download) - annotate - [select for diffs], Sat Feb 11 00:37:04 2012 UTC (12 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.73: +13 -3 lines
Diff to previous 1.73 (colored)

Fix previous fix for /altroot processing. Should now work for both
duid and device entries in fstab. As a bonus make commented out
lines in fstab in-eligable for altroot detection.

ok halex@ deraadt@

Revision 1.73 / (download) - annotate - [select for diffs], Wed Feb 8 18:22:43 2012 UTC (12 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.72: +7 -7 lines
Diff to previous 1.72 (colored)

Let /altroot work with a duid-based fstab.

Reported by & fix tested by Dave Anderson. Thanks!

ok deraadt@

Revision 1.72 / (download) - annotate - [select for diffs], Tue Dec 6 21:02:39 2011 UTC (12 years, 5 months ago) by halex
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

closing fd 0-2 is indeed bad style and potentially dangerous, as pointed
out by Arne Becker, who also supplied the diff, thanks!

ok schwarze@
agreed by many

Revision 1.71 / (download) - annotate - [select for diffs], Sat Apr 23 19:35:53 2011 UTC (13 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Even though SUIDSKIP used to be a mere shell variable, it was propagated
to the old /etc/security script because daily sourced it.
Now we fork and exec, so SUIDSKIP must be promoted to the environment.
Problem reported, fix tested and ok weerd@.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Apr 17 21:26:38 2011 UTC (13 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Switch from the old shell script /etc/security
to the new Perl script /usr/libexec/security.
The new script was tested by sthen@ and ajacoutot@.
Committing now due to repeated prodding from deraadt@.
In case problems show up, they will be fixed in tree.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 15 11:23:39 2011 UTC (13 years, 1 month ago) by halex
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Silence errors in the temp dir cleanup process

ok phessler@ sthen@

Revision 1.68 / (download) - annotate - [select for diffs], Wed Sep 22 13:01:10 2010 UTC (13 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.67: +1 -5 lines
Diff to previous 1.67 (colored)

Kill msgs.  Noone uses it, and it has a longjmp in it.
Lots of agreement.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 25 08:49:03 2010 UTC (13 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.66: +9 -5 lines
Diff to previous 1.66 (colored)

handle portslock. reminded by antoine@

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 26 22:59:15 2009 UTC (14 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

Three rdist log file name improvements on one single line:
1) replace +%e by +%d, unescaped blanks don't work at all in file names
2) replace +%b by +%m to make log files sort better by month
3) replace the home-grown +%Y.%m.%d by the standard +%F (= +%Y-%m-%d)
from Tim van der Molen <tbvdm at xs4all dot nl>, thanks!
ok okan@

Revision 1.65 / (download) - annotate - [select for diffs], Mon May 25 21:31:24 2009 UTC (14 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.64: +5 -2 lines
Diff to previous 1.64 (colored)

polish comments, no functional change:
1) advertise *.local and next_part near the top of the three scripts
2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim)
3) weekly: drop a comment trivially rehashing the next two lines of code
documenting next_part in the scripts was suggested by jmc@
ok sthen@ okan@ halex@; "i won't object" ajacoutot@

Revision 1.64 / (download) - annotate - [select for diffs], Sun May 24 21:58:06 2009 UTC (14 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.63: +36 -12 lines
Diff to previous 1.63 (colored)

Before dd'ing raw partitions around, do stricter sanity checking:
Do not attempt to copy a larger partition onto a smaller one.
Backup of non-ffs root partitions was never supported, so don't even try.
(Both of the above suggested by guenther@).
Also add error messages in case ROOTBACKUP is switched on but severely
misconfigured - those were silently ignored in the past:
/altroot not defined or wrong type or on the same device as root.
otto@ agrees that checking the sizes makes sense

Revision 1.63 / (download) - annotate - [select for diffs], Thu May 21 01:27:52 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

skip the ROOTBACKUP when the destination disk device is not configured;
suggested, tweaked and ok by guenther@

Revision 1.62 / (download) - annotate - [select for diffs], Mon May 18 20:07:35 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.61: +1 -3 lines
Diff to previous 1.61 (colored)

handle PATH in the same way as in monthly(8) and weekly(8),
i.e. rely on the PATH set up in the root crontab(5)
in case /usr/local/bin is needed, daily.local is a logical place to append it
suggested by ajacoutot@; "i like this" okan@; feedback jmc@ deraadt@;
"i don't strongly object" sthen@

Revision 1.61 / (download) - annotate - [select for diffs], Sun May 17 00:25:34 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored)

move kern.version and uptime back to the top of the output
by moving it down to the bottom of the code;
"I definitely like this"  ajacoutot@

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 11 22:27:22 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.59: +19 -16 lines
Diff to previous 1.59 (colored)

New variable VERBOSESTATUS (=1 by default).
When set to 0, daily(8) won't send mail unless there is something to report.
Using feedback from kettenis@ henning@ jmc@
OK sthen@ jmc@

Revision 1.59 / (download) - annotate - [select for diffs], Sun May 10 19:27:25 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.58: +7 -5 lines
Diff to previous 1.58 (colored)

avoid unnecessary changes of the output
in order not to annoy parser scripts and their owners (like henning@)

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 9 17:15:49 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.57: +64 -51 lines
Diff to previous 1.57 (colored)

make weekly and monthly silent by default
add the same infrastructure to daily; silencing daily needs another step
discussed with ajacoutot@ okan@ todd@ sthen@ deraadt@ jmc@
"immediately commit" deraadt@ (without seeing the final diff)

Revision 1.57 / (download) - annotate - [select for diffs], Sun May 3 17:16:12 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.56: +1 -23 lines
Diff to previous 1.56 (colored)

remove dead code and the associated documentation
while here, remove the misleading shbang and an unused variable
and add the missing cross reference to ac(8)
ok sthen@ jmc@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 26 12:20:55 2006 UTC (17 years, 6 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (colored)

Force umask to 022 so we don't heritate 077 from root's crontab command
(output logs are still umask 077)

"i think this is right" deraadt@

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 4 17:46:34 2006 UTC (17 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

make code look better

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 4 04:43:20 2006 UTC (17 years, 7 months ago) by hugh
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Exit when asked to. OK by deraadt, spotted by lumpy.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Dec 6 20:18:56 2005 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Remove fdescfs

Revision 1.52 / (download) - annotate - [select for diffs], Thu Nov 24 12:08:15 2005 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Remove kernfs, okay deraadt@.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 29 00:31:08 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored)

ok, add uptime after kernel version

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 17 18:16:52 2005 UTC (19 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.49: +9 -7 lines
Diff to previous 1.49 (colored)

Don't rmdir .ICE-unix from /tmp or /var/tmp either.  OK deraadt@

Revision 1.49 / (download) - annotate - [select for diffs], Wed Mar 16 18:29:58 2005 UTC (19 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

Don't rmdir vi.recover or .X11-unix from /tmp or /var/tmp.  OK deraadt@

Revision 1.48 / (download) - annotate - [select for diffs], Tue Dec 7 19:08:15 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.47: +3 -5 lines
Diff to previous 1.47 (colored)

Use df to verify that we are not booted from the altboot before doing
the / -> /altroot copy.  OK deraadt@

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 15 18:10:48 2004 UTC (19 years, 6 months ago) by nick
Branch: MAIN
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)


add kern.version to daily report.  ok deraadt@

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 28 20:58:48 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.45: +1 -5 lines
Diff to previous 1.45 (colored)

remove check for /etc/news.expire;
ok millert@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jun 30 23:47:14 2003 UTC (20 years, 10 months ago) by avsm
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

some more extra mktemp randomness; millert@ ok

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 3 22:56:56 2003 UTC (20 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

by means of utilising -f avoid some warnings when rotating accounting files; millert@ ok

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 28 21:32:30 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.42: +1 -6 lines
Diff to previous 1.42 (colored)

- no more /var/ssyslog (unused)
- no more /var/spool/lpd (lpd uses /var/spool/output)
- no more /var/preserve (old vi directory)
- update docs to reflect this

help with systrace provos@
help and ok millert@

Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 8 10:19:30 2003 UTC (21 years, 3 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.41: +5 -2 lines
Diff to previous 1.41 (colored)

When creating > 1 files with mktemp(1), make sure that if the creation
of the n'th (n>1) file fails, the previous ones get removed before exit(1)
Idea by jason; ok millert deraadt

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 7 20:16:19 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.40: +2 -3 lines
Diff to previous 1.40 (colored)

Use `hostname` not `hostname -s` in subject for consistency with
daily, weekly, and monthly.  Closes PR 3017.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 12 02:36:31 2002 UTC (21 years, 8 months ago) by danh
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

have df only display statistics about local filesystems (-l flag)

ok millert@

Revision 1.39 / (download) - annotate - [select for diffs], Mon Nov 19 03:03:33 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

zap trailing spaces and tabs

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 29 18:16:23 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.37: +14 -14 lines
Diff to previous 1.37 (colored)

Change when calendar(1) is such so that it is after mailq runs.
That way we avoid a flurry of transient calendar mail in the mailq.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 24 11:32:13 2001 UTC (22 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Be anal about ssh and X11 hooks.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Sep 12 14:37:46 2001 UTC (22 years, 8 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

MFC: Errata 15: Fix (millert):
run uucp as 'uucp' user not root in /etc/daily
pay more attention to commandline parsing of long options in uuqxt
(Patch from jbj@redhat.com)

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun Sep 9 21:45:47 2001 UTC (22 years, 8 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

In the daily cron job, run uucp stuff as user uucp not root, to work
around some uucp issues.
Patch by millert@, applied on 2.8 on theo's request.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Sep 9 01:07:31 2001 UTC (22 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.35: +1 -16 lines
Diff to previous 1.35 (colored)

the first part of uucp going away.  It will become a package

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 6 20:29:48 2001 UTC (23 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Add -n to the netstat invocation.  Faster running, less chance of being spoofed, no unneeded dial-on-demands

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 4 06:27:45 2001 UTC (23 years, 4 months ago) by angelos
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Correctly check empty mailq, closes PR 1602 (cjclark@alum.mit.edu)

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 26 17:44:33 2000 UTC (23 years, 11 months ago) by marc
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.32: +7 -3 lines
Diff to previous 1.32 (colored)


pipe output from /etc/security to a temp file and then check that
output was created before sending off a mail message to root.
This suppresses an empty mail message and a warning appended to the
end of the daily status report.  OK millert@

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 26 14:51:31 2000 UTC (23 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

Conform to the test(1) man page: use -L instead of -h when testing for
symbolic links (the -h flag is for compatibility only); millert@ ok

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 29 18:45:58 2000 UTC (24 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

Prune /tmp traversal at .X11-unix
Since /tmp might be a link to /var/tmp, prune at ssh-* or .X11-unix
like the find on /tmp does.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 28 00:47:55 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

use netstat -iv, not -i, to avoid truncation of ipv6 address. ok by deraadt

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 24 04:23:13 2000 UTC (24 years ago) by todd
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

fix per pr1192; also == "xx" -> ~ /xx/, same thought

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 16 02:47:53 1999 UTC (25 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

run pruning find with -x, to avoid /tmp based mountpoint pruning

Revision 1.27 / (download) - annotate - [select for diffs], Sun Nov 29 21:35:17 1998 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

no need for Subject: line, crontab does it

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 11 11:23:02 1998 UTC (25 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Only run msgs -c if /var/msgs exists and is not a symlink.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 13 21:57:39 1998 UTC (25 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Don't prune dirs in /var/tmp on first pass; problem noted by m4@umn.edu

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 30 23:08:52 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +8 -8 lines
Diff to previous 1.23 (colored)

do not delete files like that, geez

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 7 19:33:23 1998 UTC (26 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Don't remove files in /tmp/ssh-*

Revision 1.22 / (download) - annotate - [select for diffs], Tue Oct 21 03:00:56 1997 UTC (26 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

fix root backup

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 15 09:58:08 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

indent

Revision 1.20 / (download) - annotate - [select for diffs], Mon Sep 15 06:24:24 1997 UTC (26 years, 8 months ago) by pierre
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

run calendar in the background

Revision 1.19 / (download) - annotate - [select for diffs], Fri May 30 07:11:52 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

1 fix from enami@ba2.so-net.or.jp

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 19 16:49:18 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.17: +8 -3 lines
Diff to previous 1.17 (colored)

Add option to turn off calendar via env variables settable via cron.
Ie: ``CALENDAR=0'' will turn it off which is useful for machines with
no local users that do not run YP.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 17 06:18:19 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.16: +87 -53 lines
Diff to previous 1.16 (colored)

lite2 daily + our changes.  We can remove old tmp files now that fts(3)
is safe and we have -execdir.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 3 22:51:26 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.15: +3 -5 lines
Diff to previous 1.15 (colored)

No point in ls'ing the template, it will never exist.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 15 19:11:54 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.14: +15 -12 lines
Diff to previous 1.14 (colored)

Less output when not needed.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 7 18:46:46 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.13: +23 -23 lines
Diff to previous 1.13 (colored)

use mktemp(1) and don't talk about core files unless it finds some.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 7 07:33:06 1996 UTC (27 years, 5 months ago) by bitblt
Branch: MAIN
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored)

Improved handling of temporary files.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 6 16:49:12 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

indicate hostname in security report

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 4 02:02:23 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

indent

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 6 23:03:21 1996 UTC (27 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +7 -3 lines
Diff to previous 1.9 (colored)

only run calendar on yp server; from matthieu@laas.fr

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 27 14:12:24 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

slight clarification.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 18 09:57:35 1996 UTC (27 years, 10 months ago) by downsj
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

daily: disable the fscks by default.
rc: add /usr/local/lib to ldconfig.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 12 21:34:47 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +12 -11 lines
Diff to previous 1.6 (colored)

still print about ugly files; from Todd.Miller@cs.colorado.edu

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 17 09:09:39 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

whoops

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 16 14:39:24 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +27 -23 lines
Diff to previous 1.4 (colored)

disable find | rm entities until we have a safe way of doing them

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 26 10:25:20 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

sync & label

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 23 03:18:32 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +7 -12 lines
Diff to previous 1.2 (colored)

sync with netbsd 960418

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 19 13:14:13 1995 UTC (28 years, 5 months ago) by david
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (colored)

check for /etc/{daily,weekly,monthly}.local and run if they exist

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:56 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:56 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.