HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/lve.cpython-311.pyc
�

��h���N�ddlZddlZddlmZmZed��d���ZdS)�N)�run�taskzUnloading lve modulec�N��tddg��}|j�|j���ng��fd�dD��}|rtddg|���tgd���}tjd	�����rt
jd
��dSdS)zO
    Restart services that still use lve device and unload lve module then
    �lsofz/dev/lveNc�L���g|]�t�fd��D�������� S)c3�B�K�|]}|����V��dS)N)�
startswith)�.0�line�services  ��py/clconfigure/lve.py�	<genexpr>z/unload_lve_module.<locals>.<listcomp>.<genexpr>s/�����E�E�D�t���w�'�'�E�E�E�E�E�E�)�any)r
r�res_stdout_liness @�r
�
<listcomp>z%unload_lve_module.<locals>.<listcomp>sN���������E�E�E�E�4D�E�E�E�E�E�����r)�mysqld�mariadb�httpd�	systemctl�restart)�modprobez-rf�kmodlvez/sys/module/kmodlvez:Failed to unload the lve module. Please reboot the server.)r�stdout�split�pathlib�Path�exists�logging�warning)�res�servicesrs  @r
�unload_lve_moduler#s�����v�z�"�
#�
#�C�-0�Z�-C�s�z�'�'�)�)�)�������=����H�
�1��[�)�/�h�/�0�0�0�

�,�,�,�
-�
-�C��|�)�*�*�1�1�3�3�V���T�U�U�U�U�U�V�Vr)rr�clconfigurerrr#�rr
�<module>r&sg����������!�!�!�!�!�!�!�!������V�V���V�V�Vr