⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
uaclient
/
__pycache__
/
View File Name :
actions.cpython-312.pyc
f8 d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZm Z d dl mZmZm Z mZmZmZmZmZ d dl mZ d dl mZmZ d dl mZ d dl mZmZmZ d dlmZmZmZm Z d d l!m"Z"m#Z# d d l$m%Z%m&Z&m'Z'm(Z( ejR Z* ejV ejX e- Z.dZ/dZ0d e jb dejd de j fdZ3 d-d e jb deejh dejd de j de5f dZ6 d-d e jb de7de5de5ddf dZ8 d.d e jb dejr ddfdZ:dddddd e jb de7de5de7de5d e ee7 fd!Z;ddd"d e jb d#e e7 d$e5fd%Zd&e7ddfd'Z< d/d&e7d(e ee= ddfd)Z>d e jb fd*Z?d e jb d+e7fd,Z@y)0 N)ListOptional)apicloudsconfigcontractentitlementsevent_logger exceptions livepatch)log)messagessecret_manager)status)systemtimerutil)APPARMOR_PROFILESCLOUD_BUILD_INFODEFAULT_CONFIG_FILEDEFAULT_LOG_PREFIX) machine_tokennotices)AttachmentDataattachment_data_filemachine_id_filetimer_jobs_state_file)zapt-news.servicezesm-cache.servicezua-timer.servicezua-timer.timerzua-auto-attach.pathzua-auto-attach.servicezua-reboot-cmds.servicezubuntu-advantage.service cfgcontract_clientattached_atc ddl m} t j t | t j | || |j y )Nr update_motd_messagesr! r )uaclient.timer.update_messagingr$ r writer ua_statusr update_activity_token)r r r! r$ s 2/usr/lib/python3/dist-packages/uaclient/actions.py_handle_partial_attachr, 8 s= E~+FG ))+ Fservices_to_be_enabledsilentc d}g }g } |D ]k }t | |j |j | \ } } || z }| s|j |j Lt j |j m |st | || t j | |rot j t || D cg c]C \ } }| t j j# t% | t' j( fE c}} t j* |D cg c] } | t j, f c} y # t j $ r3}t j j t | || |d }~wt j $ r! |j j d}Y At $ r9}d}|j j |j | Y d }~}d }~ww xY wc c}} w c c} w )NT)r namevariantr/ )serviceF) error_msglog_path)failed_services)enable_entitlement_by_namer1 r2 appendeventservice_processedr ConnectivityErrorservice_failedr, UbuntuProError Exceptionservices_failedAttachFailureUnknownErrorzipr UNEXPECTED_ERRORformatstrpro_logget_user_or_root_log_file_pathAttachFailureDefaultServices!E_ATTACH_FAILURE_DEFAULT_SERVICES)r r. r r! r/ retr6 unexpected_errorsenable_by_default_serviceent_retreasonexcer1 exceptions r+ _enable_default_servicesrQ E s CO$)?%8.33199 OGV 7NC&&'@'E'EF''0I0N0N'O *@2 sO[A o.66 ,/'):,!,i 1188&))n%,%K%K%M 9 ,! 99 !0! / 8EEF /! + '' 6;;<sO[A $$ 8==> $8==> ##$!!s7 A0E =AG> !HG;.F3G;:G;.G66G;tokenallow_enablereturnc ddl m} ddlm} t j j | t j | }t j | }t j j t j j }|j || } t! j" j$ } | j' di j' di }t) d |j' d g D }|j' d i j' di j' dd } | rt! j* | }| | k7 r+t- j. |j0 |j2 t5 j6 t4 j8 j: |j0 |j2 |j= | || t jB jE | j' di j' dt! jB | }tG j<