-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard and mouse disabled after reboot #644
Comments
Out of curiosity, what directory is your rules.conf file in? Also are the permissions set to 600? |
Yes. /etc/usbguard# ls -l |
Can you check the usbguard-daemon.conf file and see if you have these settings:
If yes, then you should move your rules.conf file into the rules.d directory. Think you ran into what I identified here "#645". |
My usbguard-daemon.conf has RuleFile pointing to where it actually is.
The rules.d directory is empty. I moved rules.conf into rules.d/ and I changed "RuleFile=" to point to it, thus setting it up like yours. When I "systemctl start usbguard" I lost both mouse and keyboard. That was unexpected. As I mentioned I originally was able to start usbguard from the command line and it worked OK. Checking other items, file rules.conf lists two host controllers and the mouse and keyboard. In usbguard-daemon.conf the following is correct.
|
Thought I would let you know that when I booted my systems today I also lost my external USB keyboard and mouse plugged into my dock. So I have updated my defect ticket for the USBGuard team to investigate. A temporary workaround for me was to downgrade my Linux Kernel from 6.12 to 6.11.9. So I am not sure if the 6.12 Kernel Branch introduced some new feature which is causing an issue. |
I had this issue on Kali and now Debian 12. The keyboard and mouse are blocked after reboot. Have to boot into safe mode and systemctl disable usbguard and usbguard-dbus. Then regular boot enable again. It doesn't happen on every reboot. If I enable usbguard after I log in it is OK. I think it has a timing issue if usbguard is enabled too soon in the booting process. Is there a way to change when the system enables usbguard?
The text was updated successfully, but these errors were encountered: