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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to