Trigger udev to set perms on /dev/sgx_provision
This ensures that if qgs is started, without a reboot after install, it will have permissions to access /dev/sgx_provision Resolves: https://issues.redhat.com/browse/RHEL-110112 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
515f4d04fd
commit
e53e83c1ed
@ -1217,6 +1217,12 @@ ln -s libsgx_qe3_logic.so.1 %{buildroot}%{_libdir}/libsgx_qe3_logic.so
|
||||
%sysusers_create_compat %{SOURCE42}
|
||||
%endif
|
||||
|
||||
%post -n sgx-libs
|
||||
if [ -S /run/udev/control ]; then
|
||||
udevadm control --reload
|
||||
udevadm trigger --property-match=DEVNAME=/dev/sgx_provision
|
||||
fi
|
||||
|
||||
%if %{with_aesm}
|
||||
%if %{with_sysusers_scripts}
|
||||
%pre -n sgx-aesm
|
||||
|
||||
Loading…
Reference in New Issue
Block a user