File: //usr/share/setroubleshoot/plugins/cvs_data.pyc
�
c�L]c @ s^ d d l Z e j d d e �Z e j Z d d l Td d l m Z d e f d � � YZ d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B s\ e Z e d � Z e d � Z e d � Z e d � Z e d � Z d Z d � Z d � Z
RS( sS
SELinux is preventing cvs ($SOURCE_PATH) "$ACCESS" access to $TARGET_PATH
s
SELinux denied cvs access to $TARGET_PATH.
If this is a CVS repository it needs to have a file context label of
cvs_data_t. If you did not intend to use $TARGET_PATH as a CVS repository
it could indicate either a bug or it could signal an intrusion attempt.
s
You can alter the file context by executing chcon -R -t cvs_data_t '$TARGET_PATH'
You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t cvs_data_t '$FIX_TARGET_PATH'"
s8 If $TARGET_BASE_PATH should be shared via the cvs daemons2 You need to change the label on $TARGET_BASE_PATH'sZ # semanage fcontext -a -t cvs_data_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c C s t j | t � d | _ d S( Nt green( R t __init__t __name__t level( t self( ( s- /usr/share/setroubleshoot/plugins/cvs_data.pyR 1 s c C s^ | j d g � rV | j | j | j � rV | j d d g � rV | j � rV | j � Sd Sd S( Nt cvs_tt filet dir( t matches_source_typest all_accesses_are_int create_file_permst create_dir_permst
has_tclass_int path_is_not_standard_directoryt reportt None( R t avc( ( s- /usr/share/setroubleshoot/plugins/cvs_data.pyt analyze5 s
( R t
__module__t _t summaryt problem_descriptiont fix_descriptiont if_textt then_textt do_textR R ( ( ( s- /usr/share/setroubleshoot/plugins/cvs_data.pyR s ( t gettextt translationt TrueR t setroubleshoot.utilt setroubleshoot.PluginR R ( ( ( s- /usr/share/setroubleshoot/plugins/cvs_data.pyt <module> s