# File lib/simp/cli/commands/bootstrap.rb, line 368 def self.fix_file_contexts FileUtils.touch('/.autorelabel') if Facter.value(:selinux) && !Facter.value(:selinux_current_mode).nil? && (Facter.value(:selinux_current_mode) != 'disabled') info('Relabeling filesystem for selinux (this may take a while...)', 'cyan') # This is silly, but there does not seem to be a way to get fixfiles # to shut up without specifying a logfile. Stdout/err still make it to # the our logfile. show_wait_spinner { execute("fixfiles -l /dev/null -f relabel 2>&1 >> #{@logfile.path}") } end end