I use Manjaro Linux with the Cinnamon desktop and sometimes run into system-level issues, but I have no idea how to properly debug them. It doesn’t feel as straightforward as debugging a normal program. What’s the best way or resource to learn system debugging on Linux?

  • paequ2@lemmy.today
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    On Guix, I could bisect (like git bisecting) my OS. So usually what would happen is:

    • I’m running in a good state
    • I accidentally mess something up
    • oh no
    • guix system switch-generation $n, where n is the last known good state
    • then binary search until I find the first bad generation
    • look at the config changes I made
    • fix them
    • back to good state

    Unfortunately, my laptop is too new so Guix isn’t fully compatible with all my hardware. (Yes, I was using nonguix)

    But that was a pretty neat experience compared to debugging something on Arch.