
    -_g                     <    d dl mZmZmZ d dlmZ  G d dee      Zy)    )PluginIndependentPluginSoSPredicate)is_executablec                   ,    e Zd ZdZdZdZdZdZd Zd Z	y)	SystemdzSystem management daemonsystemd)systemservicesboot)r	   )/run/systemd/systemc                    | j                  ddddd       | j                  dd       | j                  g d	d
       | j                  dd       t        d      rd}d}nd}d}| j                  ||gt	        | dg             | j                  dd       | j                  d      r| j                  d       | j                  g d       | j                  d       y )Netc_journald_confusr_journald_conf_dsystemd_system_confsystemd_logind_conf)z/etc/systemd/journald.confz/usr/lib/systemd/journald.confz/etc/systemd/system.confz/etc/systemd/logind.confz/lib/systemdT)	recursive)zjournalctl --list-bootszsystemctl list-dependencieszsystemctl list-jobszsystemctl list-machineszsystemctl list-unit-fileszsystemctl list-unitszsystemctl list-units --allzsystemctl list-units --failedzsystemctl list-timers --allzsystemctl show --allzsystemctl show *service --allzsystemctl show-environmentzsystemctl status --allzsystemd-deltazsystemd-analyzezsystemd-analyze blamezsystemd-analyze dumpzsystemd-inhibit --list)
cmd_as_tagtimedatectldate)root_symlink
resolvectlzresolvectl statuszresolvectl statisticszsystemd-resolve --statuszsystemd-resolve --statisticszsystemd-resolved)r   )predzsystemd-analyze plotzsystemd-analyze_plot.svg)suggest_filenameverifyzjournalctl --verify)z/etc/systemd/lib/systemd/systemz/lib/systemd/userz/etc/vconsole.confz/run/systemd/generator*z/run/systemd/seatsz/run/systemd/sessionsr   z/run/systemd/usersz/etc/modules-load.d/*.confz!/etc/yum/protected.d/systemd.confz/etc/tmpfiles.d/*.confz/run/tmpfiles.d/*.confz/usr/lib/tmpfiles.d/*.confz	/dev/null)add_file_tagsadd_dir_listingadd_cmd_outputr   r   
get_optionadd_copy_specadd_forbidden_path)selfresolvectl_statusresolvectl_statisticss      </usr/lib/python3/dist-packages/sos/report/plugins/systemd.pysetupzSystemd.setup   s   *=.C(=(=	
 	 	^t< 
, - 	 	0 	M? & 3$;! :$B!!
 T-?,@A 	 	C
 	2-G 	 	I ??8$ 56 
 	  	,    c                 *    | j                  g d       y )N)z/etc/systemd/systemr   r   )do_paths_http_sub)r#   s    r&   postproczSystemd.postprocb   s      
 	r(   N)
__name__
__module____qualname__
short_descplugin_nameprofilespackagesfilesr'   r+    r(   r&   r   r      s'    +JK-HH$EH-Tr(   r   N)sos.report.pluginsr   r   r   sos.utilitiesr   r   r4   r(   r&   <module>r7      s"    G F 'Xf' Xr(   