[Bug 210008] periodic: Ignore backup/scratch files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 4 02:11:40 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210008
Bug ID: 210008
Summary: periodic: Ignore backup/scratch files
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: t at tobik.me
Created attachment 170996
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170996&action=edit
periodic.diff
I've edited /etc/periodic/security/700.kernelmsg to filter out some harmless
ZFS warnings (related to too long device names for snapshotted ZVOLs).
Unfortunately my editor left behind a backup file, so the next night periodic
ran both the backup and the original version.
Since /etc/rc.subr ignores scratch files in /etc/rc.d I imagined they would be
ignored in /etc/periodic too. See attached patch to change periodic to ignore
them as well.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list