I count 3 requests on current plucky, two of them coming from the
plymouth hook, one of them from the general ubuntu hook (which is also
run for apport).

We could reduce the immediate issue in plymouth by moving both of its
requests into a single 'execute_multiple_root_commands', but you'd still
have two prompts. In truth I think we should move to some sort of
continuation-based API to gather all the root-requiring calls from all
the hooks, execute them all in one batch, and run callbacks afterwards.

[snip]
  /usr/share/apport/general-hooks/ubuntu.py(81)add_info()
-> apport.hookutils.attach_casper_md5check(
  
/usr/lib/python3/dist-packages/apport/hookutils.py(1140)attach_casper_md5check()
-> attach_root_command_outputs(report, {"CasperMD5json": f"cat '{location}'"})
  
/usr/lib/python3/dist-packages/apport/hookutils.py(591)attach_root_command_outputs()
-> for k, v in execute_multiple_root_commands(command_map).items():
> /usr/lib/python3/dist-packages/apport/hookutils.py(531)execute_multiple_root_commands()
-> breakpoint()

[snip]
  /usr/share/apport/package-hooks/source_plymouth.py(27)add_info()
-> attach_hardware(report)
  /usr/lib/python3/dist-packages/apport/hookutils.py(249)attach_hardware()
-> attach_dmesg(report)
  /usr/lib/python3/dist-packages/apport/hookutils.py(201)attach_dmesg()
-> report["CurrentDmesg"] = root_command_output(["dmesg"])

[snip]
  /usr/share/apport/package-hooks/source_plymouth.py(27)add_info()
-> attach_hardware(report)
  /usr/lib/python3/dist-packages/apport/hookutils.py(263)attach_hardware()
-> report["acpidump"] = 
root_command_output(["/usr/share/apport/dump_acpi_tables.py"])
> /usr/lib/python3/dist-packages/apport/hookutils.py(500)root_command_output()
-> breakpoint()

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

Title:
  Apport requests admin password multiple times

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2105378/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to