Skip to content

Commit

Permalink
Fix USB scanners not working with RestrictAddressFamilies
Browse files Browse the repository at this point in the history
colord-sane scanner drivers using libusb can't initialize properly with
RestrictAddressFamilies set to AF_UNIX. Remove that line to ensure those
can work properly.

This also avoids a crash in HPLIP due to unchecked calls to libusb_init().

Fixes #165
  • Loading branch information
Ferdi265 authored and hughsie committed Jan 30, 2024
1 parent 08a32b2 commit 9283abd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/colord.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
RestrictAddressFamilies=AF_UNIX

ConfigurationDirectory=colord
StateDirectory=colord
Expand Down

0 comments on commit 9283abd

Please sign in to comment.