Skip to content
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

Allow /etc/crypttab to be written with USB keyfiles #2488

Open
wants to merge 1 commit into
base: rawhide
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -1311,8 +1311,9 @@ fs_read_efivarfs_files(systemd_bless_boot_generator_t)

### cryptsetup generator
manage_dirs_pattern(systemd_cryptsetup_generator_t, systemd_fstab_generator_unit_file_t, systemd_fstab_generator_unit_file_t)

manage_files_pattern(systemd_cryptsetup_generator_t, systemd_fstab_generator_unit_file_t, systemd_fstab_generator_unit_file_t)
manage_dirs_pattern(systemd_cryptsetup_generator_t, init_var_run_t, init_var_run_t)
manage_files_pattern(systemd_cryptsetup_generator_t, init_var_run_t, init_var_run_t)

### fstab generator
allow systemd_fstab_generator_t self:capability { dac_override dac_read_search };
Expand Down