Skip to content

Commit

Permalink
don't run restorecon before restoring a backup
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jun 5, 2024
1 parent 29abb20 commit ae10786
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
25 changes: 0 additions & 25 deletions definitions/procedures/selinux/set_file_security.rb

This file was deleted.

4 changes: 0 additions & 4 deletions definitions/scenarios/restore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def compose
end

add_steps_with_context(Procedures::Restore::Confirmation,
Procedures::Selinux::SetFileSecurity,
Procedures::Restore::RequiredPackages,
Procedures::Restore::Configs)
add_step_with_context(Procedures::Crond::Stop) if feature(:cron)
Expand Down Expand Up @@ -89,9 +88,6 @@ def set_context_mapping
Procedures::Restore::ForemanDump => :backup_dir,
Procedures::Restore::PulpcoreDump => :backup_dir,
Procedures::Restore::ExtractFiles => :backup_dir)

context.map(:incremental_backup,
Procedures::Selinux::SetFileSecurity => :incremental_backup)
end
end

Expand Down

0 comments on commit ae10786

Please sign in to comment.