%PDF- %PDF-
Direktori : /proc/self/root/lib/python3/dist-packages/uaclient/__pycache__/ |
Current File : //proc/self/root/lib/python3/dist-packages/uaclient/__pycache__/actions.cpython-312.pyc |
� �P�f�8 � � � 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 fd�Z3 d-d e jb deejh dejd de j de5f d�Z6 d-d e jb de7de5de5ddf d�Z8 d.d e jb dejr ddfd�Z:ddddd�d 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)�List�Optional)�api�clouds�config�contract�entitlements�event_logger� exceptions� livepatch)�log)�messages�secret_manager)�status)�system�timer�util)�APPARMOR_PROFILES�CLOUD_BUILD_INFO�DEFAULT_CONFIG_FILE�DEFAULT_LOG_PREFIX)� machine_token�notices)�AttachmentData�attachment_data_file�machine_id_file�timer_jobs_state_file)zapt-news.servicezesm-cache.servicezua-timer.servicezua-timer.timerzua-auto-attach.pathzua-auto-attach.servicezua-reboot-cmds.servicezubuntu-advantage.service� �cfg�contract_client�attached_atc � � ddl m} t j t |�� � t j | �� || � |j � y )Nr ��update_motd_messages�r! �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����~�+�F�G� ���������)�)�+� F�services_to_be_enabled�silentc � � d}g }g } |D ]k }t | |j |j |�� \ } } || z }| s|j |j � �Lt j |j �� �m |s�t | ||� t j |� |rot j t ||� D � �cg c]C \ } }| t j j# t% |� t'