diff --git a/SOURCES/Allow-focal_moh_spi-device.patch b/SOURCES/Allow-focal_moh_spi-device.patch new file mode 100644 index 0000000..208cf37 --- /dev/null +++ b/SOURCES/Allow-focal_moh_spi-device.patch @@ -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 diff --git a/SPECS/fprintd.spec b/SPECS/fprintd.spec index d270572..25d273c 100644 --- a/SPECS/fprintd.spec +++ b/SPECS/fprintd.spec @@ -1,6 +1,6 @@ Name: fprintd Version: 1.94.0 -Release: 3%{?dist} +Release: 3%{?dist}.inferit Summary: D-Bus service for Fingerprint reader access License: GPLv2+ @@ -25,6 +25,7 @@ BuildRequires: python3-libpamtest # Test fixes Patch0000: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/157.patch Patch0001: https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/158.patch +Patch0002: Allow-focal_moh_spi-device.patch %description D-Bus service to access fingerprint readers. @@ -97,6 +98,14 @@ fi %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Tue Nov 21 2024 Eduard Basov - 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 - 1.94.0-3 +- Rebuilt for MSVSphere 9.1. + * Thu Aug 26 2021 Benjamin Berg - 1.94.0-3 - Use GFDL abbreviation as GFDLv1.1+ is not listed - Install PAM module into /usr