~eduvpn/server#194: 
SELinux notice when updating vpn-user-portal (EL9)

File context for /var/lib/vpn-user-portal(/.*)? already defined, modifying instead
%post
semanage fcontext -a -t httpd_sys_rw_content_t '%{_localstatedir}/lib/vpn-user-portal(/.*)?' 2>/dev/null || :
restorecon -R %{_localstatedir}/lib/vpn-user-portal || :

%postun
if [ $1 -eq 0 ] ; then  # final removal
semanage fcontext -d -t httpd_sys_rw_content_t '%{_localstatedir}/lib/vpn-user-portal(/.*)?' 2>/dev/null || :
fi
Status
REPORTED
Submitter
~fkooman
Assigned to
No-one
Submitted
10 months ago
Updated
10 months ago
Labels
v3.x

~fkooman 10 months ago