I have 2 machines with dovecot and SElinux installed. One is x86_64 the other one is armv6l. They have the same dovecot configuration.
On the x86_64 one, dovecot runs with no problem. On the ARM one dovecot is denied runnig by SELinux:
SELinux is preventing dovecot from using the sys_resource capability.
***** Plugin sys_resource (91.4 confidence) suggests ***********************
If you do not want to get this AVC any longer. These AVC's are caused by running out of resources, usually disk space on your / partition.
Then you must cleanup diskspace or make sure you are not running too many processes.
clear up your disk.
If I disable selinux, dovecot runs fine. Root partition is far from full:
]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 7.1G 4.8G 2.0G 71% /
/dev/root 7.1G 4.8G 2.0G 71% /
devtmpfs 115M 0 115M 0% /dev
tmpfs 115M 0 115M 0% /dev/shm
tmpfs 115M 716K 115M 1% /run
tmpfs 115M 0 115M 0% /sys/fs/cgroup
tmpfs 115M 0 115M 0% /media
/dev/mapper/mail 3.6G 1.2G 2.3G 34% /home/mail
Any idea why it does not behave the same on both architectures and how to have dovecot running without setting a special policy for it on ARM?