https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282073
Bug ID: 282073
Summary: newsyslog(8): options in /etc/defaults/rc.conf not
consistent with /etc/crontab
Product: Base System
Version: 13.4-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: [email protected]
Reporter: [email protected]
/etc/crontab says:
> # Rotate log files every hour, if necessary.
> 0 * * * * root newsyslog
but /etc/defaults/rc.conf says:
> newsyslog_enable="YES" # Run newsyslog at startup.
> newsyslog_flags="-CN" # Newsyslog flags to create marked files
This means that the behavior is different in the default setup and there is no
comment that the admin is supposed to sync them.
There are several ways to solve that:
* Add default flags to crontab and add comment that the admin needs to sync
(ugly)
* Run "service newsyslog onestart" (in case it has been disabled) from crontab
to have it consistent with "> /dev/null" to omit the message hourly or remove
the message altogether
--
You are receiving this mail because:
You are the assignee for the bug.