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

Add an API to handle QubesDB watches #2940

Closed
marmarek opened this Issue Jul 24, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Jul 24, 2017

Qubes OS version (e.g., R3.2): R4.0

Changes in QubesDB should be able to trigger some action. For example /qubes-block-devices or /qubes-usb-devices should result in appropriate event about new/removed device.

QubesDB itself do support watches. The missing part is qubes-core-admin (qubesd) code.
And then appropriate device extensions should use it.

@marmarek marmarek added this to the Release 4.0 milestone Jul 24, 2017

@marmarek marmarek self-assigned this Jul 24, 2017

marmarek added a commit to marmarek/qubes-core-admin that referenced this issue Jul 25, 2017

ext/block: make use of QubesDB watch
Actually use just introduced API.

Also document new `device-list-change:class` event.

QubesOS/qubes-issues#2940

marmarek added a commit to marmarek/qubes-core-admin that referenced this issue Jul 25, 2017

tests: add qdb_watch test
Use dom0 instance of QubesDB, to be independent of working (or not) VMs
at this stage.

QubesOS/qubes-issues#2940

@marmarek marmarek referenced this issue in QubesOS/qubes-core-admin Jul 25, 2017

Merged

Add QubesDB watch handling and use it for block devices #136

marmarek added a commit to marmarek/qubes-app-linux-usb-proxy that referenced this issue Jul 26, 2017

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jul 29, 2017

Automated announcement from builder-github

The package qubes-core-dom0-4.0.3-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-core-dom0-4.0.3-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Jul 29, 2017

Closed

core-admin v4.0.3 (r4.0) #157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment