From 468a6a684d65b9f0178212053ce6d440ee450cf2 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 12 Apr 2022 08:30:58 +0200 Subject: [PATCH 1/3] conf: update systemd conf to fix preview links The previous systemd hardening prevented the Go networking library from resolving a hostname to an IP. Adding the correct permission fixes the hostname resolution, which fixes the retrieval of link previews by Mattermost's server. Fix #340 --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index b00e554..53b1f6a 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -23,7 +23,7 @@ LimitNOFILE=49152 NoNewPrivileges=yes PrivateTmp=yes PrivateDevices=yes -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK RestrictNamespaces=yes RestrictRealtime=yes DevicePolicy=closed From 4bfebef6e73318e44ca0891048a5c5e2bb918661 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 12 Apr 2022 08:47:27 +0200 Subject: [PATCH 2/3] manifest: bump Yunohost version number This will force an upgrade to pick up systemd fixes. --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 25c283b..c47f33c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Open source collaboration platform built for developers", "fr": "Plateforme de collaboration open source conçue pour les développeurs" }, - "version": "6.5.0~ynh1", + "version": "6.5.0~ynh2", "url": "http://www.mattermost.org/", "upstream": { "license": "GPL-3.0-only", From c39ea530de0ca8f3605be304512319014ce93cb6 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 12 Apr 2022 06:47:32 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 45fa4c8..dd31419 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To explore the benefits of Mattermost’s enterprise features, you can replace t - Multiple languages including U.S. English, Australian English, Bulgarian, Chinese (Simplified and Traditional), Dutch, French, German, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Romanian, Russian, Turkish, Spanish, Swedish, and Ukrainian -**Shipped version:** 6.5.0~ynh1 +**Shipped version:** 6.5.0~ynh2 diff --git a/README_fr.md b/README_fr.md index e4be123..c47e284 100644 --- a/README_fr.md +++ b/README_fr.md @@ -33,7 +33,7 @@ Pour explorer les avantages des fonctionnalités d'entreprise de Mattermost, vou - Plusieurs langues dont l'anglais américain, l'anglais australien, le bulgare, le chinois (simplifié et traditionnel), le néerlandais, le français, l'allemand, le hongrois, l'italien, le japonais, le coréen, le polonais, le portugais brésilien, le roumain, le russe, le turc, l'espagnol, le suédois et l'ukrainien -**Version incluse :** 6.5.0~ynh1 +**Version incluse :** 6.5.0~ynh2