mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-01-22 13:30:24 +01:00
The code (in file_storage.c) expects mode 0700. However, systemd defaults to 0755. This causes strange behavior. https://bugs.archlinux.org/task/68932
34 lines
634 B
SYSTEMD
34 lines
634 B
SYSTEMD
[Unit]
|
|
Description=Fingerprint Authentication Daemon
|
|
Documentation=man:fprintd(1)
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=net.reactivated.Fprint
|
|
ExecStart=@libexecdir@/fprintd
|
|
|
|
# Filesystem lockdown
|
|
ProtectSystem=strict
|
|
ProtectKernelTunables=true
|
|
ProtectControlGroups=true
|
|
# This always corresponds to /var/lib/fprint
|
|
StateDirectory=fprint
|
|
StateDirectoryMode=0700
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
|
|
# Network
|
|
PrivateNetwork=true
|
|
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK
|
|
|
|
# Execute Mappings
|
|
MemoryDenyWriteExecute=true
|
|
|
|
# Modules
|
|
ProtectKernelModules=true
|
|
|
|
# Real-time
|
|
RestrictRealtime=true
|
|
|
|
# Privilege escalation
|
|
NoNewPrivileges=true
|