Merge pull request #1075 from mjs/1382751-prevent-non-subordinate-container-scoped-relations

1382751 prevent non subordinate container scoped relations

This fixes LP #1382751.

Container scoped relations are now only allowed if there's exactly one subordinate service involved. This prevents conditions that should never have been allowed. The Uniter errors and exits when it encounters relations without a subordinate service on one side.

InferEndpoints now ignores container relations unless there's exactly one subordinate service involved.
Merge pull request #1077 from wallyworld/backport-subordinate-relation-fix

Merge pull request #1075 from mjs/1382751-prevent-non-subordinate-contai...

...ner-scoped-relations

1382751 prevent non subordinate container scoped relations

This fixes LP #1382751.

Container scoped relations are now only allowed if there's exactly one subordinate service involved. This prevents conditions that should never have been allowed. The Uniter errors and exits when it encounters relations without a subordinate service on one side.

InferEndpoints now ignores container relations unless there's exactly one subordinate service involved.