[Bug 204331] Syntax error in variable assignment in security_daily_compat_var

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 6 12:18:51 UTC 2015


            Bug ID: 204331
           Summary: Syntax error in variable assignment in
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: martin at 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
/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.

More information about the freebsd-bugs mailing list