[Bug 225657] databases/mysql*server: addition of new ${name}_limits rcvar breaks mysql rc file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 4 03:13:57 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225657

            Bug ID: 225657
           Summary: databases/mysql*server: addition of new ${name}_limits
                    rcvar breaks mysql rc file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: robbak at gmail.com

The recent addition, on -CURRENT at present, of a ${name}_limits rc_var breaks
mysql's rc file. The rc scripts now prepend 'limits -C $_login_class
${name}_limits" to the command line. With the current file, this becomes
"limits -C daemon NO su -m mysql ....", which fails with "limits: NO: No such
file or directory", because it tries to run the command 'NO'.

As a temporary fix, users on CURRENT can delete the : ${mysql_limits="NO"} line
from the rc script. The rc file gives an error when it can't find it, but the
daemon runs normally. The port could be fixed by removing the limits coding
from the rc file if the FreeBSD revision is above 328331

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list