libsemanage: Do not ignore /root. (#3617)

* libsemanage: Do not ignore /root.

This will cause /root to get inappropriate default_t labels.
This commit is contained in:
Chris PeBenito 2022-08-26 11:31:48 -04:00 committed by GitHub
parent 4c78a0b07d
commit e914449eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"Signatures": {
"libsemanage-3.2.tar.gz": "d722a55ca4fe2d4e2b30527720db657e6238b28079e69e2e4affeb8e733ee511",
"semanage.conf": "68d403bca3d7bd2e90d00cf44622dc0598817197994812e06367df0c239b1204"
"semanage.conf": "ae4a61523757b63ff456c90c75c325db715dd69289943cedb1f3a2f242b4361b"
}
}

View File

@ -3,7 +3,7 @@
Summary: SELinux binary policy manipulation library
Name: libsemanage
Version: 3.2
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
@ -53,9 +53,9 @@ needed for developing applications that manipulate binary policies.
%package python3
Summary: semanage python 3 bindings for libsemanage
Provides: python3-%{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libselinux-python3 >= %{libselinuxver}
Provides: python3-%{name} = %{version}-%{release}
%description python3
The libsemanage-python3 package contains the python 3 bindings for developing
@ -108,6 +108,10 @@ ln -sf %{_libdir}/libsemanage.so.2 %{buildroot}/%{_libdir}/libsemanage.so
%{_libexecdir}/selinux/semanage_migrate_store
%changelog
* Wed Aug 10 2022 Chris PeBenito <chpebeni@microsoft.com> - 3.2-2
- Do not ignore /root for genhomedircon, otherwise it will not
- get correct labeling.
* Fri Aug 13 2021 Thomas Crain <thcrain@microsoft.com> - 3.2-1
- Upgrade to latest upstream version and rebase patch
- Add -fno-semantic-interposition to CFLAGS as recommended by upstream

View File

@ -49,7 +49,6 @@ expand-check=0
usepasswd=False
bzip-small=true
bzip-blocksize=5
ignoredirs=/root
[sefcontext_compile]
path = /usr/sbin/sefcontext_compile