Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> losing SELinux labels makes it difficult to restore a backup of the root filesystem on distros that use SELinux

True, but one should get into the practice of creating persistent policies rather than ad-hoc `chcon`'s all the time, so that a `restorecon -FR /` always restores all SELinux labels to the intended state, then the biggest hassle is just booting into initramfs shell to mount rootfs and `touch /.autorelabel`



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: