Project

General

Profile

Actions

Submit #3125

closed

periodic: Sync with FreeBSD

Added by liweitianux almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Userland
Target version:
-
Start date:
03/09/2018
Due date:
% Done:

0%

Estimated time:

Description

Hello,

For the "periodic" utility, FreeBSD has deprecated the use of "{daily,weekly,monthly}_status_security_<var>_enable" variables in favor of "security_status_<var>_enable" and "security_status_<var>_period" (daily, weekly, monthly). Therefore, the periodic scripts shipped with pkg(8) simply fail and only give error messages in daily security notification mails.

Here I propose the patches to sync our periodic utility with FreeBSD (current@2018-03-07). The patches are on my branch at GitHub:

https://github.com/liweitianux/dragonflybsd/tree/periodic

and consists of the following 5 commits:

  • periodic(8): Sync with FreeBSD current
  • periodic: Remove already disabled monthly statistics report
  • periodic: Remove obsolete daily/status-named and weekly/clean-kvmdb
  • rc.d/accounting: Sync with FreeBSD
  • periodic: Sync with FreeBSD current

I have tested my patches with a full rebuild and install, and tested "periodic {daily,weekly,monthly}" without problems.

But note that our "weekly/330.catman" has permission problems when enabled, while FreeBSD has already removed catman(1).

Thanks for reviewing and merging my patches.

Best regards,
Aaron

Actions #1

Updated by liweitianux almost 7 years ago

  • Status changed from New to Resolved
  • Assignee set to swildner

Committed by swildner :-)

Actions

Also available in: Atom PDF