Date: Sat, 04 Jun 2016 02:11:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210008] periodic: Ignore backup/scratch files Message-ID: <bug-210008-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: t@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210008-8>
