Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1298

[2]: Regular expression error: pcre_compile() 'nothing to repeat' in expression

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: Evaluation
    • Labels:
      None
    • Platform:
      Any

      Description

      The following policy:

      <pre>
      vars:
      linux::
      "limits[glob-dash-nofile]" string => "* - nofile 30000", policy => "free";
      "limits[app-soft-nproc]" string => "app soft nproc 16357", policy => "free";

      </pre>

      Produces the following error:

      2014-03-27T07:45:45-0700 error: /default/build_linux_limits_conf/files/'/etc/security/limits.final'/default/append_if_no_line/insert_lines/': - nofile 30000'
      [2]: Regular expression error: pcre_compile() 'nothing to repeat' in expression '* - nofile 30000' (offset: 0)

      2014-03-27T07:45:45-0700 error: /default/build_linux_limits_conf/files/'/etc/security/limits.final'/default/append_if_no_line/insert_lines/': - nofile 30000'
      [2]: Regular expression error: pcre_compile() 'nothing to repeat' in expression '* - nofile 30

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                msvoboda@linkedin.com mike svoboda
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel