25.2.5.5 Relabelling a File System

If you see an error message that contains the string file_t, the problem usually lies with a file system having an incorrect context label.

To relabel a file system, use one of the following methods:

  • In the Status view of the SELinux Administration GUI, select the Relabel on next reboot option.

  • Create the file /.autorelabel and reboot the system.

  • Run the fixfiles onboot command and reboot the system.