Date: Mon, 14 Oct 2024 08:04:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282073] newsyslog(8): options in /etc/defaults/rc.conf not consistent with /etc/crontab Message-ID: <bug-282073-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282073 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: bugs@FreeBSD.org Reporter: michaelo@FreeBSD.org /etc/crontab says: > # Rotate log files every hour, if necessary. > 0 * * * * root newsyslog but /etc/defaults/rc.conf says: > newsyslog_enable=3D"YES" # Run newsyslog at startup. > newsyslog_flags=3D"-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 cron= tab to have it consistent with "> /dev/null" to omit the message hourly or remo= ve the message altogether --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282073-227>