touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00089
[Bug 1336462] Re: Make apport collect some Power information
To answer the security question, as far as I understand it it can report about system or drivers as it reports about system events
Man page precise the following:
The following column names can used to select OS-type events: os.ver-
sion, subsystem, driver, and device (all text).
The following column names can be used to select RTAS-type events: cre-
ator_id (text); action_flags, platform_id, subsystem_id, pel_severity,
rtas.event_type, event_subtype, kernel_id, and addl_word1 through
addl_word8 (all integers).
The following column names can be used to select ENCLOSURE-type events:
enclosure_serial, enclosure_model (both text).
The following column names can be used to select BMC-type events:
sel_id, sel_type, generator, bmc.version, sensor_type, sensor_number,
event_class, bmc.event_type, and direction (all integers).
As this package is not installed by default, a check for availability of
the command will have to be added (if we consider it is worthwhile to
keep it).
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1336462
Title:
Make apport collect some Power information
Status in “apport” package in Ubuntu:
In Progress
Bug description:
On power/ppc64el system, we would need to enhance current apport reporting tool which some information like file content or commands output including
"/proc/device-tree/"
"/proc/loadavg"
"/proc/locks"
"/proc/misc"
"/proc/swaps"
"/proc/version"
"/dev/nvram"
"/var/log/platform"
"ppc64_cpu --smt"
"ppc64_cpu --cores-present"
"ppc64_cpu --cores-on"
"ppc64_cpu --run-mode"
"ppc64_cpu --frequency"
"ppc64_cpu --dscr"
Readme says : For complete instructions, see /usr/share/doc/apport/package-hooks.txt but
cat: /usr/share/doc/apport/package-hooks.txt: No such file or directory
Do I understand correctly I would need to create a file (for example)
named : /usr/share/apport/general-hooks/power.py ?
Other questions:
Do you have common functions to put output of commands in logfile ?
do you have common functions to copy config file tree content to log file or should I create the list of file and copy content of each file to the logfile ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1336462/+subscriptions