The neat way would be to include appropriate configuration into the
webserver recipe, e.g. a file installed in /etc/firewall.d/ that opens the
port (and nothing else).

Alex

On Tue, 16 Aug 2022 at 10:35, Maik Vermeulen <[email protected]>
wrote:

> Hi,
>
> Currently we are struggling with 'interdependent' recipes.
>
> For example:
> A webservice of ours uses a specific port, and needs to be allowed through
> the firewall, for which we also have a recipe.
>
> Is there a neat way to make sure that the firewall recipe only allows that
> specific port if that webservice recipe is actually included in the image?
> And the firewall recipe should allow the port configured in the webservice
> recipe?
>
> Thanks,
> Kind regards,
>
> Maik Vermeulen
>
> Embedded Software Engineer — Lightyear <https://www.lightyear.one/>
> +31 6 16 82 73 79 <+31616827379>
>
> [image:
> https://lightyear.one/careers?utm_source=signature&utm_campaign=spotlightroles&utm_medium=email#vacancies]
> <https://lightyear.one/careers?utm_source=signature&utm_campaign=spotlightroles&utm_medium=email#vacancies>
>
>
>
>
> Automotive Campus 70 —5708 JZ Helmond, the Netherlands
> www.lightyear.one <https://lightyear.one/>
> <https://www.linkedin.com/company/lightyear.one/>
>
> This email may contain information which is privileged and/or
> confidential. If you received this e-mail in error, please notify us
> immediately by e-mail and delete the email without copying or disclosing
> its contents to any other person. Lightyear is a trade name of Atlas
> Technologies B.V. and is registered at the Dutch Chamber of Commerce under
> number 67264298.
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57854): https://lists.yoctoproject.org/g/yocto/message/57854
Mute This Topic: https://lists.yoctoproject.org/mt/93054897/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to