USBGuard / usbguard

USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)

Home Page:https://usbguard.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing USBGuard to Debain 11 custom livecd causes squashfs read errors

subhaniminhas opened this issue · comments

I build PakOS Linux using debain live build tools. In version 10, I used to have USB Guard, pre installed, just in case I need it to disable USBs. I continued to install it during the debian 11 live CD, but encountered squashFS read errors while booting from live USB. I struggled for a long time trying to understand what was causing it. Another red flag was that even if USB booted normally on an SSD based laptop, no external keyboard would work. However once I finally read USB guard document on Debain 11 wiki, I became clear. Debain 11 turns USBGuard on by default after installation. So live USB itself was blocked, most probably, as per my understanding. Maybe it's not a USB guard issue, rather a debain 11 issue, but I thought the SW should be smart enough to leave live USB alone during boot process. Kindly inform, if I am registering my compliant at the wrong place, otherwise, I can report the bug at Debian 11 as well.

Cheers,
Happy Coding

It seems like the Debian is doing it wrong when it starts the USBGuard by default. I can confirm that Fedora distro works as expected in such scenario.