[CentOS] selinux prevents lighttpd from printing

Fri Sep 15 10:19:09 UTC 2017
hw <hw at gc-24.de>

Hi,

how do I allow CGI programs to print (using 'lpr -P some-printer some-file.pdf') when
lighttpd is being used for a web server?

When selinux is permissive, the printer prints; when it´s enforcing, the printer
does not print, and I´m getting the log message '/bin/lpr: Permission denied'.

'getsebool -a | grep http' doesn´t show any boolean I could make out to be responsible
for this.

Any idea what I need to do/change to allow printing without disabling selinux?