~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
2 months ago
Updated
2 months ago
Labels
v3.x

~fkooman 2 months ago

Register here or Log in to comment, or comment via email.