History log of /openbsd/etc/weekly (Results 1 – 25 of 30)
Revision Date Author Comments
# dd6e8aa1 12-Feb-2020 jung <jung@openbsd.org>

do not propagate TMPDIR and override value from /etc/locate.rc in weekly
effectively reverting r1.9 to follow principal of least surprise

"this is fine" millert
"i agree with direction" schwarze


# cedd04ac 30-Dec-2019 espie <espie@openbsd.org>

don't suppress error output from running updatelocatedb
check that the resulting db works instead of some more specific test

okay schwarze@


# 78be3774 15-Apr-2017 schwarze <schwarze@openbsd.org>

Build full mandoc.db(5) databases by default using makewhatis(8)
without -Q during the build and in weekly(8). According to tests
by many developers, makewhatis(8) takes a few minutes at most even
o

Build full mandoc.db(5) databases by default using makewhatis(8)
without -Q during the build and in weekly(8). According to tests
by many developers, makewhatis(8) takes a few minutes at most even
on slower hardware like octeon, loongson, ALIX, RPI3, Soekris,
cubox, softiron etc., and security(8) is often worse than makewhatis(8).

In case this causes excessive weekly(8) run times on even slower
(~50 MHz-class) CPUs, consider adding "MAKEWHATISARGS=-Q" to
/etc/weekly.local on machines that feel unhappy.

OK sthen@ kettenis@ millert@ deraadt@

show more ...


# 00e75ae7 14-Aug-2015 rzalamena <rzalamena@openbsd.org>

Move locate(1) database build directory back to /tmp and kill non-existent
/usr/tmp references.

Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the
updatedb script.

ok millert@.


# b58effd0 18-Apr-2014 schwarze <schwarze@openbsd.org>

Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo.
"commit the switch now" espie@ "go for it" deraadt@

See the apropos(1) manual for a description of what's new.
On machines where you want

Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo.
"commit the switch now" espie@ "go for it" deraadt@

See the apropos(1) manual for a description of what's new.
On machines where you want the full functionality,
run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8).
Otherwise, when upgrading via source, run "sudo makewhatis -Q".

show more ...


# 22baa516 07-Jul-2011 guenther <guenther@openbsd.org>

Eliminate some $? tests by rolling the command into the condition

ok halex@


# e8930948 19-Jan-2011 david <david@openbsd.org>

remove EOL whitespace


# 58a1e7f8 25-May-2009 schwarze <schwarze@openbsd.org>

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: dr

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@

show more ...


# 722b8056 18-May-2009 schwarze <schwarze@openbsd.org>

/usr/libexec should not be put into the PATH
rely on the PATH set up in the root crontab(5), just like in monthly(8)
suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@;
"absolutely" d

/usr/libexec should not be put into the PATH
rely on the PATH set up in the root crontab(5), just like in monthly(8)
suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@;
"absolutely" deraadt@

show more ...


# 04bf5079 10-May-2009 schwarze <schwarze@openbsd.org>

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


# 03446679 09-May-2009 schwarze <schwarze@openbsd.org>

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" dera

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)

show more ...


# b3755313 02-Feb-2007 ajacoutot <ajacoutot@openbsd.org>

- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead

- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes

ok mk@

show more ...


# 6e67fba8 26-Oct-2006 ajacoutot <ajacoutot@openbsd.org>

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@


# dc35e6a9 06-Oct-2006 hugh <hugh@openbsd.org>

Exit when asked to here too. Spotted by Theo.


# aba585f0 19-Nov-2005 jmc <jmc@openbsd.org>

remove unhelpful echo from the ac stuff;
ok millert@


# ca608faf 12-Nov-2005 jmc <jmc@openbsd.org>

move the ac(8) stuff to weekly, rather than monthly, since by default
newsyslog truncates wtmp on a weekly basis; note that the ac stuff
remains commented out as before;

spotted by andreas bihlmaier

move the ac(8) stuff to weekly, rather than monthly, since by default
newsyslog truncates wtmp on a weekly basis; note that the ac stuff
remains commented out as before;

spotted by andreas bihlmaier;
ok deraadt@

show more ...


# d48d5573 30-Jun-2003 avsm <avsm@openbsd.org>

spacing nit, and a bit more randomness for mktemp
millert@ ok


# 2f7ca374 08-Apr-2003 millert <millert@openbsd.org>

Use POSIX chown semantics (user:group); noted by Leandro Costa


# a5f7c69a 14-Jan-2003 jakob <jakob@openbsd.org>

use /var/tmp as default temporary directory when building locate database. ok millert@


# e2b6a0e3 27-Jul-2001 fgsch <fgsch@openbsd.org>

remove clean.weekly from here. this can be added in weekly.local if
needed and we don't ship it anyway; millert@ ok.


# e751edb1 19-Sep-1999 alex <alex@openbsd.org>

Rebuild whatis databases.


# e3d20181 04-Aug-1999 mickey <mickey@openbsd.org>

propagate TMPDIR into locate.updatedb


# e3666ab1 02-Feb-1998 millert <millert@openbsd.org>

No need to put a Subject: line. We use "mail -s" in the crontab anyway.


# c7383ee1 15-Sep-1997 deraadt <deraadt@openbsd.org>

delete dated stuff


# e294ac80 04-Jan-1997 millert <millert@openbsd.org>

Use new options to locate.updatedb so we don't have to make the
database owned by non-root at any time.


12