Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-11 | Fix previous fix for /altroot processing. Should now work for both | Kenneth R Westerback | |
duid and device entries in fstab. As a bonus make commented out lines in fstab in-eligable for altroot detection. ok halex@ deraadt@ | |||
2012-02-08 | Let /altroot work with a duid-based fstab. | Kenneth R Westerback | |
Reported by & fix tested by Dave Anderson. Thanks! ok deraadt@ | |||
2011-12-06 | closing fd 0-2 is indeed bad style and potentially dangerous, as pointed | Alexander Hall | |
out by Arne Becker, who also supplied the diff, thanks! ok schwarze@ agreed by many | |||
2011-04-23 | Even though SUIDSKIP used to be a mere shell variable, it was propagated | Ingo Schwarze | |
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@. | |||
2011-04-17 | Switch from the old shell script /etc/security | Ingo Schwarze | |
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. | |||
2011-04-15 | Silence errors in the temp dir cleanup process | Alexander Hall | |
ok phessler@ sthen@ | |||
2010-09-22 | Kill msgs. Noone uses it, and it has a longjmp in it. | Theo de Raadt | |
Lots of agreement. | |||
2010-07-25 | handle portslock. reminded by antoine@ | Marc Espie | |
2009-05-26 | Three rdist log file name improvements on one single line: | Ingo Schwarze | |
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@ | |||
2009-05-25 | polish comments, no functional change: | Ingo Schwarze | |
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@ | |||
2009-05-24 | Before dd'ing raw partitions around, do stricter sanity checking: | Ingo Schwarze | |
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 | |||
2009-05-21 | skip the ROOTBACKUP when the destination disk device is not configured; | Ingo Schwarze | |
suggested, tweaked and ok by guenther@ | |||
2009-05-18 | handle PATH in the same way as in monthly(8) and weekly(8), | Ingo Schwarze | |
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@ | |||
2009-05-17 | move kern.version and uptime back to the top of the output | Ingo Schwarze | |
by moving it down to the bottom of the code; "I definitely like this" ajacoutot@ | |||
2009-05-11 | New variable VERBOSESTATUS (=1 by default). | Ingo Schwarze | |
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@ | |||
2009-05-10 | avoid unnecessary changes of the output | Ingo Schwarze | |
in order not to annoy parser scripts and their owners (like henning@) | |||
2009-05-09 | make weekly and monthly silent by default | Ingo Schwarze | |
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) | |||
2009-05-03 | remove dead code and the associated documentation | Ingo Schwarze | |
while here, remove the misleading shbang and an unused variable and add the missing cross reference to ac(8) ok sthen@ jmc@ | |||
2006-10-26 | Force umask to 022 so we don't heritate 077 from root's crontab command | Antoine Jacoutot | |
(output logs are still umask 077) "i think this is right" deraadt@ | |||
2006-10-04 | make code look better | Theo de Raadt | |
2006-10-04 | Exit when asked to. OK by deraadt, spotted by lumpy. | Hugh Graham | |
2005-12-06 | Remove fdescfs | Pedro Martelletto | |
2005-11-24 | Remove kernfs, okay deraadt@. | Pedro Martelletto | |
2005-09-29 | ok, add uptime after kernel version | Theo de Raadt | |
2005-03-17 | Don't rmdir .ICE-unix from /tmp or /var/tmp either. OK deraadt@ | Todd C. Miller | |
2005-03-16 | Don't rmdir vi.recover or .X11-unix from /tmp or /var/tmp. OK deraadt@ | Todd C. Miller | |
2004-12-07 | Use df to verify that we are not booted from the altboot before doing | Todd C. Miller | |
the / -> /altroot copy. OK deraadt@ | |||
2004-11-15 | add kern.version to daily report. ok deraadt@ | Nick Holland | |
2003-07-28 | remove check for /etc/news.expire; | Jason McIntyre | |
ok millert@ | |||
2003-06-30 | some more extra mktemp randomness; millert@ ok | Anil Madhavapeddy | |
2003-06-03 | by means of utilising -f avoid some warnings when rotating accounting files; ↵ | Michael Shalayeff | |
millert@ ok | |||
2003-03-28 | - no more /var/ssyslog (unused) | Jason McIntyre | |
- 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@ | |||
2003-02-08 | When creating > 1 files with mktemp(1), make sure that if the creation | Peter Valchev | |
of the n'th (n>1) file fails, the previous ones get removed before exit(1) Idea by jason; ok millert deraadt | |||
2002-12-07 | Use `hostname` not `hostname -s` in subject for consistency with | Todd C. Miller | |
daily, weekly, and monthly. Closes PR 3017. | |||
2002-09-12 | have df only display statistics about local filesystems (-l flag) | Dan Harnett | |
ok millert@ | |||
2001-11-19 | zap trailing spaces and tabs | Theo de Raadt | |
2001-10-29 | Change when calendar(1) is such so that it is after mailq runs. | Todd C. Miller | |
That way we avoid a flurry of transient calendar mail in the mailq. | |||
2001-10-24 | Be anal about ssh and X11 hooks. | Marc Espie | |
2001-09-09 | the first part of uucp going away. It will become a package | Theo de Raadt | |
2001-03-06 | Add -n to the netstat invocation. Faster running, less chance of being ↵ | Niklas Hallqvist | |
spoofed, no unneeded dial-on-demands | |||
2001-01-04 | Correctly check empty mailq, closes PR 1602 (cjclark@alum.mit.edu) | Angelos D. Keromytis | |
2000-05-26 | pipe output from /etc/security to a temp file and then check that | Marco S Hyman | |
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@ | |||
2000-05-26 | Conform to the test(1) man page: use -L instead of -h when testing for | Aaron Campbell | |
symbolic links (the -h flag is for compatibility only); millert@ ok | |||
2000-04-29 | Prune /tmp traversal at .X11-unix | Todd C. Miller | |
Since /tmp might be a link to /var/tmp, prune at ssh-* or .X11-unix like the find on /tmp does. | |||
2000-04-28 | use netstat -iv, not -i, to avoid truncation of ipv6 address. ok by deraadt | Jun-ichiro itojun Hagino | |
2000-04-24 | fix per pr1192; also == "xx" -> ~ /xx/, same thought | Todd T. Fries | |
1999-03-16 | run pruning find with -x, to avoid /tmp based mountpoint pruning | Theo de Raadt | |
1998-11-29 | no need for Subject: line, crontab does it | Theo de Raadt | |
1998-11-11 | Only run msgs -c if /var/msgs exists and is not a symlink. | Jason Downs | |
1998-08-13 | Don't prune dirs in /var/tmp on first pass; problem noted by m4@umn.edu | Todd C. Miller | |