What does the .autorelabel file do in Linux?

Next time when you will reboot the system, it will relabel the filesystem for SElinux automatically.

This usually occurs when labeling a file system for SELinux for the first time, or when switching between different types of policy, such as changing from the targeted to the strict policy.

Leave a Comment