Home / How to avc_cache_threshold persistently in CentOS?

How to avc_cache_threshold persistently in CentOS?

The current runtime is set by the following command.

# echo 8192 > /sys/fs/selinux/avc/cache_threshold

If you want to keep this change, you can run the two commands below to add them to startup.

# echo "echo 8192 > /sys/fs/selinux/avc/cache_thresshold" >> /etc/rc.d/rc.local
# chmod +x /etc/rc.d/rc.local

 

Purchase Dedicated Servers

Select, configure, and buy!

Leave a Reply