👁 查看:system_relabel.txt
路径:/usr/lib/python3.9/site-packages/sepolicy/help/system_relabel.txt
大小:399 B · 修改:2023-12-13 14:46:22 · 权限:0644 · 只读
SELinux is a labeling system.  Sometimes the labels on disk can get messed up.  One way to fix this is to trigger a full relabel on the next boot.


You can toggle this behavior using this screen.

Note:  Sometimes a simple restorecon is all you need to fix the labels on a file or directory.

If you add a new disk which does not have labels you could simply execute

# restorecon -R -v PATHTODISK