e3d0e3b dnf-system-upgrade: s/touch/fixfiles/ to relabel SELinux

Authored and Committed by jflory7 3 years ago
    dnf-system-upgrade: s/touch/fixfiles/ to relabel SELinux
    
    This is a personal preference, but the `fixfiles` command is a
    convenient binary in Fedora that ships with SELinux to handle relabels.
    It does the same thing, but note the use of the `-B` flag.
    
    From the man pages:
    
    > -B:
    > If specified with onboot, this fixfiles will record the current date
    > in the /.autorelabel file, so that it can be used later to speed up
    > labeling. If used with restore, the restore will only affect files
    > that were modified today.
    
    I thought I would share this improvement upstream since I use this page
    often, but I prefer this way of running more lean SELinux checks.
    
    Signed-off-by: Justin W. Flory <git@jwf.io>