HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/rpm.cpython-36.pyc
3

3��dV	�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@sLeZdZdZdZdZedddd�ed	d
dd�edd
d
d�gZdZdd�Z	dS)�RpmzRPM Package Manager�rpm�system�packagemanager�rpmqTz%query package information with rpm -q)�defaultZdesc�rpmvaFzverify all packages�rpmdbzcollect /var/lib/rpmc	Cs�|jd�|jd�|jd�r^d}d}d||}|j|ddd	�d
}|j||dddgd
�|jd�r�d|_|jddddddddgd�|jd�r�|jddd�|jd�|jd�dS)Nz/var/log/rpmpkgszls -lanR /var/lib/rpmr	zrpm --nodigest -qa --qf=%sz!"%-59{NVRA} %{INSTALLTIME:date}
"zsh -c '%s | sort -V'zinstalled-rpmsZinstalled_rpms)�root_symlink�tagsz�"%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\t%{INSTALLTIME:date}\t%{INSTALLTIME}\t%{VENDOR}\t%{BUILDHOST}\t%{SIGPGP}\t%{SIGPGP:pgpsig}\n"zpackage-dataZpackage_data)�suggest_filenamerri�zrpm -Vazrpm-Vai��dZrpm_vaZrpm_VZrpm_vZrpm_V_packages)r
ZtimeoutZpriorityrrzlsof +D /var/lib/rpmZlsof_D_var_lib_rpm)rz/var/lib/rpmzrpm --showrc)Z
add_copy_specZadd_cmd_outputZ
get_optionZplugin_timeout)�selfr	ZnvraZirpmsZextpd�r�/usr/lib/python3.6/rpm.py�setups,






z	Rpm.setupN)rr)r)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listZverify_packagesrrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>	s