QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
538 stars 48 forks source link

Make it easier to setup debugging/development Qubes system #5989

Open marmarek opened 4 years ago

marmarek commented 4 years ago

The problem you're addressing (if any) Complexity of the system makes it tricky to debug issues. Mere enabling more verbose logging for some components is not easy, because of the number of places (xen cmdline, dom0 kernel cmdline, libvirt etc).

Describe the solution you'd like Create optional package containing/depending on various tools useful for debugging (strace, ltrace, gdb, various symbols packages). This package should also modify system configs to increase logs verbosity - for example add separate grub menu entry with verbose Xen logging (loglvl=all guest_loglvl=all, drop console=none etc).

Where is the value to a user, and who might that user be? Simplify development.

Describe alternatives you've considered Documentation page describing useful changes. But given the number of them, it's useful to have them automated.

Relevant documentation you've consulted https://www.qubes-os.org/doc/test-bench/ https://www.qubes-os.org/doc/safe-remote-ttys/ https://www.qubes-os.org/doc/automated-tests/ https://www.qubes-os.org/doc/windows-debugging/

Related, non-duplicate issues A list of links to other bug reports, feature requests, or tasks in the qubes-issues tracker. Do not describe any other unreported bugs, features, or tasks here.

ddevz commented 3 years ago

logVM might help debugging: https://github.com/QubesOS/qubes-issues/issues/830 (which has a pull request https://github.com/QubesOS/qubes-core-agent-linux/pull/321 )