-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing rules for bootupd #2334
Comments
More rules missing from a real update:
|
Essentially, bootupd needs to do be able to do all common file/dir create/rename/write/remove operations in the EFI partition. |
zpytela
added a commit
to zpytela/selinux-policy
that referenced
this issue
Sep 2, 2024
How to reproduce: Install a Fedora Silverblue 41 system run sudo semanage permissive -a bootupd_t run sudo rm /boot/bootupd-state.json run sudo bootupctl update The commit addresses the following AVC denial example: type=AVC msg=audit(1725290040.770:431): avc: denied { open } for pid=4524 comm="bootupctl" path="/boot/efi/EFI/BOOT/BOOTIA32.EFI" dev="vda1" ino=142 scontext=system_u:system_r:bootupd_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=file permissive=1 Resolves: fedora-selinux#2334
zpytela
added a commit
to zpytela/selinux-policy
that referenced
this issue
Sep 2, 2024
How to reproduce: Install a Fedora Silverblue 41 system run sudo rm /boot/bootupd-state.json run sudo bootupctl update The commit addresses the following AVC denial example: type=AVC msg=audit(1725290040.770:431): avc: denied { open } for pid=4524 comm="bootupctl" path="/boot/efi/EFI/BOOT/BOOTIA32.EFI" dev="vda1" ino=142 scontext=system_u:system_r:bootupd_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=file permissive=1 Resolves: fedora-selinux#2334
This is running selinux-policy-targeted-41.14-1.fc41.noarch |
zpytela
added a commit
to zpytela/selinux-policy
that referenced
this issue
Sep 2, 2024
How to reproduce: Install a Fedora Silverblue 41 system run sudo rm /boot/bootupd-state.json run sudo bootupctl update The commit addresses the following AVC denial example: type=AVC msg=audit(1725290040.770:431): avc: denied { open } for pid=4524 comm="bootupctl" path="/boot/efi/EFI/BOOT/BOOTIA32.EFI" dev="vda1" ino=142 scontext=system_u:system_r:bootupd_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=file permissive=1 Resolves: fedora-selinux#2334
Next part in #2341 |
karuboniru
pushed a commit
to karuboniru/karuboniru-server
that referenced
this issue
Oct 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Fedora 41 Atomic Desktops, we have the following AVCs:
when running the commands from https://fedoraproject.org/wiki/Changes/FedoraSilverblueBootupd#How_To_Test.
How to reproduce
The text was updated successfully, but these errors were encountered: