Werk #22144 · Aug 13, 26
omd: Don't report errors about uninitialized sites
When omd picks a port for a site, it scans the configuration of all other sites to find a free one.
Sites that have no configuration at all no longer trigger a message.
This used to hit sites created with omd create --no-init, which were reported as unreadable although a site without a configuration allocates no ports and can therefore never collide.
The error message was also reworked.
If a site's configuration genuinely cannot be read, omd now says so exactly once per invocation:
WARNING: Cannot read the configuration of site(s) mysite: permission denied.
This site may allocate ports used by those sites.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- OMD
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions