-
Notifications
You must be signed in to change notification settings - Fork 142
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
Connection refused
error
#161
Comments
Hi, the "connection refused" error probably means that you don't have usbguard-daemon running. Could you check that? How did you install usbguard and what distribution are you using? |
Fedora 24, I installed it using DNF and ran |
@indolering did you generate a policy using usbguard generate-policy? What is the output of systemctl status usbguard? |
Ahh, now it's working! Why wouldn't usbguard generate one by default on install? I guess this is just an old project that doesn't get enough love? |
I don't think that generating the policy automatically is a good idea. Generating/Writing one is simply a required configuration step after installation. |
The program should at least offer to generate one instead of just failing. |
Getting the same message on Fedora 35 with SELinux enabled, and Update: Getting locked out on a non-USB-Hub keyboard as well. Not sure what is causing this, but it could be risky running USBGuard on a Desktop with Fedora 35 as of now. |
Hi @pdolinic this ticket is closed and there are a lot of open questions from your report, and I'm not a big fan creating fear when it may just turn out unjustified after a closer look. If you want to team up to debug and fix this, please reach out via my e-mail and we can jump on a voice call about this in no time, and solve this. If that's not a good fit for you, I would ask to create a new ticket with enough information that it will be hard to ask a question that isn't already answered. Thank you, Sebastian |
Hello, I just managed to find the fix /details on the Arch-Wiki: https://wiki.archlinux.org/title/USBGuard For some reason it was required to manually append the configuration on Fedora 35.
Everything working now thanks! |
Hi @pdolinic if I'm reading that the right way, you were running |
Agree with indolering that there should be some prompt to generate the policy and set it up. Just trying to generate the policy and starting it would lock people off the computer. To prevent this here is the full instruction on Debian12 which should probably be in the readme and the user be guided through when first running it (or after install):
Now I'm wondering how to make it autostart since it doesn't do that after this setup but I'll make a new issue for that. |
I'm just getting the following error message:
What trouble shooting steps do I need to take?
The text was updated successfully, but these errors were encountered: