[Bug 1870408] Re: casper-md5check should leave a breadcrumb which apport, ubiquity, subiquity could use

Brian Murray brian at ubuntu.com
Mon Apr 6 21:26:32 UTC 2020


I think the logic to parse the json file and write the report keys
should exist in hookutils.py that way it is usable by the general
"ubuntu.py" hook and the ubiquity and subiquity hooks.

It'd be good if this file existed on an installed system. Will it be
copied from the live system to the installed one?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1870408

Title:
  casper-md5check should leave a breadcrumb which apport, ubiquity,
  subiquity could use

Status in subiquity:
  New
Status in apport package in Ubuntu:
  Triaged
Status in casper package in Ubuntu:
  In Progress
Status in ubiquity package in Ubuntu:
  New

Bug description:
  casper-md5check should leave a breadcrumb which apport & ubiquity can
  pick up. (subiquity too)

  There will be a file called:

  /run/casper-md5check.json

  If it does not exist, or is empty the check did not run enough to
  validate anything. Treat as skip.

  If it has content it will have:
  {
     "checksum_missmatch" : [
        "./pics/red-upperleft.png",
        "./pics/red-lowerleft.png"
     ],
     "result" : "fail"
  }

  optional checksum_missmatch key, which will have a list of strings
  that are files that failed md5sum.

  result key, which can have string values "pass" "fail" "skip".

  One can use python's json or yaml safe_load to parse the file into a
  dictionary.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1870408/+subscriptions



More information about the foundations-bugs mailing list