YaST2 Developers Documentation: Configuration of kdump

Configuration of kdump

include/kdump/dialogs.ycp
Dialogs definitions
  • Jozef Uhliarik

This module has an unstable interface.

Imports

  • Kdump
  • Mode
  • Package
  • PackageSystem
  • Popup
  • Service

Local Variables

Local Functions

local KDUMP_SAVE_TARGET -> map <string, string >

map of values for "KDUMP_SAVEDIR"

local local_filesystem -> term

definition UI terms for saveing dump target

local InitEnableDisalbeKdump (string key) -> void

Function initializes option "Enable/Disable kdump"

Parameters:
key
local StoreEnableDisalbeKdump (string key, map event) -> void

Function stores option "Enable/Disable kdump"

Parameters:
key
event
local SetUpKDUMP_SAVE_TARGET (string target) -> boolean

Function for handling map values

Parameters:
target
local tostringKDUMP_SAVE_TARGET () -> string

Function for saving KDUMP_SAVE_TARGET to standard outpu for KDUMP_SAVEDIR

local InitTargetKdump (string key) -> void

Function initializes option "Save Traget for Kdump Images"

Parameters:
key
local ValidTargetKdump (string key, map event) -> boolean

Function validates options in "Saving Target for Kdump Image"

Parameters:
key
event
local HandleTargetKdump (string key, map event) -> symbol

Function handles "Saving Target for Kdump Image"

Parameters:
key
event
local StoreTargetKdump (string key, map event) -> void

Function stores option "Saving Target for kdump Image"

Parameters:
key
event
local InitKdumpCommandLine (string key) -> void

Function initializes option "Kdump Command Line"

Parameters:
key
local StoreKdumpCommandLine (string key, map event) -> void

Function stores option "Kdump Command Line"

Parameters:
key
event
local InitKdumpCommandLineAppend (string key) -> void

Function initializes option "Kdump Command Line Append"

Parameters:
key
local StoreKdumpCommandLineAppend (string key, map event) -> void

Function stores option "Kdump Command Line Append"

Parameters:
key
event
local InitNumberDumps (string key) -> void

Function initializes option "Number of Old Dumps"

Parameters:
key
local StoreNumberDumps (string key, map event) -> void

Function stores option "Number of Old Dumps"

Parameters:
key
event
local InitEnableReboot (string key) -> void

Function initializes option "Enable Immediate Reboot After Saving the Core"

Parameters:
key
local StoreEnableReboot (string key, map event) -> void

Function stores option "Enable Immediate Reboot After Saving the Core"

Parameters:
key
event
local SetDumpLevel (string bit_number) -> void

Function initializes option "Dump Level" - visualization in UI

Parameters:
bit_number
local InitDumpLevel (string key) -> void

Function initializes option "Dump Level"

Parameters:
key
local GetDumpLevel () -> string

Function store option "Dump Level" - info from UI checkboxes

local ValidDumpLevel (string key, map event) -> boolean

Function validates options in "Dump Level" install makedumpfile if KDUMP_DUMPLEVEL > 0

Parameters:
key
event
local StoreDumpLevel (string key, map event) -> void

Function stores option "Dump Level"

Parameters:
key
event
local HandleDumpLevel (string key, map event) -> symbol

Hadle function for option "Dump Level"

Parameters:
key
event
local InitKdumpMemory (string key) -> void

Function initializes option "KdumpMemory"

Parameters:
key
local HandleKdumpMemory (string key, map event) -> symbol

Hadle function for option "KdumpMemory"

Parameters:
key
event
local ValidKdumpMemory (string key, map event) -> boolean

Function validates if crashkernel option includes several ranges and ask user about rewritting

Parameters:
key
event
local StoreKdumpMemory (string key, map event) -> void

Store function for option "KdumpMemory"

Parameters:
key
event
local InitInitrdKernel (string key) -> void

Function initializes option "Custom kdump Kernel"

Parameters:
key
local StoreInitrdKernel (string key, map event) -> void

Function stores option "Custom kdump Kernel"

Parameters:
key
event
local InitDumpFormat (string key) -> void

Function initializes option "Dump Format"

Parameters:
key
local ValidDumpFormat (string key, map event) -> boolean

Function validates options in "Dump Format" install makedumpfile if KDUMP_DUMPFORMAT == "compressed"

Parameters:
key
event
local StoreDumpFormat (string key, map event) -> void

Function stores option "Dump Format"

Parameters:
key
event
local InitEnableDeleteImages (string key) -> void

Function initializes option "Enable Delete Old Dump Images"

Parameters:
key
local HandleEnableDeleteImages (string key, map event) -> symbol

Hadle function for option "Enable Delete Old Dump Images"

Parameters:
key
event
local StoreEnableDeleteImages (string key, map event) -> void

Function stores option "Enable Delete Old Dump Images"

Parameters:
key
event
local InitEnableCopyKernel (string key) -> void

Function initializes option "Enable Copy Kernel into the Dump Directory"

Parameters:
key
local StoreEnableCopyKernel (string key, map event) -> void

Function stores option "Enable Copy Kernel into the Dump Directory"

Parameters:
key
event
local InitSMTPServer (string key) -> void

Function initializes option "SMTP Server"

Parameters:
key
local StoreSMTPServer (string key, map event) -> void

Function stores option "SMTP Server"

Parameters:
key
event
local InitSMTPUser (string key) -> void

Function initializes option "User Name" (SMTP Settings)

Parameters:
key
local StoreSMTPUser (string key, map event) -> void

Function stores option "User Name" (SMTP Settings)

Parameters:
key
event
local InitSMTPPassword (string key) -> void

Function initializes option "Password" (SMTP Settings)

Parameters:
key
local StoreSMTPPassword (string key, map event) -> void

Function stores option "Password" (SMTP Settings)

Parameters:
key
event
local InitNotificationTo (string key) -> void

Function initializes option "Notification To"

Parameters:
key
local StoreNotificationTo (string key, map event) -> void

Function stores option "Notification To"

Parameters:
key
event
local InitNotificationCC (string key) -> void

Function initializes option "Notification CC"

Parameters:
key
local StoreNotificationCC (string key, map event) -> void

Function stores option "Notification CC"

Parameters:
key
event
local ValidEmail (string key, map event) -> boolean

Function validates options in "Dump Format" install makedumpfile if KDUMP_DUMPFORMAT == "compressed"

Parameters:
key
event