Updated SELinux relabel setup (rhbz#1731371)
This commit is contained in:
parent
65fabb34c1
commit
712997a5f5
@ -65,6 +65,7 @@ MOZ_LANGPACKS_DIR="$MOZ_DIST_BIN/langpacks"
|
|||||||
MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE"
|
MOZ_PROGRAM="$MOZ_DIST_BIN/$MOZ_FIREFOX_FILE"
|
||||||
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
|
MOZ_LAUNCHER="$MOZ_DIST_BIN/run-mozilla.sh"
|
||||||
|
GETENFORCE_FILE="/usr/sbin/getenforce"
|
||||||
|
|
||||||
##
|
##
|
||||||
## Enable Wayland backend?
|
## Enable Wayland backend?
|
||||||
@ -182,8 +183,8 @@ fi
|
|||||||
# When Firefox is not running, restore SELinux labels for profile files
|
# When Firefox is not running, restore SELinux labels for profile files
|
||||||
# (rhbz#1731371)
|
# (rhbz#1731371)
|
||||||
if [ $MOZILLA_DOWN -ne 0 ]; then
|
if [ $MOZILLA_DOWN -ne 0 ]; then
|
||||||
if [ `getenforce` != "Disabled" ]; then
|
if [ -x $GETENFORCE_FILE ] && [`getenforce` != "Disabled" ]; then
|
||||||
restorecon -vr ~/.mozilla/firefox/* &
|
(restorecon -vr ~/.mozilla/firefox/* &)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ ExcludeArch: s390x
|
|||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 82.0
|
Version: 82.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: https://www.mozilla.org/firefox/
|
URL: https://www.mozilla.org/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
||||||
@ -979,6 +979,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 82.0-2
|
||||||
|
- Updated SELinux relabel setup (rhbz#1731371)
|
||||||
|
|
||||||
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 82.0-1
|
* Thu Oct 15 2020 Martin Stransky <stransky@redhat.com> - 82.0-1
|
||||||
- Updated to 82.0 Build 2
|
- Updated to 82.0 Build 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user