Actions
communication #135098
closedSynapse trying to access /etc/resolv.conf ends up with a permission error
Start date:
2023-09-04
Due date:
% Done:
100%
Estimated time:
Description
Looking at /var/log/matrix-synapse/homeserver.log
, I can see that synapse keeps logging Failed to send request: PermissionError: [Errno 13] Permission denied: b'/etc/resolv.conf'
. Because of this the federation is broken. I am not really sure why it's trying to do anything with that file either, but this needs to be figured out somehow.
Updated by crameleon 8 months ago
- Private changed from Yes to No
sh-5.2# grep resolv.conf /var/log/audit/audit.log|tail -n1
type=AVC msg=audit(1692667577.877:912260): apparmor="DENIED" operation="open" class="file" profile="matrix-synapse" name="/run/netconfig/resolv.conf" pid=4808 comm="python3" requested_mask="r" denied_mask="r" fsuid=476 ouid=0
Actions