Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
Meridian-2019.1.24
-
Security Level: Default (Default Security Scheme)
-
None
-
macOS Monterey (12.0.1) - Intel
-
2
-
Horizon 2021 - Oct 28 - Nov 10
-
- OpenNMS starts without problems (root and non-root branches) on Darwin
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.