macOS Monterey: older OpenNMS branches do not start anymore

Description

After upgrading my MacBook to macOS Monterey (12.0.1) I realized that I was unable to start OpenNMS builds based on branches that still run as the root user. It took a while but finally I figured out, that the call „ulimit -s unlimited“ seems to break the OpenNMS start script. After the invocation of „ulimit -s unlimited“ no external script or binary will be executed. So, the fix is to remove the "-s“ from the Darwin-only for-loop.

For newer branches that run as a non-root user, the „ulimit -s unlimited“ call will be ignored since it is not allowed for an unpriviledged user. So, in both cases (root, non-root) the default of 8192 kbytes will be applied.

Environment

macOS Monterey (12.0.1) - Intel

Acceptance / Success Criteria

  • OpenNMS starts without problems (root and non-root branches) on Darwin

Lucidchart Diagrams

Activity

Show:

Christian Pape November 1, 2021 at 6:18 PM

Merged.

Christian Pape October 28, 2021 at 7:50 AM

Fixed

Details

Assignee

Reporter

Story Points

Sprint

Affects versions

Priority

PagerDuty

Created October 28, 2021 at 6:22 AM
Updated November 9, 2021 at 2:54 PM
Resolved November 1, 2021 at 6:18 PM

Flag notifications