Dridi/selinux-lostlabel
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SELinux "lost label" inconsistency ================================== To try it out: $ make $ sudo dnf install noarch/lostlabel-0.1-1.noarch.rpm Check that the policy was properly installed: $ sudo semanage fcontext -l | grep lostlabel Finally, create a file inside nested directories: $ sudo mkdir -p /var/lib/lostlabel/foo/bar $ sudo touch /var/lib/lostlabel/foo/bar/baz $ sudo restorecon -rv /var/lib/lostlabel This will show that everything was labeled lostlabel_var_lib_t and then "restored" to the more granular types. Since everything under lostlabel was just created, they never had the correct labels in the first place. To clean it up: $ sudo dnf remove lostlabel It should remove everything cleanly from the system, hopefully.
About
I gave up on this puzzle
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published