Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76730 - [mattermost] AF_NETLINK permission required for link preview to work

Attached to Project: Community Packages
Opened by Nicolas Goy (kuon) - Saturday, 03 December 2022, 12:21 GMT
Last edited by Caleb Maclennan (alerque) - Friday, 06 January 2023, 12:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With the current mattermost systemd file, the following configuration is et:

RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6

But for the link preview and image cache features of mattermost, the following configuration is required

RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK

AF_NETLINK must be allowed


This is with package v 7.4.0-1


As for the logs, all link preview and image caching requests ends with this error

Dec 03 01:01:44 overmind mattermost[2090951]: {"timestamp":"2022-12-03 01:01:44.625 +01:00","level":"warn","msg":"error fetching remote image
: Get \"https://lemonde.fr\": address forbidden, you may need to set AllowedUntrustedInternal
Connections to allow an integration access to your internal network","caller":"imageproxy/local.go:156"}

This task depends upon

Closed by  Caleb Maclennan (alerque)
Friday, 06 January 2023, 12:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  mattermost-7.5.2-3

Loading...