- Plesk for Linux
1. How to preserve quota support across reboots on Plesk and CentOS?
2. What is altering the SELinux context on aquota.user?
3. Does the wrong SELinux context indeed prevent the file system from mounting the quotas with the immutable bit?
1. Once proper SELinux context (
) is set according to steps from article
the file system quota will preserve on system reboots.
2. Immutable flag (i-attribute) is to prevent SELinux context from changing on this file. It is automatically added when a filesystem is mounted with quota support, if
context is set on quota files. The SELinux context should not get altered in this case.
3. Yes, it does. To test it, do the following: set, say, samba_share_t context on
file system for quota support in
, reboot the server and see the user quota supported but disabled. After setting the
context back and rebooting the server, user quota will be enabled.