← Back
Editing: disable_ipv6.cpython-312.opt-1.pyc
� �% g� � � � d dl Z e j dd�� Zej Zd dl� d dlmZ d dlZd dlZ G d� de� Zy) � Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginc �d � e Zd Z ed� ZdZdZdZ ed� Z ed� Z ed� Z d� Zd� Zy) �pluginz Disable IPV6 properly. � z+If you want to disable IPV6 on this machinezhyou need to set /proc/sys/net/ipv6/conf/all/disable_ipv6 to 1 and do not disable the ipv6 kernel module'z<Add net.ipv6.conf.all.disable_ipv6 = 1 to /etc/sysctl.conf c �8 � t j | t � y )N)r �__init__�__name__)�selfs �1/usr/share/setroubleshoot/plugins/disable_ipv6.pyr zplugin.__init__/ s � �����h�'� c �f � |j dg� r|j dk( r| j � S y )N�module_requestz net-pf-10)�has_any_access_in�kmod�report)r �avcs r �analyzezplugin.analyze2 s. � �� � �"2�!3�4����[�9P��;�;�=� �r N) r � __module__�__qualname__�_�summary�problem_description�fix_description�fix_cmd�if_text� then_text�do_textr r � r r r r sR � � � � �G� ���O��G��=�>�G��|�}�I�� � �G� (�r r ) �gettext�translationr �setroubleshoot.util�setroubleshoot.Pluginr �re�osr r r r �<module>r'