Bug#883143: ejabberd: mod_http_upload fails with permission denied

2017-11-30 Thread Adrien Dorsaz
Hello, As I've written on the ejabberd chatroom, I hade same issue with my server running Debian Stretch since last Saturday IIRC. I've just checked my apt logs and Apparmor has been installed automatically during an upgrade: > Start-Date: 2017-11-21 07:04:28 > Commandline: apt upgrade > Upgrad

Bug#883143: ejabberd: mod_http_upload fails with permission denied

2017-11-30 Thread Soren Stoutner
Philipp, Thank you for your quick response. The problem was indeed caused by AppArmor. I had not realized that it had been enabled by default in testing. Fixing the problem required installing the apparmor-utils package (which contains aa-complain). Then running the following command resolve

Bug#883143: ejabberd: mod_http_upload fails with permission denied

2017-11-29 Thread Philipp Huebner
Hi, I bet you that is because AppArmor has recently been enabled by default for unstable/testing. Please check dmesg and either adjust ejabberdctl's AppArmor profile to your needs or set it to unconfined/complain. The next package upload will set the profile to complain by default. If it's not

Bug#883143: ejabberd: mod_http_upload fails with permission denied

2017-11-29 Thread Soren Stoutner
Package: ejabberd Version: 17.08-3 Severity: normal My ejabberd server has been running successfully with mod_http_upload without issue for some time. Yesterday, after performing a reboot of the server, sending images failed. /var/log/ejabberd/error.log shows the following entry when an attemp