+
    Û1jË  ã                   ó2   € ^ RI HtHtHt  ! R R]]4      tR# )é    )ÚPluginÚRedHatPluginÚ	PluginOptc                   ób   a € ] tR t^t o RtRtRtRtRtRt	]
! RRRR7      .tR tR	 tR
 tRtV tR# )Ú	DNFPluginaØ  
The DNF plugin collects information for the dnf package manager and how it
is configured for local system.

By default, this plugin will collect configuration files from /etc/dnf,
repo files defined in /etc/yum.repos.d/, module information, and various
'dnf list' commands.

When using the 'history-info' option, detailed transaction information will
be collected for the most recent 50 dnf transactions, and will be saved to
the sos_commands/dnf/history-info directory.
zdnf package managerÚdnfúhistory-infoFz$collect detailed transaction history)ÚdefaultÚdescc                óÎ   € V'       g   R# VP                  4        FF  pRV9   g   K  VP                  4       ^ ,          pVR8w  g   K,  V P                  RV,           RR7       KH  	  R# )zGet DN module information Nz[i]zHint:zdnf module info Údnf_module_info©Útags)Ú
splitlinesÚsplitÚadd_cmd_output)ÚselfÚmodulesÚlineÚmodules   &&  Ú8/usr/lib/python3/dist-packages/sos/report/plugins/dnf.pyÚget_modules_infoÚDNFPlugin.get_modules_info(   sZ   € çÙð ×&Ñ&Ö(ˆDØ˜Ž}ØŸ™› a��Ø˜WÖ$Ø×'Ñ'Ð(:¸VÕ(CØ->ð (ö @ó	 )ó    c                ó  € V P                  R 4      pV P                  RR/4       V P                  . R"O4       V P                  R. R#OR7       V P                  R4      '       d   V P                  R4       M3V P                  R4       V P                  R4       V P                  R	4       V P	                  R
RR7       V P	                  . R$O4       V P	                  RRR.R7       V P	                  RRR.R7       V'       d   V P	                  R4       MV P	                  R4       V P                  RR.4       V P                  . R%O4       RV P                  R 4      '       d   RMR 2pV P                  R4      '       g   V P	                  VRR7       M­V P                  VRR7      pR&pVR,          '       dO   VR,          P                  4        F3  p \        VP                  R4      ^ ,          P                  4       4      p M	  \        ^\        V^,           ^24      4       F  pV P	                  RV 2RRR7       K  	  V'       g.   R pV P                  V4      pV P                  VR,          4       R!# R!#   \         d     K·  i ; i)'Údnf5z/etc/dnf/modules.d/.*.moduleÚdnf_modulesz/etc/yum.repos.d/r   Úall_logsú/var/log/dnf.*z/var/log/dnf.log*z/var/log/dnf.librepo.log*z/var/log/dnf.rpm.log*zdnf module listÚdnf_module_listzdnf list installedÚyum_list_installedÚdnf_list_installedzdnf -C repolistÚyum_repolistÚdnf_repolistzdnf repo infozdnf -C repolist --verbosez/etc/pki/entitlement/key.pemz/etc/pki/entitlement/*-key.pemzdnf history ÚlistÚ r	   Údnf_historyÚoutputÚ|zdnf history info Údnf_history_info)Úsubdirr   zdnf module list --installedN)z	/etc/dnf/z/etc/yum.confz/etc/yum/pluginconf.d/z/etc/yum/vars/)Úyum_repos_dÚdnf_repos_dÚdnf_repo)zdnf --versionzdnf list extraszdnf updateinfo info securityzdnf updateinfo list --availablezpackage-cleanup --dupeszpackage-cleanup --problems)z/etc/pki/product/*.pemz/etc/pki/consumer/cert.pemz/etc/pki/entitlement/*.peméÿÿÿÿ)Úis_installedÚadd_file_tagsÚadd_copy_specÚ
get_optionr   Úadd_forbidden_pathÚcollect_cmd_outputr   Úintr   ÚstripÚ
ValueErrorÚrangeÚminr   )	r   Úhas_dnf5ÚcmdÚhistoryÚtransactionsr   Útr_idÚ
module_cmdr   s	   &        r   ÚsetupÚDNFPlugin.setup5   s˜  € Ø×$Ñ$ VÓ,ˆà×ÑØ*¨Mð
ô 	ð 	×Ñò 
ô 	ð 	×ÑÐ.Ú Jð 	ô 	Lð �?‰?˜:×&Ò&Ø×ÑÐ/Õ0à×ÑÐ2Ô3Ø×ÑÐ:Ô;Ø×ÑÐ6Ô7à×ÑÐ-Ø!2ð 	ô 	4ð 	×Ñò 
ô 	ð 	×ÑÐ0Ø"6Ð8LÐ!Mð 	ô 	Oð 	×ÑÐ-Ø"0°.Ð!Að 	ô 	C÷ Ø×Ñ Õ0à×ÑÐ ;Ô<à×ÑØ*Ø,ð!
ô 	ð
 	×Ñò 
ô 	ð  t×'8Ñ'8¸×'@Ò'@™VÀbÐIÐJˆØ�‰˜~×.Ò.Ø×Ñ ¨-ÐÕ8à×-Ñ-¨c¸Ð-ÓFˆGØˆLØ�x× Ô Ø# HÕ-×8Ñ8Ö:�DðÜ'*¨4¯:©:°c«?¸1Õ+=×+CÑ+CÓ+EÓ'F˜Ùñ ;ô ˜q¤# l°1¥n°bÓ"9Ö:�Ø×#Ñ#Ð&7¸°wÐ$?Ø+9Ø);ð $ö =ñ ;÷
 à6ˆJØ×-Ñ-¨jÓ9ˆGØ×!Ñ! '¨(Õ"3Ö4ñ	 øô &ô âðús   Ç/I7É7JÊJc                óŽ   € R pRpR F  pV P                  W1V4       K  	  V P                  RW4       V P                  RR.4       R# )z(password(\s)*=(\s)*)(\S+)\nz\1********\nú/etc/yum.repos.d/*ú/etc/dnf/dnf.confr   N)rD   z/etc/dnf/vars/*)Údo_path_regex_subÚdo_file_subÚdo_paths_http_sub)r   ÚregexpÚreplÚfiles   &   r   ÚpostprocÚDNFPlugin.postproc‡   sV   € ð 1ˆØˆÛ=ˆDØ×"Ñ" 4°Ö6ñ >ð 	×ÑÐ,¨fÔ;ð 	×ÑØ Øð 
ö 	r   © N)ÚsystemÚpackagemanagerÚsysmgmt)rE   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
short_descÚplugin_nameÚprofilesÚfilesÚpackagesr   Úoption_listr   rA   rL   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sT   ø‡ € ñð '€JØ€KØ6€Hà"€EØ€Hñ 	�.¨%Ø=ô	?ð€Kò
@òP5÷dð r   r   N)Úsos.report.pluginsr   r   r   r   rN   r   r   Ú<module>ra      s   ð÷ ?Ñ >ôV�˜ö Vr   