Displaying 5 results from an estimated 5 matches for "user_selinux_err".
2017 Sep 20
2
selinux prevents lighttpd from printing
On 09/20/2017 07:19 AM, hw wrote:
> hw wrote:
>>
>> 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
2017 Sep 22
2
selinux prevents lighttpd from printing
...sing I?m supposed to use ausearch to search for something, and
> I don?t know what to search for.
>
> So far, lighttpd can not print and can not send emails (using MIME::Lite) unless
> selinux is permissive.  Using
>
> 'ausearch -c "httpd" -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -i'
>
> , I only get
>
>
> type=PROCTITLE msg=audit(09/21/2017 14:08:40.569:559) : proctitle=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
> type=SYSCALL msg=audit(09/21/2017 14:08:40.569:559) : arch=x86_64 syscall=open success=no exit=EACCES(Permission denied) a0=0x559...
2017 Sep 22
1
selinux prevents lighttpd from printing
...something, and
>>> I don?t know what to search for.
>>>
>>> So far, lighttpd can not print and can not send emails (using MIME::Lite) unless
>>> selinux is permissive.  Using
>>>
>>> 'ausearch -c "httpd" -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -i'
>>>
>>> , I only get
>>>
>>>
>>> type=PROCTITLE msg=audit(09/21/2017 14:08:40.569:559) : proctitle=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
>>> type=SYSCALL msg=audit(09/21/2017 14:08:40.569:559) : arch=x86_64 syscall=open su...
2017 Sep 22
0
selinux prevents lighttpd from printing
...a7dc14f1b
Thanks!  I?m guessing I?m supposed to use ausearch to search for something, and
I don?t know what to search for.
So far, lighttpd can not print and can not send emails (using MIME::Lite) unless
selinux is permissive.  Using
'ausearch -c "httpd" -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -i'
, I only get
type=PROCTITLE msg=audit(09/21/2017 14:08:40.569:559) : proctitle=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
type=SYSCALL msg=audit(09/21/2017 14:08:40.569:559) : arch=x86_64 syscall=open success=no exit=EACCES(Permission denied) a0=0x559fc8094740 a1=O_WRONLY|O_CRE...
2017 Sep 22
0
selinux prevents lighttpd from printing
...for 
>> something, and
>> I don?t know what to search for.
>>
>> So far, lighttpd can not print and can not send emails (using 
>> MIME::Lite) unless
>> selinux is permissive.  Using
>>
>> 'ausearch -c "httpd" -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -i'
>>
>> , I only get
>>
>>
>> type=PROCTITLE msg=audit(09/21/2017 14:08:40.569:559) : 
>> proctitle=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
>> type=SYSCALL msg=audit(09/21/2017 14:08:40.569:559) : arch=x86_64 
>> syscall=open succes...