Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2024 09:32:15 -0700
From:      Steve Rikli <sr@genyosha.net>
To:        freebsd-questions@freebsd.org
Subject:   periodic(8) pkg_* tasks not in /etc/defaults/periodic.conf ?
Message-ID:  <ZqpnD/kLL8uvUpZY@dragon.home.genyosha.net>

index | next in thread | raw e-mail

I usually start with /etc/defaults/periodic.conf for candidates I might
want for customizing periodic(8) behavior.  I also check the various
periodic man pages, and scripts themselves occasionally.

Recently I checked periodic.conf(5) and found there are some documented
variables which do not also appear in /etc/defaults/periodic.conf e.g.:

    weekly_status_pkg_enable

as well as pkg_version and pkg_version_index, possibly others.

It seems like most of the man page variables have default settings in
/etc/defaults/periodic.conf so maybe the missing pkg_* variable(s)
entries are a simple omission?

Adding weekly_status_pkg_enable="YES" to /etc/periodic.conf[.local]
works as expected, it just seems atypical there's no default for it.

Happy to file a bug if that's appropriate.

Cheers,
sr.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZqpnD/kLL8uvUpZY>