KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/root/usr/share/kdump/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/share/kdump/firstboot_kdump.pyo
mò
ëÄTc@sÅdkZeiidƒdkTdkZdkZdkZdkZdkZdkZdk	Z	dk
Z
dkiZdk
lZdklZlZdklZeidƒdfd„ƒYZdS(	Ns/usr/share/system-config-kdump/(t*(s
start_process(t_sN_(s	translateskexec-toolstchildWindowcBsËtZdZedƒZeZeZhdd<dd<d
d <ZdZ
dZdddddgZdgZ
eZd„Zd„Zd„Zd„Zd„Zdd„Zd„Zd„Zd„ZRS(!NiFtKdumptgrubs/boot/grub/grub.confis/boottyaboots/boot/etc/yaboot.confi telilos/boot/efi/EFI/redhat/elilo.confis/boot/efi/EFI/redhatitppcts390ts390xti386ti586tppc64cCsm|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ||_	dS(N(
tselfttotalMemt
set_sensitivetstatustkdumpMemtsystemUsableMemt
labelTotalt
labelKdumptlabelSystkdumpEnabled(R
R((t#/usr/share/kdump/firstboot_kdump.pytshowHideCscGs |iiƒ}|i|ƒdS(N(R
tenableKdumpCheckt
get_activetshowHideStatusR(R
targsR((Rton_enableKdumpCheck_toggledLscCs1|i|iƒ|_|iid|iƒdS(Ns%s(R
tavailMemtspintget_value_as_inttremMemRtset_text(R
twidgetR((RtupdateAvailPscCsSxI|iiƒD]8\}\}}}ti|ti	ƒo
||_
qqW|i
S(N(R
tbootloaderstitemstnametconftoffsettkpathtostaccesstW_OKt
bootloader(R
R'R*R(R)((Rt
getBootloaderTs
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t3iZd9d:ƒ}|i\|i6dd9ddt3i]t3i]d;d;ƒ	|i\|i:dddd9t3i]ƒ|i\|i9dd9dd9t3i^t3i]d;d;ƒ	|i\|iFddd9d<t3i]ƒ|i\|idd9d9d<t3i^t3i]d;d;ƒ	|i\|iMddd<d:t3i]ƒ|i\|iLdd9d<d:t3i^t3i]d;d;ƒ	|i,tjo|i_tƒn|i6i`tƒ|iY|td=ƒ|i6iDd>|iaƒ|iOiY|td=ƒ|iO||ibfS(?Nsinitializing kdump modules
/bin/uname -rs
/bin/uname -ms	/proc/xens/etc/redhat-releasetrheltFedoraiÿÿÿÿtfedoras/boot/vmlinux-%skdumps
/proc/meminfois	MemTotal:iitRs/proc/iomemsCrash kernelt-t:s
/proc/cmdlinescrashkernel=cCs
|idƒS(Nscrashkernel=(ttt
startswith(R;((Rt<lambda>st=t@tkernelti686s
System RAMls
kernel-PAEs%dM@%dMs-crashkernel region of %sM at offset %sM founds(hex offset %s to %s)i€ii@tia64is_Enable kdump?txaligntyaligns%ss_Total System Memory (MB):f0.0f0.5i t
value_changeds_Kdump Memory (MB):s_Usable System Memory (MB):iiÈsworkstation.pngi
s#Kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump will capture information from your system that can be invaluable in determining the cause of the crash. Note that kdump does require reserving a portion of system memory that will be unavailable for other uses.iôiiiiittoggled(ctdoDebugR
R+tpopentreadtstript
runningKerneltarchtFalset	xenKernelR,tR_OKtTruetreleaseFiletdistrotopent	readlinestlinestlinetfindtkernelKdumpArchestkernelKdumptkernelKdumpInstalledtmemInfoRR<R1tsplitRtkdumpOffsettkdumpMemInitialtorigCrashKernelRtioMemt
hexCKstartthexCKendR4tcmdLinetfiltertcrashStringt_[1]tmtxenKdumpKerneltrangeEndtinitialStatet
lowerBoundtdefRest	minUsabletstept	enoughMemt
upperBoundtgtktCheckButtonRRt
set_alignmenttLabelRRtset_use_underlinetset_mnemonic_widgettset_width_charst
AdjustmenttmemSpint
SpinButtontset_update_policytUPDATE_IF_VALIDtset_numerictconnectR$Rtevaltstringtget_texttresMemR!RRtVBoxtvboxtset_size_requestt	functionst
imageFromFilet	title_pixtinternalVBoxtset_border_widthtset_spacingtlabelt
set_line_wrapt
pack_starttTablettabletattachtFILLtSHRINKRt
set_activeRt
moduleName(R
RGRlRiRgR`RRbRˆRaRpRŒRcRQR[RnRmRVRkReRURfR‰((Rtlaunchas			
										,
	 D	,
			


	



$!


.".".".cCs|iiƒdS(N(R
Rt
grab_focus(R
((Rt	grabFocus-sc
GsÀ|ioA|iiƒ}	tti|	ƒƒ}	|ii	ƒ}|	|}n
|i}|i
oDd|i|ifGH|iiƒod|	||fGHq¢dGHn|ioR|ioH|idjo8|itdƒƒ|iitƒ|itƒdSn<|io1|io'|itd|i|ifƒƒn|itjoB|io8|itdƒƒ|iitƒ|itƒdSnS|i|ijo?|itd	|iƒƒ|iitƒ|itƒdSn|i|ijo!|itjod
|i}nd}|i|ijp||ijoyti ddti"ti#td|ƒƒ}|i%ti&ƒ|i'ƒ|i(ƒ}|i*ƒ|ti+jot|_,dSq¼t-|_,|i.ƒdjo8|itd
ƒƒ|iitƒ|itƒdSnV|i/|i0d|_1|idjo|io
d|_2n|i/|i0d|_2|io:|io/d|i0|i1|i||i2f}d}n¢|io9|io/d|i0|i1|i||i2f}d}n_|io,d|i0|i1|i|i5f}d}n)d|i0|i1|i|i5f}d}|i
o"d|i0|i2fGHd|GHq¼t6i7|ƒt6i7d|ƒ|i0djot6i7dƒq¼n
t|_,dS(Ns$Running kernel %s on %s architectures9System Mem: %s MB    Kdump Mem: %s MB    Avail Mem: %s MBsKdump will be disabledRBs:Sorry, ia64 xen kernels do not support kdump at this time.is·WARNING: xen kdump support requires a non-xen %s RPM to perform actual crash dump capture. Please be sure you have the non-xen %s RPM of the same version as your xen kernel installed.sFSorry, your system does not have enough memory for kdump to be viable!s?Sorry, the %s architecture does not support kdump at this time!sø

Note that the %s architecture does not feature a relocatable kernel at this time, and thus requires a separate kernel-kdump package to be installed for kdump to function. This can be installed via 'yum install kernel-kdump' at your convenience.

R8s¸Changing Kdump settings requires rebooting the system to reallocate memory accordingly. %sWould you like to continue with this change and reboot the system after firstboot is complete?s?Error! No bootloader config file found, aborting configuration!itx86_64i isJ/sbin/grubby --%s --update-kernel=%s/vmlinuz-%s --args=crashkernel=%iM@%iMtonsL/sbin/grubby --%s --update-kernel=%s/vmlinuz-%s --mbargs=crashkernel=%iM@%iMsN/sbin/grubby --%s --update-kernel=%s/vmlinuz-%s --remove-mbargs=crashkernel=%stoffsL/sbin/grubby --%s --update-kernel=%s/vmlinuz-%s --remove-args=crashkernel=%ss#Using %s bootloader with %iM offsetsGrubby command would be:
    %ss/sbin/chkconfig kdump %sRs
/sbin/ybin(8R
RRRttotalSysMemRR€RJRR treservedMemtremainingMemR^RGRKRLRRRNtshowErrorMessageRR”RMRRhRotunsupportedArchesRXRZtkernelKdumpNoteRjRqt
MessageDialogtNonetMESSAGE_INFOtBUTTONS_YES_NOtdlgtset_positiontWIN_POS_CENTERtshow_alltruntrctdestroytRESPONSE_NOtneedsRebootRPR/R%R.R*R)t	grubbyCmdtchkconfigStatusR_R+tsystem(
R
RRžR¯R°R«R¦R¡RRœ((Rtapply0s
	
	$
'

##

		

%
%

"
"


	cCsXtiddtiti|ƒ}|itiƒ|i	t
ƒ|iƒ}|i
ƒdS(Ni(RqR¢R£t
MESSAGE_ERRORt
BUTTONS_OKttextR¦R§R¨t	set_modalRPRªR«R¬(R
RµR¦R«((RRŸ¤s!

(s/boot/grub/grub.confis/boot(s/boot/etc/yaboot.confi s/boot(s/boot/efi/EFI/redhat/elilo.confis/boot/efi/EFI/redhat(t__name__t
__module__trunPriorityRR•t
windowNameRMR®R%R£R.R)R RXRZRRR$R/R4R–R˜R²RŸ(((RR,s&!							Ì		t(tsystpathtappendRqR€R+tos.pathttimetgobjectR†tcommandst
rhpl.executiltexecutilt	firstboott
start_processtrhpl.translateRtN_trhplt	translatet
textdomainR(RR†RÉR€RqRÁR»RÇR¿RÀRÅR+RRÃ((Rt?s 									




Anon7 - 2021