From 48ee085440d45324ecf63e9086859e8943e4e8f7 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 27 Aug 2023 17:35:07 +0200 Subject: [PATCH] Lower needed exposed ports warning to info OK for jellyfin_ynh, for instance --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 7daed73..c4422d2 100755 --- a/package_linter.py +++ b/package_linter.py @@ -2600,7 +2600,7 @@ class Script(TestSuite): if self.contains("yunohost firewall allow") and not self.contains( "--needs_exposed_ports" ): - yield Warning( + yield Info( "You used 'yunohost firewall allow' to expose a port on the outside but did not use 'yunohost service add' with '--needs_exposed_ports' ... If you are ABSOLUTELY SURE that the service needs to be exposed on THE OUTSIDE, then add '--needs_exposed_ports' to 'yunohost service add' with the relevant port number. Otherwise, opening the port leads to a significant security risk and you should keep the damn port closed !" )