Date: Fri, 06 Nov 2015 12:18:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 204331] Syntax error in variable assignment in security_daily_compat_var Message-ID: <bug-204331-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204331 Bug ID: 204331 Summary: Syntax error in variable assignment in security_daily_compat_var Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: martin@lispworks.com Created attachment 162850 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162850&action=edit Patch to use eval for computed variable assignments The shell function security_daily_compat_var in /etc/defaults/periodic.conf attempts to set the var and periodvar using incorrect shell syntax in the yes case, resulting in errors like /etc/periodic/security/550.ipfwlimit: security_status_ipfwlimit_enable=YES: not found /etc/periodic/security/550.ipfwlimit: security_status_ipfwlimit_period=daily: not found It needs to use eval like in the other case. I found this in 10.1-RELEASE but it looks like same in HEAD. -- 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-204331-8>