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

vm/dispvm: cleanup DispVM also on failed startup

If dispvm.auto_cleanup is set, cleanup it also after failed startup
(like not enough memory).

F...

e38e2275039d65876d35e717746fc89b2b17aa6a authored over 7 years ago
Move QubesVM.{name,qid,uuid,label} to BaseVM

Reduce strange code in BaseVM (accessing non-existing self.name) and
code duplication.

9f88fa7f0cab4f7ff7e5acb4856dbcbbfe0856e9 authored over 7 years ago
vm/qubesvm: emit event on failed startup

If VM startup failed before starting anything (even in paused state),
there will be no further e...

efe600537e2f51b96eb1927f675c9b1beb0315c3 authored over 7 years ago
block: fix handling non-existing devices

Don't yield None as DeviceInfo object. The device-get: event handlers
are expecte to yield anyth...

fd5aaa8866891ec4d751a6eaad2361cb29d33199 authored over 7 years ago
block: improve handling device name and description

Don't fail when device have no description. Also, handle device name
consistently - there is alr...

f6d10ec24365bd2e6a543518e9b77938d3a2e7b4 authored over 7 years ago
vm/dispvm: fix error message

Fixes QubesOS/qubes-issues#3114

7c6b04677f8be4bd9f99b0574bb5554265744324 authored over 7 years ago
ext/block: properly list devtype=cdrom option

3548ee1163c14b2f921ebc8b55ffb390167fbe4c authored over 7 years ago
Merge remote-tracking branch 'qubesos/pr/150'

* qubesos/pr/150:
qubes/tests: moar fixes
test-packages: add missing libvirt classes
qubes...

e0cadfdd67c192e01e5798726a55276882b4792a authored over 7 years ago
qubes/tests: moar fixes

589d567ebc3b20bd172ec6a85c2530ca0e2c1a44 authored over 7 years ago
test-packages: add missing libvirt classes

40e2c0eec53a7525a644c32753bc493cdd16eb6d authored over 7 years ago
qubes/tests: do not deadlock on .drain()

b78ad1993c679eb48a0c51446ebcf0afad24e68d authored over 7 years ago
qubes/vm: put name= first in __repr__

This is to have it in case the repr is truncated.

71eefbea1436b24ec18750740f099b7a27dc78c0 authored over 7 years ago
tests: fix some memory leaks

This is work in progress. There are still more leaks.

bd123a3812fa4ba86f752d39b453a8b61da65862 authored over 7 years ago
tests: complain about memory leaks

Currently this detects leaking VM (and all subclasses), Qubes and
libvirt-related objects. Usabl...

5aa9fa2db4b834e5b81897912d08cafdb09091f5 authored over 7 years ago
tests: use one event loop and one libvirtaio impl

Recently libvirt removed support for changing event implementation.
Therefore we have to use a s...

7df8f510114b7fd3353f9554ec29ed759e41eea0 authored over 7 years ago
tests: Fix expected HVM xml

The last two commits (intentionally) changed the libxl xml. So adapt the
expected value in the t...

c6c6f681ae065b367c61a8412ad012a0f5b468f1 authored over 7 years ago
linux-stubdom: Add option for EFI/legacy-BIOS

QubesOS/qubes-issues#2849

0497bfb2882b7207c60c43fc718518552f0bc644 authored over 7 years ago
linux-stubdom: use "vga" aka "stdvga" video card

In contrast to the cirrus card emulation the vga card supports more
video modes. Since the qemu ...

a081283b108823aaa7daa9c2c041f9b404b1edc4 authored over 7 years ago
version 4.0.7

e31ee407248643c63e5a65c881412453fa636459 authored over 7 years ago
Merge remote-tracking branch 'qubesos/pr/149'

* qubesos/pr/149:
lvm->init_cache: fix incorrect max splits
Fix service qubesd not working w...

86681ba996b0a19e417fc112d96b17fbb1b7271c authored over 7 years ago
Merge branch 'dispvm-policy'

55208a0c7c9f04eb840f14af9e6db9777ec434a5 authored over 7 years ago
lvm->init_cache: fix incorrect max splits

9d797cc8647aae4d7c0e880dff0642694f4d294e authored over 7 years ago
Fix service qubesd not working with some locales

On certain locales (e.g. danish) `usage_percent` will output a comma-separated number, which wil...

c30131633b0d1e6639e494bce77ed37c269c82d3 authored over 7 years ago
qubespolicy: move all syntax-level validation to one place

This will make analyzing the policy code slightly easier. While it makes
verify_special_value fu...

d4716832e29153bccd51b6a7fe089fb1b6b39144 authored over 7 years ago
Merge branch 'cdrom-boot'

* cdrom-boot:
devices: fix error reporting
api/admin: implement admin.vm.device....Set.persi...

0d59965a7be5f628e120e5a8cb9d3ec8a9ae090c authored over 7 years ago
qubespolicy: implement $dispvm:$tag: syntax

This allow to specify allowed/forbidden DispVM base using tags, not only
static name.

Fixes Qub...

5e870e4b6a551209efd009ebdc790edae9630b13 authored over 7 years ago
Rename 'dispvm_allowed' to 'template_for_dispvms'

'dispvm_allowed' name was confusing, because it suggested being able to
spawn new DispVMs, not b...

99bd193688a1015b4a037f65b2e2509db244ab40 authored over 7 years ago
dispvm: fix setting up new DispVM

Clone properties from DispVM template after setting base properties
(qid, name, uuid). This mean...

c247ddff7270671b5f593e88c69d062f2590ca76 authored over 7 years ago
tests: various fixes to integration tests

Mostly add missing self.loop.run_until_complete().

687ca4092cf2918013bbad543b50d8c57634f28e authored over 7 years ago
tests: fix qvm-sync-clock test for asyncio and new time sync API

qvm-sync-clock in dom0 now synchronize only dom0 time. For VM time,
qvm-sync-clock needs to be c...

d676576600d2798d62c2fa099825d82e9aecb302 authored over 7 years ago
devices: implement DeviceCollection.update_persistent()

Allow attached device to be converted from persistent to non-persistent
and the other way around...

9d062c4c66be4b8d33c26407ee6df00de7aea642 authored over 7 years ago
devices: fix error reporting

32b57deb3ac6870074ca5cd16c6ed826ebdcad96 authored over 7 years ago
api/admin: implement admin.vm.device....Set.persistent

This will allow converting persistent device (used to boot VM for
example) to non-persistent.

Q...

cea70748a61280554ffd091a93e396b66c77fa52 authored over 7 years ago
api: do not fail events when listener is cancelled in the meantime

Raising any error from event handler will abort further handlers of this
event.

8c1ba905a06cc6025eceb904364e0616fcdcf4d9 authored over 7 years ago
devices: move DeviceInfo definition earlier

Make it in logical order. And allow DeviceAssignment and
DeviceCollection use DeviceClass type, ...

1f5d43a0944938ae617adffb164386896f90b59e authored over 7 years ago
Merge branch 'devel-fdleaks'

a3f542edcd77d898fe78db3f558ceaac584254c5 authored over 7 years ago
qubes/app: remove .app attr from VMMConnection

6a93137bbea8aa9b728b5a6ea587c1139d46a480 authored over 7 years ago
test-packages/libvirt: registerErrorHandler

96f5f3d4b6e65c66ff180583d4586b523b638267 authored over 7 years ago
fix some more fd leaks

029ec9cb3865cda9df064810ca5d59c745e3bcbc authored over 7 years ago
qubes/tests: convert some tearDown into addCleanup

This is because .tearDown() is not executed if the exception occurs in
setUp() [for example self...

6ff1bfdc16a0eb6091ff2fa21ea3c2692c876e01 authored over 7 years ago
qubes/tests: fix some of the fd leaks

This is WIP, there are more fds leaking.

d0f2fdba5535ed60c149a053937e6bb314e16ff5 authored over 7 years ago
qubes/tests/run: --break-to-repl

f1334e50959ec2a9d4718e0b515858924b8f982f authored over 7 years ago
qubes.tests.list_templates(), and .close() the app

25670fbd6134ec1cdc74b559ac3483ec66d114cb authored over 7 years ago
qubes: Allow for explicit closing of objects

de8ff209765c08ce6b78efe699ecc9761fbede43 authored over 7 years ago
qubes/tests: skip env-dependent tests using decorator

Gtk segfaults without X11 display. Some tests need dedicated PCI device.

8547d06cc93a6f4173c3d1350f724f9ca10ded75 authored over 7 years ago
version 4.0.6

c4e07836e7eb577137b918fa1027cfff1badf5c9 authored over 7 years ago
Merge remote-tracking branches 'origin/pull/142/head', 'origin/pull/143/head' and 'origin/pull/144/head'

044e10a6ecd2d59074029e739d134793a135618a authored over 7 years ago
travis: add pydbus mockup

Unfortunately, python3-gi is unavailable in travis-ci environment (and
installing it from reposi...

0f3b4e4baaff46d2943aad13e51b18f0db0800b1 authored over 7 years ago
fix and enable ServicesExtension

This extension is responsible for communicating service.* features to
VMs - in other words, qvm-...

3f33a7bc2ce0d45b3e5acc6b2a7b2e612caf3a27 authored over 7 years ago
Install qubes-hcl-report and qubes-bug-report

Fixes QubesOS/qubes-issues#3023

a32bb4ecb284149bcb0d051a4b7eed497e1bf9c9 authored over 7 years ago
tests: qrexec-policy cli tool tests

7a9e5c3650c3480dcd5b834bfcd604d5bab7b09b authored over 7 years ago
Forbid creating VM with name 'none' or 'default'

Those were special names in Qubes 3.x, don't allow such VMs to avoid
(potentially fatal) confusi...

9f7915d9988bf1b4e76052c7535fbd24d6c2787c authored over 7 years ago
qubespolicy/graph: let --target option filter on actual call target

Not on what VM can ask for (which may be later overriden by target=
option).

Fixes QubesOS/qube...

10c6697050b428f8d8d55c9ad514861f56c5260a authored over 7 years ago
qubespolicy: ask to create default policy if none is found

Fixes QubesOS/qubes-issues#3005

12661dccf88a10077218ba45ba132e5ca0e8229e authored over 7 years ago
storage/lvm: fix Volume() instance init when physical volume is unavailable

First, cache objects created with init_volume - this is the only place
where we have full volume...

6e5fe5812882f5722c922829d96a13e7e6de8f62 authored over 7 years ago
storage: fix getting list of pool driver parameters

function.func_code existed in python2. Use inspect module (instead of
__code__ attribute).

9ad85a3dffcc94a4e3368e5ee4a247d857689954 authored over 7 years ago
storage: fix storage.import_data_end when given Volume instance

Leftover from '0f12870 storage: use direct object references, not only
identifiers'

3338854b1c61e9adf62b6fb2450c27bad47c08d3 authored over 7 years ago
Order qubesd.service after [email protected]

qubesd needs to list LVM volumes, so start it when the list is
available.

Fixes QubesOS/qubes-i...

8d8bbb99e92b41496848b955a302514a746b44d1 authored over 7 years ago
Automatically restart qubesd when it crashes

qubesd service is critical for Qubes usage, so even in case of critical
error crashing the whole...

5a9f4784660a01df510452b7285382f7cc441f9a authored over 7 years ago
version 4.0.5

670e84c8351181fcf9f1e6a30006dbf1a1e563b7 authored over 7 years ago
qubespolicy: implement --just-evaluate and --assume-yes-for-ask options

Those were registered in the parser, but ignored otherwise. The main
(and only?) purpose of them...

b3c92c475acb5db7bccd84ccf731c73b47c3422c authored over 7 years ago
Add default policy for qubes.VMRootShell service

5d0a2fe463a6058fc6bc11e755ae390a13120100 authored over 7 years ago
firewall: fix Firewall.clone()

New rule require action to be defined, even if will be overwritten a
moment later.

0cd25b53500d3ffcf69bbe88a93d3e6c05eaff2d authored over 7 years ago
vm/adminvm: add default_dispvm property to AdminVM

This is useful to select default DispVM template for VMs started
directly by the user. This make...

8488d5dc72f121534b2c6170104c72cadac198e0 authored over 7 years ago
api/admin: add admin.vm.CreateDisposable in place of internal.vm.Create.DispVM

Add public Admin API call to create Disposable VM that would be
automatically destroyed after sh...

971c7d4ac9b0ee025ff7c0b77b2c8c1bd7526f95 authored over 7 years ago
storage/lvm: extend volume snapshot of running VM too

Extend both backing volume as well as current snapshot, so the increased
size is visible immedia...

a833692c6393861731432a7ef27ef2de40595228 authored over 7 years ago
vm/dispvm: add auto_cleanup property, unify creating new DispVM

Add auto_cleanup property, which remove DispVM after its shutdown
- this is to unify DispVM hand...

691a6f4d8cdbdae11e624a6a1d479b0b1847aa36 authored over 7 years ago
block: add support for devtype option

QubesOS/qubes-issues#2951

22f2fe6d69a25246ac024dfb32679bff3148701f authored over 7 years ago
devices: always pass persistent parameter to device-list-attached event

a407e34931c9e981d67dd07e6bdd5fadd5b843c4 authored over 7 years ago
version 4.0.4

17324b7ac79de13ed423f48ed66a9358a89579f0 authored over 7 years ago
storage/file: fix disk usage reporting

Do not report root image usage in template-based VMs. This space is used
only once - by template.

b9c217704c5faa993ff99e05a59f27dba6d59e11 authored over 7 years ago
ext/core_features: add handling 'qubes-firewall' feature request

VM (template) can announce whether it support enforcing firewall rules
or not.

Fixes QubesOS/qu...

8a8674bb577c3599be210f3840483e8cb248d752 authored over 7 years ago
app: fix LVM default storage pool

71a1be30e7084217f61886e89ff25025ade85510 authored over 7 years ago
qubespolicy: fix handling icons dictionary

Build icons dictionary from all provided icons, not only those allowed
as target. Specifically, ...

38bc751b9729c98329f19d46f2bb1492fe482295 authored over 7 years ago
qubespolicy: fix handling ask,default_target=

d650a90289a964623f8122e003c18a0ef54b11b0 authored over 7 years ago
version 4.0.3

502f753be9584fbc1e1ffcccf8c5976ad1d23b37 authored over 7 years ago
Merge branch 'services'

* services:
tests: check clockvm-related handlers
doc: include list of extensions
qubesvm:...

36f1a3abafbf537a507bd95dc97947db4e3eca39 authored over 7 years ago
tests: fix AdminVM test

34ff40c721c658f2203fa4e1a09e649d32f9b304 authored over 7 years ago
Merge branch 'stats'

* stats:
tests: admin.vm.Stats
api: fix handling interrupted calls
api/admin: implement ad...

c8c32d4956bb8e79d2283338b449cade1bc81ca3 authored over 7 years ago
Merge branch 'tests-storage'

* tests-storage:
tests: register libvirt events
tests: even more agressive cleanup in tearDo...

76640df091974afc2a6f8a09f75415d753b53bf4 authored over 7 years ago
Merge branch 'qdb-watch'

* qdb-watch:
tests: add qdb_watch test
ext/block: make use of QubesDB watch
vm: add API fo...

639fa26079fabd38fe2a3b579d34e68712fe4003 authored over 7 years ago
backup: update last backup timestamp only when backup succeed

QubesOS/qubes-issues#2931

bde8d45cca08c5c0b8ec36828dae1e9706acce9e authored over 7 years ago
storage/lvm: make sure that volumes have /dev entries when export() is called

In some cases (even manual manipulation) those files may not be present
- especially because thi...

46bfa14d0841fb6a1e71fac83ae8771eb1ee784f authored over 7 years ago
backup: improve error reporting about passphrase retrieval

QubesOS/qubes-issues#2931

27ce27b6e967fca79b99732c76d27b15c8fe2942 authored over 7 years ago
backup: fix handling already encoded passphrase

When passphrase is retrieved from VM, it is already encoded. Do not try
to encode it again.

Qub...

1556814f59d61e846688621f42eaf99fb09cff44 authored over 7 years ago
tests: check clockvm-related handlers

73fb16dbda0fc5acd30d37e2a47c9f9941f6ee1c authored over 7 years ago
doc: include list of extensions

3c052d9e3cec6800d96cb9af5f263ae6d281dfc4 authored over 7 years ago
qubesvm: fix docstring

5321e11003052b417af821ff77e06fe15ea3a8f4 authored over 7 years ago
ext/services: move exporting 'service.*' features to extensions

This means core code will not publish any features by default.

1a6728cb12ccfbc1711129d3f91a183badc4804b authored over 7 years ago
app: update handling features/service os ClockVM

Threis no more ntpd service used - new approach do not conflict with
ntpd. Because of this, new ...

e738a7596d6e69cbc8cbeecd07512119516268b6 authored over 7 years ago
tests: admin.vm.Stats

QubesOS/qubes-issues#853

9bbefa0edbb86745633422410be333363bdecdf6 authored over 7 years ago
api: fix handling interrupted calls

When an API call is interrupted, the relevant coroutine is cancelled -
which means it may throw ...

2f4b4d97e7e44cdf90b0824e72d4d758434a5dd8 authored over 7 years ago
api/admin: implement admin.vm.Stats

QubesOS/qubes-issues#853

147bca16484a74f9eac408a966b1b35cc7907905 authored over 7 years ago
app: refresh getting VM statistics, rename to QubesHost.get_vm_stats

Get a VM statistics once. If previous measurements are provided,
calculate difference too. This ...

e8b875f552339d03a1e54b28c7217668b1d0c466 authored over 7 years ago
api: use str(subject) instead of explicit subject.name

This allows better flexibility, when subject is not necessary a VM
object.

0d9574d9fc274303b814db22dcad793ec95e6b5e authored over 7 years ago
tests: register libvirt events

This is especially needed to have proper domain-shutdown event.

6a85592b51d70db2743a35c2ba2701ce285017d9 authored over 7 years ago
tests: even more agressive cleanup in tearDown

Remove some more references to objects holding (possibly indirectly)
reference to libvirt connec...

c53582b285175e3089f2c163ec71bed917b73ba1 authored over 7 years ago
api: keep track of established connections

This will be needed to gracefuly cleanup them between individual tests.

074c705f77e69771720da07a237b7606c7e1986b authored over 7 years ago
storage: fix Storage.clone and Storage.clone_volume

1. Volume.import_volume expect volume to be created first.
2. asyncio.wait do not accept generat...

910f793c619b9a01b0f69b84f49f328f6d5d05c6 authored over 7 years ago
app: do not wrap libvirt_conn.close() in auto-reconnect wrapper

close() function purpose is to close the connection...

d57120d80951c6b6b2bf3e88689c8da4d3d23a71 authored over 7 years ago