Re: cups-pdf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/04/2014 04:57 PM, Patrick Dupre wrote:
> 
> 
>> ----- Original Message -----
>> From: Steven Stern
>> Sent: 05/04/14 11:53 PM
>> To: Community support for Fedora users
>> Subject: Re: cups-pdf
>>
>> On 05/04/2014 04:48 PM, Patrick Dupre wrote:
>>>
>>>>> When I try to use cups-pdf to generate pdf file, I have no output.
>>>>> /var/log//cups/cups-pdf_log
>>>>> shows an error:
>>>>>
>>>>> Sun May 4 23:22:44 2014 [ERROR] ghostscript reported an error (256)
>>>>> Sun May 4 23:22:44 2014 [ERROR] failed to set file mode for PDF file (non fatal) (/home/pdupre/Desktop/NICE-OHMS_v2.pdf)
>>>>>
>>>>> I did not find the solution on internet!
>>>>>
>>>>> Thank for your help.
>>>>>
>>>>
>>>> Is SELinux in enforcing mode?
>>>
>>> Yes, If I switch to permissive then the pdf file is generated.
>>>
>>> But on another machine, the file generation is OK even in enforced mode!
>>> (BOTH fc20).
>>
>> Well, there you go! Either you once created an overriding policy or...
>>
> How do I do this?

sealert should offer to show you how to create a policy to allow it.  Do
you have the setroubleshootd daemon running?

sealert -a /var/log/audit

or

sudo grep pdf /var/log/audit/audit.log | audit2allow -M mypol
sudo semodule -i mypol.pp


-- 
-- Steve
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux