# Installed by Chandra's face unlock (face/install.py) as # /etc/systemd/system/polkit-agent-helper@.service.d/50-chandra-face.conf # # polkit runs PAM for the password dialog (run0, pkexec) in this unit. Its PrivateDevices=yes # gives it a /dev with no cameras, so pam_chandra_face.so could never see one there. [Service] PrivateDevices=no # Of the real /dev, only the standard pseudo devices and cameras (V4L2, media, dma_heap) can be opened. DevicePolicy=closed DeviceAllow=char-video4linux rw DeviceAllow=char-media rw DeviceAllow=char-dma_heap rw # What PrivateDevices=yes also did, kept. CapabilityBoundingSet=~CAP_MKNOD CAP_SYS_RAWIO SystemCallFilter=~@raw-io