"invalid contex" question

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

 



I'm running an FC3 system with the latest rawhide strict policy.  I'm
currently trying to tweak the dovecot files for my system and am running
into an invalid context error.  My changes so far:


Index: domains/program/dovecot.te

+type dovecot_data_t, file_type, sysadmfile;
+create_dir_file(dovecot_t, dovecot_data_t)

Index: file_contexts/program/dovecot.fc

+/var/spool/dovecot(/.*)?  system_u:object_r:dovecot_data_t;


The problem is that after a 'make reload' when I try to relabel
the /var/spool/dovecot directory, I get the error message:

/etc/selinux/strict/contexts/files/file_contexts:  line 999 has invalid
context system_u:object_r:dovecot_data_t;

Doing a 'make install' in the policy directory gives me this same error.
Is there something else I need to do to create this new type?
Thanks.

David

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux