.te and .fc files for postfix and fedora

Daniel J Walsh dwalsh at redhat.com
Wed Dec 29 17:11:39 UTC 2004


Diego Woitasen wrote:

>yeah... i seee
>
>some macros are not defined in targeted, like can_network_[server|
>client]. I solved this problem, but now when i do make policy i get this
>msg:
>
>domains/program/postfix.te:190:ERROR 'unknown type sysadm_mail_t' at
>token ';' on line 16044:
>
>any ideas?
>
>
>
>On Wed, 2004-12-29 at 10:30 -0500, Daniel J Walsh wrote:
>  
>
>>Diego Woitasen wrote:
>>
>>    
>>
>>>and for example, if i want to add postfix to targeted policy, copying
>>>the .te and .fc files from strict-sources to targeted-sources should be
>>>work? or i need to change anything else?
>>>
>>> 
>>>
>>>      
>>>
>>Yes.  But you will need to relabel the files that are touched by 
>>postfix.fc  There might be other problems with other modules that are doing
>>ifdef(`postfix.te', `...') 
>>Or if postfix.te does some things expecting a strict policy environment.
>>
>>Dan
>>
>>    
>>
>>>On Tue, 2004-12-28 at 18:27 -0500, Daniel J Walsh wrote:
>>> 
>>>
>>>      
>>>
>>>>Diego Woitasen wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Somebody have the policy files for postfix? I tried with Debian ones but
>>>>>fails in policy compilation.
>>>>>
>>>>>Where can i get these files?
>>>>>
>>>>>
>>>>>thanks!!!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>selinux-policy-strict-sources has the files.
>>>>
>>>>Dan
>>>>
>>>>--
>>>>fedora-selinux-list mailing list
>>>>fedora-selinux-list at redhat.com
>>>>http://www.redhat.com/mailman/listinfo/fedora-selinux-list
>>>>   
>>>>
>>>>        
>>>>
>>>--
>>>fedora-selinux-list mailing list
>>>fedora-selinux-list at redhat.com
>>>http://www.redhat.com/mailman/listinfo/fedora-selinux-list
>>> 
>>>
>>>      
>>>
>>--
>>fedora-selinux-list mailing list
>>fedora-selinux-list at redhat.com
>>http://www.redhat.com/mailman/listinfo/fedora-selinux-list
>>    
>>
>
>--
>fedora-selinux-list mailing list
>fedora-selinux-list at redhat.com
>http://www.redhat.com/mailman/listinfo/fedora-selinux-list
>  
>
Try sucking in mta.te also.




More information about the fedora-selinux-list mailing list