Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-core-admin
Qubes component: core-admin
https://github.com/QubesOS/qubes-core-admin
When tearDownClass is executed, event loop is already closed. Since no
test really need it right...
1af7034d57b4a8b6109b386b9f0aea40bd4802d2 authored over 7 years ago
...instead of AssertionError
214c64641777bd807437e0fb891a7b4a4bce7eed authored over 7 years ago
Only qubesd should load qubes.xml directly. Put a TODO comments for now
in place of slow VM repo...
Since it is no longer child of QubesVM, constructor do not take 'qid'
and 'name' arguments.
Also...
a9934316c13d1f2946cae7dbdfe0e37f3730462d authored over 7 years ago
QubesOS/qubes-issues#2868
8bae2d39c2de22d907f88da633d1b45150a636b2 authored over 7 years ago
- improve TestPool mock - init_volume now return appropriate mock type,
instead of TestPool
...
75394a1348fa82586d2cb1d7499674274b826685 authored over 7 years ago
VM volumes have 'vm-' name prefix now.
This is continuation of fd5386c storage/lvm: prefix VM LV...
Drop debug print, fix mocking Storage.remove (it is a coroutine).
ba2b034843ad9bfc6a862137d43efa80b8b43775 authored over 7 years ago
Don't set 'source' volume in various places (each VM class constructor
etc), do it as part of vo...
Do not create it at volume creation time. It it needed only when VM is
running, so create it jus...
Since we have app.default_pool* properties, create appropriately named
pool and let those proper...
Function itself was already written, but not set in the properties.
QubesOS/qubes-issues#2256
73a78ca0dba52ee847da2fdffe99bde43a22836f authored over 7 years ago
Use dom0 instance of QubesDB, to be independent of working (or not) VMs
at this stage.
QubesOS/...
1933a720d09ac23b6ae34312659445905aaf1409 authored over 7 years agoActually use just introduced API.
Also document new `device-list-change:class` event.
QubesOS/...
67c382c8b01e654d8e133c795da258b8222a65a5 authored over 7 years agoRemove unused, sort others.
d5b94d1cbd1a14c7210169a8ded3e189d78e7f65 authored over 7 years agoProvide an API for use QubesDB.watch() inside of qubesd.
Fixes QubesOS/qubes-issues#2940
b7f0cf7d82eb925b6b5adbabcc6b1ed18c1f441b authored over 7 years agoCc @rootkovska
b25cf4b085211f50d31098ed0feaedfba9143f78 authored over 7 years ago
Some events are internal for a sole purpose of getting some data from
extension. Since listeners...
It's str/unicode, not bytes now.
QubesOS/qubes-issues#2937
0fb7c1fbed5a3ee3778bca50aabea2448c2d832b authored over 7 years ago
QubesDB can be freely modified by a VM, so one should take care when
reading any data retrieved ...
QubesOS/qubes-issues#2931
cdbe1d14b3bf4cbaffc772ad1db4f1e61d65d36e authored over 7 years ago
The old format have many issues and is discouraged by tar developers. In
this case the most impo...
Since we have LVM by default, it is possible to backup VMs while they
are running. For now it wi...
If inner tar returns with non-zero code, mostly like the backup is
incomplete, so it is very imp...
QubesOS/qubes-issues#2931
82918ee704f41862741066a060a093847b4b1a8e authored over 7 years ago088c838ac3b520578c7f0ed16b811588449d1d2e authored over 7 years ago
Those tests are only about Admin API integration, not about actual backup
backend code
QubesOS/...
dbea03ad1fd079bae04b6654fe9792dc1bb15f63 authored over 7 years ago74375146e8557afb4c50dca736f7295713543406 authored over 7 years ago
Fixes QubesOS/qubes-issues#2931
6dbce8259f0cabc44818415dcaf800d74c8e7c90 authored over 7 years ago
Do not assume static list of volume (although it is true for now), and
also use proper API for g...
QubesOS/qubes-issues#2931
81246cac6443e9e2d5146897212c463b509b51a9 authored over 7 years ago
It is useless here since backup restore is moved to
qubes-core-admin-client.
QubesOS/qubes-issues#2931
d4e9120903d2c8929d2dec3ca7724dc59a75860f authored over 7 years agoc17e63588ee16983b1d1030f7022fc80d32ff66b authored over 7 years ago
Fixes QubesOS/qubes-issues#2919
c035f8fc35f0ac0fe4b02dc988bd046f4056e66b authored over 7 years ago
Same reasoning as with 'service/*' - '/' is not allowed in qrexec (so
Admin API) call argument.
...
* qubesos/pr/131:
When running tests clean up and remove qubesd.socket
Do not display gi Gtk...
The tool itself should live in qubes-core-admin-client and communicate
with actual backup code o...
- fix coroutine calling from Admin API
- fix off-by-one error in resize
- adjust tests
After removing backup-restore code the remaining part of backup.py is
not that bad - lets fix it...
This functionality is moved to qubes-core-admin-client, which does it
over Admin API
QubesOS/qu...
61519014cbe04d44b18d30c15412a674eb8cf94a authored over 7 years agoFixes QubesOS/qubes-issues#2900
4037bf9abc8b55a57687227b2083aac5d576a6a7 authored over 7 years ago11fac7be569042a3bfdc22a7b8e9141312190396 authored over 7 years ago
Issue found by the test created in previous commit.
8dfe2b873d2a37fdc4ef56e4ce6792e8e5c39cfe authored over 7 years agoef756eb05d193912c51eba1bea5d4ed5e94c19f8 authored over 7 years ago
This will allow to load old qubes.xml - otherwise previous change render
the system unusable (un...
Fixes QubesOS/qubes-issues#2912
21940bef90fb21989b143cfb56a45b3d2467ed31 authored over 7 years ago
Add an exception for this limit - if for nothing else, to allow full
backup restore (non-paranoi...
Be more consistent with Admin API name and method names.
cbc7241a93828d0aceee073d20eece35aa3018ba authored over 7 years agoChanged the inheritance hierarchy:
1. Renamed `SystemTestsMixin` to `SystemTestCase`
2. `System...
- Fix Gtk import
a936b07d7bb086d0c056d0d8beb5c63dc9968984 authored over 7 years ago
* drop-netvm-startup:
Remove qubes-netvm.service
* dispvm-fix:
storage: add comment about source volume lookup
vm/dispvm: convert DispVM rela...
* tests-fixes-1:
api: extract function to make pylint happy
tests/vm: simplify AppVM storage...
* qubesos/pr/130:
qubes: have "service" features' keys separated by period
1e45d297b3086c9b1f686c6ee153336428f77704 authored over 7 years ago
There may be Pool or Volume object references, which is intentional to
keep them as is - not cop...
There are still much more of them...
7aa8d74ad48ae17fcbc3cd073a273ecbc91ed333 authored over 7 years agod7b968d867491c3f105758fa89c35354066a3aa2 authored over 7 years ago
e6d5337fa7cfd71bbd9982dfc8fd8ea5a1713ca5 authored over 7 years ago
66b88cc943c7d591b96e498928ff25a1e297135b authored over 7 years ago
Use minimal TestPool(), instead of Mock().
This allow effectively compare Volume instances (init...
58f4369a7eca84e96129ce4c9fc33b89696ecc4c authored over 7 years ago
dce0b28cf4821bc17820e97fd4474f840af825ba authored over 7 years ago
renamed date_out variable to untrusted_date_out
ab88cd964490f93c68ddb2e5a77a073e411d9bf5 authored over 7 years ago
Some functions used there (create_on_disk, remove_from_disk, kill) are
coroutines, so callers ne...
Specify empty 'source' field, so it gets filled with appropriate
template's images. Then also fi...
Since qubesd properly handle chained startup of sys-net->sys-firewall
etc, we don't need a separ...
clock synchronization mechanism rewritten to use systemd-timesync instead of NtpDate; at the mom...
6da06d424ea990ab2f606356ce2acc3f225082fd authored over 7 years agob04f612374c38d4bb6dd2cc203abc7f58f08509b authored over 7 years ago
d9db4f747c4ed62414f7801bf228edc7af41b8c5 authored over 7 years ago
dddd94b339b6d2d7b07d13a6cb56f1ec1174f6d0 authored over 7 years ago
6db39345fb592bffc6cc3499d80cc7d43a43bbdf authored over 7 years ago
51022cada5f1b2eefa2d6b6ae742a45f519bd2b4 authored over 7 years ago
This code is unused now. Theoretically this is_outdated implementation
should be moved to FileVo...
- remove obsolete volume types, use snap_on_start/save_on_stop directly
- handle multiple revisi...
Since dynamic volumes (qvm-block) are moved to devices API, those two
are not needed anymore.
Q...
0e554296e37f7bf0519975f6bd2ab9b4906ff748 authored over 7 years ago
LinuxKernel pool support only read-only volumes, so save_on_stop=True
doesn't make sense. Make i...
Remove it from system_path dict, have it in one place.
075d9911141d4bd52f4c24df213fb147ad111bb7 authored over 7 years ago
This driver isn't used in default Qubes 4.0 installation, but if we do
have it, let it follow de...
Do not always use pool named 'default'. Instead, have global
`default_pool` property to specify ...
ca63c7103039c948b9fecac7eac50f743a215c9b authored over 7 years ago
It's already fixed in Python 3.5.3, but on Travis we have Python 3.5.2.
https://bugs.python.org/...
Those functions are coroutines anyway, so allow event handlers to be
too.
Some of this (`domain-...
This will allow starting processes and calling RPC services in those
events. This if required fo...
e5a9c46e3d5716f40fbf587d55a9314194578462 authored over 7 years ago
See documentation for details.
ea1a04cb19f1ce9537c484c254e096ec4b063feb authored over 7 years ago
Those functions really do very similar things - lets merge them and add
simple parameter.
aed6de49376c2d501d2707af4e9dad9fa9883bc2 authored over 7 years ago
Dom0 also expose some information in QubesDB - like list of block
devices.
Commas in policy action are optional, if used with spaces.
55c9370454e031700f9b2496fad3fac2157f2a3c authored over 7 years ago9d17c52a8d9785f3ca982150521f913a5df851c2 authored over 7 years ago
36d56010af800dc3509ab0f5152111b904a56891 authored over 7 years ago
Fix Sphinx warnings and errors in both doc/ and docstrings.
e7f717ec3dfe83293ed134f3d9afc8b6b03217d2 authored over 7 years ago
When rule does not specify forced target (`target=...`), generic
`$dispvm` wasn't resolved to sp...
Fix warnings/errors reported by Sphinx
f393ce62dc6b959e76263de769ec40337969a407 authored over 7 years agoOutput possible connections between VMs in form of dot file.
Fixes QubesOS/qubes-issues#2873
a96a85bdc92652b507007ca2d06dcea61ea131e0 authored over 7 years ago