Skip to content
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

Support allow-device --permanent without upsert, forcing append #623

Open
devurandom opened this issue May 8, 2024 · 0 comments
Open

Support allow-device --permanent without upsert, forcing append #623

devurandom opened this issue May 8, 2024 · 0 comments

Comments

@devurandom
Copy link
Contributor

I have a Dell Thunderbolt Dock WD22TB4 which has 2 USB-A ports and 2 Thunderbolt USB-C ports. Devices plugged into the USB-A ports change their "parent" on (almost?) every boot, alternating between 2 hashes. The port stays the same.

I run usbguard allow-device -p ... to connect them again. On the next boot I will have to do the same again, because usbguard allow-device --permanent always upserts, changing the existing line instead of adding a new one for the 2nd parent hash.

It would be nice if there was a --append option that would disable upsert and force append of the allow line, so that the device would be recognized and allowed under both parent hashes by usbguard.

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant