I use fedora on a 11ish year old laptop(It had decent specs for its time).

recently i encountered an issue while playing a 11 hour webm video(celluloid flatpak) i had downloaded off youtube,

the screen froze, I could still hear the video sound playing, but the system wasn’t responding to any keyboard presses(Wouldnt switch over to TTY2-4),

I had heard about REISUB and tried it, but it obviously didnt work, after about 2:30 mins the system unfroze and i was shuffled Across numerous TTY’s and the video closed as i had invoked CLTRL+Q

I am not here for a resolution to my problem The issue is reproducible by loading numerous instances of videos whose combined watch time Exceeds about 7-8 hours

I am more curious as to why SYSRQ is disabled and are there any consequences in enabling it(Security Wise)?

  • Atemu@lemmy.ml
    link
    fedilink
    arrow-up
    27
    ·
    11 months ago

    There are some obvious security risks involved in fully enabling the SysRq key. In addition to forcing reboots and the like, it can be used to dump the contents of the CPU registers, which could theoretically reveal sensitive information. Since using it requires physical access to the system (unless you go out of your way), most desktop users will probably consider the level of risk acceptable. That said, make sure you fully understand the implications of enabling it and the dynamics of the larger context in which your system is operating before you turn SysRq all the way on.

    https://wiki.archlinux.org/title/Keyboard_shortcuts#Enabling

    I don’t care about this so sysrq is enabled on all of my desktop systems.

    • Artemis_Mystique@lemmy.mlOP
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      11 months ago

      That said, make sure you fully understand the implications of enabling it

      Are there any other risks to worry about except abuse due to physical access?

      The wording makes it feel kinda Ominous, can improper use potentially lead to a borked system?

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        15
        ·
        11 months ago

        Improper use of sysrq can absolutely lead to a borked system or other breakages as it allows you to initiate unclean shutdowns or kill all processes which can have consequences.

        If your system is stuck though, sysrq is often your only option short of hardware shutdown.