⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.67
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
setroubleshoot
/
plugins
/
__pycache__
/
View File Name :
swapfile.cpython-39.opt-1.pyc
a èZ`ç ã @ sD d dl Z e jdddZej Zd dlT d dlmZ G dd„ deƒZdS ) é Nzsetroubleshoot-pluginsT)Zfallback)Ú*)ÚPluginc @ sD e Zd ZedƒZedƒZedƒZdZedƒZdZ dd„ Z d d „ ZdS )ÚpluginzG SELinux is preventing $SOURCE_PATH "$ACCESS" to $TARGET_PATH. a SELinux denied $SOURCE access to $TARGET_PATH. If this is a swapfile, it has to have a file context label of swapfile_t. If you did not intend to use $TARGET_PATH as a swapfile, this message could indicate either a bug or an intrusion attempt. a You can alter the file context by executing chcon -t swapfile_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 swapfile_t '$FIX_TARGET_PATH'" z"chcon -t swapfile_t '$TARGET_PATH'z2You need to change the label on '$FIX_TARGET_PATH'zZ# semanage fcontext -a -t swapfile_t '$FIX_TARGET_PATH' # restorecon -v '$FIX_TARGET_PATH'c C s t | t¡ d| _d S )NZgreen)r Ú__init__Ú__name__Úlevel)Úself© r ú-/usr/share/setroubleshoot/plugins/swapfile.pyr 0 s zplugin.__init__c C s6 | dg¡r.| g d¢¡r.| dg¡r.| ¡ S d S d S )NZfsadm_t)ÚreadÚwriteÚgetattrZswaponÚfile)Zmatches_source_typesZall_accesses_are_inZ has_tclass_inZreport)r Zavcr r r Úanalyze4 s ÿ þzplugin.analyzeN)r Ú __module__Ú__qualname__Ú_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZ then_textZdo_textr r r r r r r s r )ÚgettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r Ú
s