Repository navigation
Run the container tests against UniFi OS Server 5.1.42 - #32
Merged
Merged
Conversation
The 5.1.x entrypoint never writes /usr/lib/app_model or /usr/lib/product_name, so ubnt-tools id reports an empty model, unifi-core exits with 'Unsupported console model' and ulp-go with 'no device info found'. Map both files in, and add SETPCAP, which journald needs on this image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #29.
Cause. Not the kernel or cgroups. This image's
/entrypoint.shnever writes/usr/lib/app_modelor/usr/lib/product_name(the vendor's/root/uos-entrypoint.shdoes, but nothing runs it).ubnt-tools idthen reports an empty model,unifi-coredies withUnsupported console model: "", andulp-goexits withno device info foundbecause unifi-core's port never opens.Fix. The fixture maps those two files in (
UOSSERVER,uosserver) and addsSETPCAP(journald,218/CAPABILITIES). Image pinned by digest to 5.1.42.Verified. Full suite on OrbStack: 151 passed, 8 skipped (the env-gated live-controller tests), 0 failed. The container tests ran.