Browse Source

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@
OPENBSD_6_2
schwarze 7 years ago
parent
commit
518142c928
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/weekly

+ 2
- 2
src/etc/weekly View File

@ -1,5 +1,5 @@
#
# $OpenBSD: weekly,v 1.27 2015/08/14 03:02:07 rzalamena Exp $
# $OpenBSD: weekly,v 1.28 2017/04/15 13:12:08 schwarze Exp $
#
# For local additions, create the file /etc/weekly.local.
# To get section headers, use the function next_part in weekly.local.
@ -63,7 +63,7 @@ if [ -f /var/db/locate.database ]; then
fi
next_part "Rebuilding whatis databases:"
/usr/sbin/makewhatis ${MAKEWHATISARGS:--Q}
/usr/sbin/makewhatis $MAKEWHATISARGS
next_part "Doing login accounting:"
[ "X$LOGINACCOUNTING" = X1 ] && {


Loading…
Cancel
Save