Hard disk quota is disabled after reboot on the system with SELinux enabled

Created:

2017-06-08 04:38:20 UTC

Modified:

2017-08-08 13:22:26 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Hard disk quota is disabled after reboot on the system with SELinux enabled

Symptoms

Hard disk quota is disabled after reboot on the system with SELinux enabled.

File context of the quota files(quota.user) changes after reboot (etc_runtime_t instead of quota_db_t) and as a result the quota became disabled.

Cause

This is a Plesk bug #PPPM-6411. It will be fixed in future Plesk updates.

Resolution

As a workaround, re-enable quota after each reboot.

For Plesk 12.5 CentOS 6 apply modified SELinux policies as below:

# cd /root

# wget https://plesk.zendesk.com/hc/article_attachments/115000559174/plesk-12.5-centos6-selinux-policy.tar.gz
# tar xvzf plesk-12.5-centos6-selinux-policy.tar.gz
# semodule -r plesk && semodule -i plesk.pp

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.