Allow focal_moh_spi device (#1)

Fix Service File for fingerprint core module

Reviewed-on: #1
Co-authored-by: ebasov <eduard.basov@softline.com>
Co-committed-by: ebasov <eduard.basov@softline.com>
i9 changed/i9/fprintd-1.94.0-3.el9.inferit
ebasov 1 month ago committed by Arkady L. Shane
parent a2d316f071
commit f134efcebe

@ -0,0 +1,20 @@
diff --git a/data/fprintd.service.in b/data/fprintd.service.in
index a4816f9..b96f155 100644
--- a/data/fprintd.service.in
+++ b/data/fprintd.service.in
@@ -21,7 +21,6 @@ PrivateTmp=true
SystemCallFilter=@system-service
# Network
-PrivateNetwork=true
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK
# Execute Mappings
@@ -41,6 +40,7 @@ ProtectClock=yes
DeviceAllow=char-usb_device rw
DeviceAllow=char-spi rw
DeviceAllow=char-hidraw rw
+DeviceAllow=/dev/focal_moh_spi rw
# Allow tuning USB parameters (wakeup and persist)
ReadWritePaths=/sys/devices

@ -1,6 +1,6 @@
Name: fprintd Name: fprintd
Version: 1.94.0 Version: 1.94.0
Release: 3%{?dist} Release: 3%{?dist}.inferit
Summary: D-Bus service for Fingerprint reader access Summary: D-Bus service for Fingerprint reader access
License: GPLv2+ License: GPLv2+
@ -25,6 +25,7 @@ BuildRequires: python3-libpamtest
# Test fixes # Test fixes
Patch0000: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/157.patch Patch0000: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/157.patch
Patch0001: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/158.patch Patch0001: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/158.patch
Patch0002: Allow-focal_moh_spi-device.patch
%description %description
D-Bus service to access fingerprint readers. D-Bus service to access fingerprint readers.
@ -97,6 +98,14 @@ fi
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
%changelog %changelog
* Tue Nov 21 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 1.94.0-3.inferit
- Fix Service File for fingerprint core module
Deleting the "PrivateNetwork" file from the service
Adding to "DeviceAllow" /dev/focal_moh_spi
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.94.0-3
- Rebuilt for MSVSphere 9.1.
* Thu Aug 26 2021 Benjamin Berg <bberg@redhat.com> - 1.94.0-3 * Thu Aug 26 2021 Benjamin Berg <bberg@redhat.com> - 1.94.0-3
- Use GFDL abbreviation as GFDLv1.1+ is not listed - Use GFDL abbreviation as GFDLv1.1+ is not listed
- Install PAM module into /usr - Install PAM module into /usr

Loading…
Cancel
Save