+
     6g!
  c                   sz    ^ RI t ] P                  ! RRR7      t]P                   t^ RI5 ^ RIHt  ! R R]4      tR# )	i    Nzsetroubleshoot-pluginsT)Zfallback)Z*)Pluginc                   s   a  ] tR t^t o ]! R4      t]! R4      t]! R4      tRt]! R4      t	]! R4      t
RtR tR	 tR
tV tR# )pluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    a  
    SELinux denied RSYNC access to $TARGET_PATH.
    If this is an RSYNC repository, it has to have a file context label of
    rsync_data_t. If you did not intend to use $TARGET_PATH as an RSYNC repository,
    this message could indicate either a bug or an intrusion attempt.
    a  
    You can alter the file context by executing chcon -R -t rsync_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 rsync_data_t '$FIX_TARGET_PATH'"
    z'chcon -R -t rsync_data_t '$TARGET_PATH'z:If $TARGET_BASE_PATH should be shared via the RSYNC daemonz1You need to change the label on $TARGET_BASE_PATHz\# semanage fcontext -a -t rsync_data_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c                sJ    \         P                  ! V \        4       R V n        R# )ZgreenN)r    __init____name__level)selfs   &//usr/share/setroubleshoot/plugins/rsync_data.pyr   Zplugin.__init__2   s    h'
    c                sJ   VP                  R .4      '       d   VP                  RR.4      '       gr   VP                  VP                  VP                  ,           4      '       d@   VP                  RR.4      '       d'   VP                  4       '       d   V P                  4       # R# )Zrsync_tZsamba_share_tzhttpd_.*_content_tZfileZdirN)Zmatches_source_typesZmatches_target_typesZall_accesses_are_inZr_file_permsZr_dir_permsZhas_tclass_inZpath_is_not_standard_directoryZreport)r   Zavcs   &&r   analyzeZplugin.analyze6   s    $$i[11((/;O)PQQ##C$4$4s$FGGvuo....00;;= r   )r   N)r   Z
__module__Z__qualname__Z__firstlineno___ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ	then_textZdo_textr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sj       	G   	   	O
 8GLMGEFI&G	 	r   r   )ZgettextZtranslationr	   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    r   ) r   r   <module>r
      s:   &  84H ! (%V %r   