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
68f046cd31e3c2a1478b82ab791417b9fd437ca4 authored over 7 years ago
Fixes QubesOS/qubes-issues#2872
26ea836f67ad915a84d03958d53b44718d77d3c2 authored over 7 years ago
This will allow to evaluate policy extracted from other system.
And also ease tests.
QubesOS/qu...
8afb425271e3b932d9f509787fb3e5c0a857c953 authored over 7 years agoThis is natural to write space after coma.
a937bb173a0d9bb2244855e78cf7dd9cd8e78e47 authored over 7 years ago291a338e7318ca095610bbc6fb012fe573809572 authored over 7 years ago
This ease Admin API administration, and also adds checking if qrexec
policy + scripts matches ac...
QubesOS/qubes-issues#2256
82c3f85042dfc057482e9a97392cdafb24089626 authored over 7 years ago
commit/recover/reset should really be handled in start/stop. Nothing
stops specific pool impleme...
Since VM name is immutable, rename method can be dropped from storage
API.
QubesOS/qubes-issues...
697eb05c20cc5d4a7f7612c0fc65afe2138d34c0 authored over 7 years ago
Always define those properties, always include them in volume config.
Also simplify overriding p...
Since VM name in immutable now, drop rename-related methods.
QubesOS/qubes-issues#2868
dd1e05dc839ae6f52becf71b746b02d78d76a8cf authored over 7 years ago
Don't set <backenddomain> element in libvirt XML when device is provided
by dom0.
Do not fail app.save() just because listing devices failed, for any
reason.
77e84b9ce415017755a24727788e5b43ebf2c155 authored over 7 years ago
Linux kernel bug cause hypercall fails from HVM userspace (see
referenced issue). As a simple wo...
Since libvirt do provide object for dom0 too, return it here.
It's much easier than special-casi...
3748eb3e2be2755893a9ba00f736f1d021c87106 authored over 7 years ago
f83c51608213ec6c1322f5d0cd9cd817a49aca5f authored over 7 years ago
Second attempt: this time use full words for scope, read, write,
execute.
QubesOS/qubes-issues#...
d0663940a7ed1da5eb405fed972afe741ad9adc5 authored over 7 years ago3e0d01cfb90fdedfa3a321e40038d29525c2448a authored over 7 years ago
Have `default_policy_is_accept` variable of type bool, instead of
`policy`, which is only compar...
Use keyword arguments to pass untrusted arguments to make sure the
function parameter also have ...
The first operation returns a token, which can be passed to the second
one to actually perform c...
The same can be achieved with Create+volume.Clone
QubesOS/qubes-issues#2622
3dcd29afeab97a5d3d5111fad71b907bd3dd6306 authored over 7 years agoQubesOS/qubes-issues#2256
28f78ed3b851fad56c010af5556e05887f380774 authored over 7 years ago
This is continuation of 0f12870 "storage: use direct object references,
not only identifiers".
...
a748b393f4dcd071ea4d38b32503e9c6bbf8a640 authored over 7 years ago
Add convenient collection wrapper for easier getting selected volume.
Storage pool implementatio...
This is much more logical for *import*_volume function.
QubesOS/qubes-issues#2256
fabd8119b49520652de469d71c944adc8008b24b authored over 7 years ago
In the end firewall is implemented as .Get and .Set rules, with policy
statically set to 'drop'....
There is a problem with having separate default action ("policy") and
rules because it isn't pos...
Do this for all standard property types - even if other types do
additional validation, do not e...
This operation is going to be removed, so apply a quick fix for tests.
QubesOS/qubes-issues#2622
65d15e604033089250b75d1f7db9cebd277bfa86 authored over 7 years ago
We've decided to make VM name immutable. This is especially important
for Admin API, where some ...
Do not fail on empty kernel value - which means "use booloader on
root.img".
Fixes 3ddc052 "vm:...
a6c16d00be3adea4001238431349eaf5cd11019e authored over 7 years ago26013122a08b0ce26e63aedb3a234f09c1ac1ee9 authored over 7 years ago
9f57db874983acb128c685a44f6e49d1a74ad7ea authored over 7 years ago
4208a98bd77695f2b6d0a76d051b7cf96881aaf1 authored over 7 years ago
Suggested by @woju
f976f7ec6cccdfd626c53849d7e5c4826eb7da06 authored over 7 years ago57e293eb5436759613c89ac68592b38635fda696 authored over 7 years ago
8c9ce0587b36c25a1fb5dc66b6d7fbf1b1fd0e6e authored over 7 years ago
for managing tags
2942f8bcacb927d508812e7a7046d1003662878c authored over 7 years agoc1f4c219f9016b8a395d33364551a7d01578d988 authored over 7 years ago
meminfo (written by VM) is expected report KiB, but qmemman internally
use bytes. Convert units....
Check if exit code retrieved from dom0 is really the one expected.
Fix typo in test_065_qrexec_...
ea0cbe3a56b3a4a6c49e9f782e47e78214a8f04b authored over 7 years ago
Since tests expose qubesd socket, qvm-start-gui should handle starting
GUI daemons (so, GUI sess...
When test expect to wait for remote process, use vm.run_for_stdio.
Additionally, when the call f...
Since run_for_stdio raise an exception for non-zero exit code, it isn't
ignored anymore. So, che...
Flush new policy file to the disk, otherwise it will stay only in write
buffer.
Setter is called also on qubes.xml load, so missing kernel breaks
qubes.xml parsing - for exampl...
When method (as expected) raise an exception, service output would not be
assigned. Extract it f...
4241b39b94ef887a71a07f82b91403a4842c066a authored over 7 years ago
60443259d0fe8e61588f815242311b3957729f3a authored over 7 years ago
In core3 this isn't needed anymore (and unit tests already check if
that's really true).
Do it before shutting down qubesd socket - some things may require it
for VM removal/shutdown.
eee6ab0c01c29e9c4575bad7fcbe9e2dea993511 authored over 7 years ago
984a070f3e0ab080a0f57d4833ff8d3b64ad73ad authored over 7 years ago
QubesOS/qubes-issues#2851
f56f7d13fb747cb1983da8a142ee21f98ebaf63a authored over 7 years ago139f18fa1d298d8f72923a128900a33de00b71e1 authored over 7 years ago
0c0b0ea6ef28f3f2c36856935abba97eea725749 authored over 7 years ago
Now there is a single function to do this, shared with tests.
96a66ac6bd7f5490fa8599c67521eb36f29907b0 authored over 7 years ago
Test suite creates some VMs and needs to pass the knowledge about them
to qrexec policy checker....
bec58fc861a6e58f8fb7a8ee0a63e357b1a5be4f authored over 7 years ago
71a4390fdb047638cf4a5413f412f891075fb7b2 authored over 7 years ago
Now instantiating API servers is handled by common function. This is,
among other reasons, for c...
8196b2d5bfe7780018b07c0b4e7e62179f908291 authored over 7 years ago
c13cf44e5e98b5e90f17498226e1e7e1a3fb4d34 authored over 7 years ago
Xen do not support other cases at all ("PCI device assignment for HVM
guest failed due to PoD en...
register_event_handlers is called early, when libvirt connection may not
be yet established - es...
One more thing gone during changing AdminVM base class.
e4d285d479316a0e3585776a46b2bf1dde252650 authored over 7 years agoQubesOS/qubes-issues#2622
9242202db2c11b8c7d8e7f9fdb9dcbf2123295d4 authored over 7 years ago4a1a5fc24b74b7c781d092bc1b674d228eb21283 authored over 7 years ago
QubesOS/qubes-issues#2622
aadbe223c3af6322d57d7f97bea1ff6d6e4b3218 authored over 7 years agoThis will be useful for admin.vm.volume.Clone implementation.
QubesOS/qubes-issues#2256
f48b1be669b5935b3663809abd6b34610b7296b9 authored over 7 years ago
This way also AdminVM will have (empty) properties there. It is much
cleaner than adding `if has...
It isn't used for anything, so simply ignore it for good.
https://github.com/QubesOS/qubes-core...
86a935e77924be3875693a4502a25d7716a3c4a1 authored over 7 years agoqdb.list return list of bytes().
55669c350c0d93d004f1a5b344f37b6408ff79be authored over 7 years ago
1. Send the event after setting tag/feature
2. Provide old value for feature
3. Rename 'key' kwa...
8ba60cd7e9b93635446467658b55d356afda15c2 authored over 7 years ago
* qubesos/pr/111:
vm: drop 'internal' property
qmemman: make sure to release lock
qmemman:...
* qubesos/pr/110:
storage: use direct object references, not only identifiers
vm: fix volume...
37245acdcf7443f2f86b8f05e65dd974057644f1 authored over 7 years ago
caa03a927921cc9ebb17dc3fb1c22a0afca336ee authored over 7 years ago
Make qubes.NotifyTools reuse logic of qubes.FeaturesRequest, then move
actual request processing...
BaseVM have no (useful) __str__ method.
e8c303977b2de1437915ad5e2d2dce57f3f5e895 authored over 7 years ago
It isn't used anywhere in the code right now. And when it will be
needed, it should be a "featur...
Even when handling updated meminfo or domain list something goes wrong,
make sure to release the...
One more place not converted to python 3.
9015414119defa30b87b8dd7b785dd11e803449a authored over 7 years ago
Drop DeviceInfo.data - device extension should provide a subclass with
proper individual fields....
Reference objects, not their IDs - this way when object is modified, it
is visible everywhere wh...
- kernel volume shouldn't have snap_on_start, it's read-only volume
anyway
- root volume of Ap...
This will allow filtering them out in udev rules - to not parse any of
it.
QubesOS/qubes-issues...
fd5386cd472ea59f66a5cb7f319b9406dfa7deb6 authored over 7 years ago
When VM is renamed only volume.vid get updated, but not other attributes
calculated from it. Con...
With libvirt in place, this isn't enough - libvirt also keep VM
configuration in its memory and ...
dom0 isn't real VM and most properties doesn't apply to it. Lets make it
more explicit.
Specifically, check if root volume is updated after template switch.
67fcda2cdecf349dffac8d3b0b013441dc987040 authored over 7 years ago
Again, if libvirt or even Xen isn't running, we can safely assume VM
isn't too.
313d7422e7d5c05f062b1849b5d37279f8b836c2 authored over 7 years ago
Re-init volume config of all 'snap_on_start' volumes at template
chanage. For this, save origina...
Move inheriting volume from template to a helper function.
No functional change.
QubesOS/qubes...
63c23c835b02f869a02a3aafb3fa0b79e7d191c7 authored over 7 years ago
Make them call into qubesd. Create separate socket for "misc" calls - VM
accessible, but not par...