Systemd service sandboxing is too restrictive for colord-sane / HPLIP
Description:
Since 1.4.7, the systemd service file has been augmented with a bunch of sandboxing options. These sandboxing options are restrictive enough to cause scanner drivers that use libusb
to fail. This causes the conditions that trigger hplip#1 (closed).
Additional info:
- package version(s): colord 1.4.7-1, colord-sane 1.4.7-1, hplip 1:3.23.12-2
- config and/or log files: default
- link to upstream bug report, if any: colord issue
Steps to reproduce:
- Install colord, colord-sane, and hplip in the above versions
- run
systemctl restart colord
- see hplip#1 (closed)
Steps to fix:
Commenting out RestrictAddressFamilies=AF_UNIX
in the colord.service
file avoids the circumstances that trigger the HPLIP issue and likely also allows USB scanner drivers to work, though I can't test that since I don't own a USB scanner.