Comments (8)
I think this issue is caused by this commit. Not sure about its motive, though.
from usbguard.
About the motive, I thick the actual motive is this one, so I'm not sure anymore whether this bug is valid or not.
from usbguard.
@commandline-be, this may actually not be an USBGuard's issue.
I currently solved the bad behavior by disabling Gnome's USB "security":
$ gsettings set org.gnome.desktop.privacy usb-protection false
Please check my comment on the gnome-setting-daemon bug tracker for further details.
Hope it helps.
from usbguard.
Same issue, tried multiple variations of usbguard config.
After the last config test I just left the screen to auto-lock, on resume all USB devices awoke as expected by policy.
Whenever I manually lock the screen by enabling suspend the "USB 2.1 Hub" is forgotten and must be re-enabled manually.
One test I do which demonstrates the faulty event is systemctl restart usbguard
which then disables the devices as if the systems resumed from suspend in the same erroneous way. Regardless, the system correctly resumed just before i wrote this post.
apt show usbguard
Package: usbguard
Version: 1.1.1+ds-3
usbguard get-parameter ImplicitPolicyTarget
block
usbguard get-parameter InsertedDevicePolicy
apply-policy
from usbguard.
@meden With prior experiences I've also tried disabling usb-protection eventually to no avail.
This time it did work, thanks for reminding us.
from usbguard.
@meden forget what i said, this works only 50% of the time, it seems deeper suspend states (or something, speculating) are working against this (as noted before)
How is your experience by now ?
from usbguard.
@commandline-be, as far as I can tell, things are working properly now (with Gnome's USB security disabled). When resuming the laptop, now GDM suggests that I can use the fingerprint to access (although it looks that sometimes it does it only on the second attempt, as I need to hit e.g. ESC a couple of times to "open-close-open" the password box).
Also, I'm not flooded anymore by the notifications coming from all my USB3 HUB's sub-devices.
from usbguard.
Related Issues (20)
- usbguard fails to start if rule line in rules.conf ends with space character. HOT 1
- clarify the exact semantics of comments in the rules config HOT 1
- Modification of the permanent policy is not possible if RuleFile is not specified
- configure: error: Link test failed both with and without -lstdc++fs; something is broken HOT 11
- USB-C behavior & potential bypasses HOT 3
- [question] What is a "parent-hash" HOT 2
- USBGuard failing to block new devices HOT 10
- Failed to permanently add device to rules.conf: Rule set upsert: rule: Cannot upsert; multiple matching rules HOT 2
- [Fedora?] With recent kernel updates, USB root hubs changed ports
- Installing USBGuard to Debain 11 custom livecd causes squashfs read errors HOT 1
- USBGuard daemon won't start at booting. HOT 11
- usbguard service won't start HOT 11
- Partially block device by interface HOT 2
- USBguard blocks allowed device after kernel disconnects and reconnects USB fingerprint reader HOT 6
- Question: How to change HidePII and PresentControllerPolicy settings via CLI HOT 1
- Usbguard latest version(1.1) not building and installing for ubuntu 20.04 HOT 1
- xHCI controllers only partially allowed by matching rule HOT 1
- Monitoring copied file to a usb key HOT 3
- enabling USBGuard with LDAP HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usbguard.