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

ignore USBGuard #257

Merged
merged 1 commit into from
May 26, 2023
Merged

ignore USBGuard #257

merged 1 commit into from
May 26, 2023

Conversation

calestyo
Copy link
Contributor

When any of USBGuard’s PresentDevicePolicy- and PresentControllerPolicy- options are set to apply-policy, block or reject, then a restart of usbguard.service might cause a previously manually allowed device to no longer be so.
If that’s e.g. a device holding a mounted filesystem, that mount would immediately be interrupted (not in a clean way) and data corruption might occur.

Restarting usbguard-dbus.service doesn’t seem to be a problem, though.

Ideally this would be fixed in USBGuard and I’ve filed an issue for that: USBGuard/usbguard#565
Once that would have been implemented, this commit should be reverted.

Signed-off-by: Christoph Anton Mitterer mail@christoph.anton.mitterer.name

When any of USBGuard’s `PresentDevicePolicy`- and `PresentControllerPolicy`-
options are set to `apply-policy`, `block` or `reject`, then a restart of
`usbguard.service` might cause a previously manually allowed device to no longer
be so.
If that’s e.g. a device holding a mounted filesystem, that mount would
immediately be interrupted (not in a clean way) and data corruption might occur.

Restarting `usbguard-dbus.service` doesn’t seem to be a problem, though.

Ideally this would be fixed in USBGuard and I’ve filed an issue for that:
USBGuard/usbguard#565
Once that would have been implemented, this commit should be reverted.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
@liske liske merged commit a443266 into liske:master May 26, 2023
@liske
Copy link
Owner

liske commented May 26, 2023

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants