[Bug 259655] [periodic][patch] /etc/periodic/security/security.functions does not respect ${security_show_success}
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 259655] periodic: security/security.functions does not respect ${security_show_success}"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 259655] periodic: security/security.functions does not respect ${security_show_success}"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Nov 2021 09:07:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259655 Bug ID: 259655 Summary: [periodic][patch] /etc/periodic/security/security.functions does not respect ${security_show_success} Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: freebsd@ohreally.nl Created attachment 229288 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229288&action=edit /etc/periodic/security/security.functions : output message unconditionally Hi, The check_diff() function in /etc/periodic/security/security.functions only outputs the message if any differences were found. However, the function should output the message unconditionally, and leave the decision whether or not to display the output to /usr/sbin/periodic; the latter checks the ${security_show_success} variable to make this decision. Patch attached. Cheers, Rob -- You are receiving this mail because: You are the assignee for the bug.