When the OwnCloud server starts on the C8 machine it just hangs. It won't accept incomming connections from either the app or a browser interface. No errors are reported by SELinux. As soon as SELinux is put into permissive mode (via cockpit) OwnCloud starts function properly. There are still no SELinux messages produced. The audit log isn't helpfull, the summary is below. Also below is a timeline. There were no errors in messages.
After a few days of this I've switched SELinux to permissive on startup, and OwnCloud runs at once. If I now switch SELinux on OwnCloud hangs (white screen, no activity). As soon as I switch it back to permissive OwnCloud works, and yet Cockpit reports no SELinux alerts.
Code: Select all
# cat /etc/centos-release
CentOS Linux release 8.2.2004 (Core)
# uname -a
Linux <hostname> 4.18.0-193.6.3.el8_2.x86_64 #1 SMP Wed Jun 10 11:09:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# sudo -u apache ./occ -V
ownCloud 10.4.1
Timeline
- 11:45 su-ed in from the host.
- 11:50:00 switched to permissive via cockpit
- 11:51:30 switch focus to OwnCloud
- 11:52:00 press F5, connection now successful.
Code: Select all
# aureport -if 2020-06-26_11-50.log
Summary Report
======================
Range of time in logs: 26/06/20 11:45:00.064 - 26/06/20 11:53:00.059
Selected time for report: 26/06/20 11:45:00 - 26/06/20 11:53:00.059
Number of changes in configuration: 1
Number of changes to accounts, groups, or roles: 0
Number of logins: 0
Number of failed logins: 0
Number of authentications: 0
Number of failed authentications: 0
Number of users: 3
Number of terminals: 3
Number of host names: 1
Number of executables: 8
Number of commands: 11
Number of files: 78
Number of AVC's: 0
Number of MAC events: 2
Number of failed syscalls: 285
Number of anomaly events: 0
Number of responses to anomaly events: 0
Number of crypto events: 0
Number of integrity events: 0
Number of virt events: 0
Number of keys: 3
Number of process IDs: 85
Number of events: 400
# aureport -if 2020-06-26_11-50.log -ma
MAC Report
===================================
# date time auid type success event
===================================
1. 26/06/20 11:45:02 -1 USER_ROLE_CHANGE yes 5663
2. 26/06/20 11:49:59 1000 MAC_STATUS yes 6015