install: restore the SELinux context on install
install: restore the SELinux context on install

Try to restore the context for SELinux. If we fail on running
'selinuxenabled', quietly ignore the error and continue. If we fail on the
actual restorecon call, we print a message but disable SELinux - chances are
high that if one restorecon fails, others will too and that's likely a system
setup issue.

Fixes #1967

MathieuDuponchelle/meson,jpakkane/meson,pexip/meson,fmuellner/meson,becm/meson,becm/meson,QuLogic/meson,becm/meson,thiblahute/meson,mesonbuild/meson,becm/meson,jpakkane/meson,jpakkane/meson,jpakkane/meson,mesonbuild/meson,mesonbuild/meson,jpakkane/meson,becm/meson,becm/meson,jeandet/meson,QuLogic/meson,trhd/meson,mesonbuild/meson,ernestask/meson,pexip/meson,thiblahute/meson,fmuellner/meson,mesonbuild/meson,MathieuDuponchelle/meson,thiblahute/meson,QuLogic/meson,trhd/meson,QuLogic/meson,jeandet/meson,QuLogic/meson,mesonbuild/meson,jpakkane/meson,jpakkane/meson,fmuellner/meson,thiblahute/meson,pexip/meson,becm/meson,QuLogic/meson,becm/meson,ernestask/meson,MathieuDuponchelle/meson,jeandet/meson,fmuellner/meson,pexip/meson,ernestask/meson,thiblahute/meson,becm/meson,jpakkane/meson,ernestask/meson,trhd/meson,thiblahute/meson,QuLogic/meson,trhd/meson,jeandet/meson,jpakkane/meson,trhd/meson,ernestask/meson,mesonbuild/meson,jeandet/meson,mesonbuild/meson,mesonbuild/meson,fmuellner/meson,MathieuDuponchelle/meson,fmuellner/meson,trhd/meson,fmuellner/meson,QuLogic/meson,ernestask/meson,mesonbuild/meson,ernestask/meson,becm/meson,jeandet/meson,pexip/meson,trhd/meson,trhd/meson,MathieuDuponchelle/meson,pexip/meson,thiblahute/meson,jeandet/meson,jeandet/meson,ernestask/meson,fmuellner/meson,pexip/meson,MathieuDuponchelle/meson,QuLogic/meson,pexip/meson,MathieuDuponchelle/meson,fmuellner/meson,jeandet/meson,thiblahute/meson,pexip/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,thiblahute/meson,ernestask/meson,pexip/meson,trhd/meson