Fix Service File for fingerprint core module

pull/1/head
ebasov 1 month ago
parent a2d316f071
commit 7e8bcd4e24
Signed by: ebasov
GPG Key ID: 3DE9E7A44B2D38F6

@ -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
Version: 1.94.0
Release: 3%{?dist}
Release: 4%{?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
Patch002: fix-service-file.patch
%description
D-Bus service to access fingerprint readers.
@ -97,6 +98,12 @@ fi
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
%changelog
* Tue Nov 21 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 1.94.0-4.inferit
- Fix Service File for fingerprint core module
* 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
- Use GFDL abbreviation as GFDLv1.1+ is not listed
- Install PAM module into /usr

Loading…
Cancel
Save