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

Create .spec.in and Source0

fdea48aa1ccd46e5a2fd6bd0d4641d0c64599b4a authored almost 7 years ago
vm/mix/net: make vm.gateway6 consistent with vm.gateway

Use VM's actual IP address as a gateway for other VMs, instead of
hardcoded link-local address. ...

2dee554ab7a737946c2eedd1e7d6b3de5a67abe4 authored almost 7 years ago
vm/qubesvm: handle libvirt reporting domain already dead when killing

If domain die when trying to kill it, qubesd may loose a race and try to
kill it anyway. Handle ...

f4be2843310ae21a6e47dbc520b4b3a669f3b52e authored almost 7 years ago
Typo fix

1e9bf18bcf9f63fef09e2e21eda9460577f4e2fe authored almost 7 years ago
qubes/tests: use loadTestsFromNames for nose2 compat

dfe7688158a4463b689527d273e8b7f400d8f923 authored almost 7 years ago
version 4.0.25

3c2ac0fd414afbee2ce8737a80f53ad17f12c7c8 authored almost 7 years ago
Merge remote-tracking branch 'origin/tests-less-verbose'

* origin/tests-less-verbose:
api/admin: do not log expected full tracebacks with ERROR level

5e6c94bc35a692a58f0c49eede757912f05ebb85 authored almost 7 years ago
storage/lvm: force default locale for lvm command cont.

Few more places where lvm commands are called.

Fixes QubesOS/qubes-issues#3753

2c13ba9c4811639ea52dd4642a76652ca1f987d1 authored almost 7 years ago
storage/lvm: force default locale for lvm command

Scripts do parse its output sometimes (especially `lvs`), so make sure
we always gets the same f...

faca89875bbfe0bf92e3598a2a5ac2086c2ca3e4 authored almost 7 years ago
api/admin: do not log expected full tracebacks with ERROR level

Make tests output cleaner.

bb7bb25d893c5b1eb8d2a183d46894fda1632293 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/207'

* qubesos/pr/207:
storage/reflink: strictly increasing revision ID

d6b422cc362f68aefca2e26979f55f2afedf7396 authored almost 7 years ago
tests: fix firewall tests after 6e8e48e3 "Avoid UTC datetime"

74c1893ce3ed090c4018e8281a141c326511fcf4 authored almost 7 years ago
storage/reflink: strictly increasing revision ID

Don't rely on timestamps to sort revisions - the clock can go backwards
due to time sync. Instea...

6a303760e99941ee1dac97a368e8116f7237f51b authored almost 7 years ago
Merge branch 'devel-storage-fixes'

* devel-storage-fixes:
storage/file: use proper exception instead of assert
storage/file: im...

6469705196fdebb0a1425f04e4e87c1810120d84 authored almost 7 years ago
storage/file: use proper exception instead of assert

Return readable message to the user.

5eceff84cb35dd905b9e8e761defee0cd6ed55bc authored almost 7 years ago
storage/file: import data into temporary volume

Similar to LVM changes, this fixes/improves multiple things:
- no old data visible in the volum...

510fad9163220d121c325f853a201b3df7349549 authored almost 7 years ago
Merge branch 'storage-properties'

* storage-properties:
storage: use None for size/usage properties if unknown
tests: call sea...

e5413a303603825f0908a538248b9f3817b7b8f5 authored almost 7 years ago
storage: use None for size/usage properties if unknown

Raising NotImplementedError in a _property_ is weird behaviour, better
suited for actions (metho...

03dc3e315e3fb0b2c3ff8f5733aa71a5f818ff23 authored almost 7 years ago
tests: call search_pool_containing_dir with various dirs and pools

QubesOS/qubes-issues#3241

05c80c4531d252970a8fa566a7c70493b849446b authored almost 7 years ago
storage: make DirectoryThinPool helper less verbose, add sudo

Don't print scary messages when given pool cannot be found. Also, add
sudo to make it work from ...

825de497675df7040452e1f03b8c3bf74a237682 authored almost 7 years ago
api/admin: add 'included_in' to admin.pool.Info call

QubesOS/qubes-issues#3240
QubesOS/qubes-issues#3241

1bc640f3e095555e48eca7815aaa0aed131c7d8c authored almost 7 years ago
storage: add Pool.included_in() method for checking nested pools

It may happen that one pool is inside a volume of other pool. This is
the case for example for v...

d40fae975687c52c946156a861f83222a0f9c965 authored almost 7 years ago
storage: move and generalize RootThinPool helper class

This is a class for finding thin pool containing root filesytem.
Generalize it to work for other...

99f430511a66c371b7f009c9d0a893609fbe85b0 authored almost 7 years ago
storage/kernels: refuse changes to 'rw' and 'revisions_to_keep'

This pool driver support only rw=False and revisions_to_keep=0 volumes.
Since there is API for c...

a0723a9e3222f740c505536d240330e806c7104e authored almost 7 years ago
api/admin: implement admin.vm.volume.Set.rw method

Allow setting 'rw' volume property.

376c8ec00d80bfdc09b5cd8c9dc1540dfb97cb19 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/202'

* qubesos/pr/202:
api/admin: fix backup exclude

b66a2e9a516e4df0cd4d1772c4aef637111b9eb8 authored almost 7 years ago
api/admin: fix backup exclude

Bugfix on 59abdeb

a0c5014737174717e6d10c117dbba9b6eb8c6d8c authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/200'

* qubesos/pr/200:
Removed self.rules != old_rules
Avoid UTC datetime
Wrong init var to boo...

93bccf583e74260ee1b4c5c883b2db45cdde0b03 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/201'

* qubesos/pr/201:
storage/reflink: reorder start() to be more readable
storage/reflink: simp...

a3a6a462f394269d23ba0c7343669dd306493366 authored almost 7 years ago
api/admin: include 'revisions_to_keep' and 'is_outdated' in volume info

Since Volume.is_outdated() is a method, not a property, add a function
for handling serializatio...

2a962c54dbbad7aa074dee8f171a81b5ef80e864 authored almost 7 years ago
storage/reflink: reorder start() to be more readable

This also makes slightly more sense in the exotic (and currently unused)
case of restarting a cr...

1743c76ca9271a280b5c7682f2b84c4ffd7d4b9e authored almost 7 years ago
storage/reflink: simplify

31810db977b1e881adfcca723dfce1c3e7358b72 authored almost 7 years ago
storage/reflink: let _remove_empty_dir() ignore ENOTEMPTY

c382eb375239073f24c9e0169503ddad3723c3d1 authored almost 7 years ago
storage/reflink: show size in refused volume shrink message

Like e6bb282 did for lvm.

023cb4929398104942e8cc9d40d213a7544e55bf authored almost 7 years ago
storage/reflink: fsync() after resizing existing file

Ensure that the updated metadata is written to disk.

c31d317c6349ae6f2a54f4ce8cad80cc1517dcfc authored almost 7 years ago
Removed self.rules != old_rules

After lot of testing it does not work properly. Could do something more
sophisticated but since ...

39d904ea824337dceb9db444e71290a6dc0ba667 authored almost 7 years ago
Avoid UTC datetime

utcfromtimestamp() does not seems reliable and qubes-manager uses local time

6e8e48e32d54c832aabb1a0578587b5e6da0df2b authored almost 7 years ago
Wrong init var to bool and missing call to total_seconds()

fix https://github.com/QubesOS/qubes-issues/issues/3661

b3b18f97f876b25e92010d4a6d7b132ea20edd98 authored almost 7 years ago
Fix error message when using invalid VM as a template for DispVM

Don't crash (producing misleading error) when checking if
template_for_dispvms=True.

Fixes Qube...

e2b70306e558face4003b3e42e3dcedd6f31949f authored almost 7 years ago
version 4.0.24

a8784df349910c2f3acf503207084a663c30e400 authored almost 7 years ago
qubespolicy: translate '' target to '@default' earlier

Translate empty target to '@default' keyword earlier, so that
original_target will report '@defa...

232a00a2b09972403cb86e8c921fd4b292da3e4b authored almost 7 years ago
Add qubes.GetDate proxy service

This enable two things:
1. Follow global clockvm setting, without adjusting qrexec policy.
2. Av...

bda9264e19a1726e6bbfeae8ee685309ca95736a authored almost 7 years ago
vm/qubesvm: allow 'features-request' to have async handlers

Some handlers may want to call into other VMs (or even the one asking),
but vm.run() functions a...

7c4566ec14ccd814bfe208eb49002e334514608c authored almost 7 years ago
Add default policy for qubes.StartApp service

Fixes QubesOS/qubes-issues#3044

5840dd76f909e0e2af85d8c89a0ea51f209a4719 authored almost 7 years ago
tests: convert pvgrub tests to core3 API

QubesOS/qubes-issues#3563

b1e83f899f73df485f962fd22ebc955ada10e533 authored almost 7 years ago
vm: provide better error message for VM startup timeout

"Cannot execute qrexec-daemon!" error is very misleading for a startup
timeout error, make it cl...

ba5d19e1b4d072a22bfb75de13345c189186fc01 authored almost 7 years ago
storage/kernel: skip modules.img block device if kernel dir doesn't have it

Some kernels (like pvgrub2) may not provide modules.img and it isn't an
error. Don't break VM st...

1774be1c6966d6032f7357e52639487f40037408 authored almost 7 years ago
vm: fix calling vm.detach_network() when really needed

*oldvalue* argument to property event handler is provided only when the
value was not default. C...

173e7e425083f51e122ecb7d602bb565b49e1b8f authored almost 7 years ago
tests: fix extra test's VMWrapper.run(wait=False)

The call was ignored.

92a460526f500cb90da358aa2400b5fb93b355f0 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/198'

* qubesos/pr/198:
backup.py: add vmN/empty file if no other files to backup
Allow include=No...

81aea0c2c722e259f370b5b977a419028defa446 authored almost 7 years ago
backup.py: add vmN/empty file if no other files to backup

6886e70aa965d75c603e67004ebe058e0bf3f3ef authored almost 7 years ago
Allow include=None to be passed to admin.backup.Info

This is forwarded to qubes.backup.Backup(), which uses None to choose
VMs according to their inc...

59abdeb30eaf0a135719b18ed468380e17da69b2 authored almost 7 years ago
Add include_in_backups property for AdminVM

dbaf60ca24567edd29a71314b7fc14011f80dceb authored almost 7 years ago
Use !auto_cleanup as DispVM include_in_backups default

84ca0c6df5a85738ac85ee8cde5dd90b0bbe40ea authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/197'

* qubesos/pr/197:
Don't fire domain-stopped/-shutdown while VM is still Dying

716114f6767035b2ff72afca2c74550ef4fc9437 authored almost 7 years ago
Don't fire domain-stopped/-shutdown while VM is still Dying

Lots of code expects the VM to be Halted after receiving one of these
events, but it could also ...

f96fd70f7686e846b1d09957e6e55f9f36b768f4 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/193'

* qubesos/pr/193:
tests: add a test for removing expired firewall rules
firewall: use asynci...

1562defd4251d2e62339586bcca5c42e6525e1be authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/192'

* qubesos/pr/192:
storage/lvm: add more details to refused volume shrink message
tests: stor...

7731a56daa89daf888410bcd34b3f469a9048e9d authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/195'

* qubesos/pr/195:
Fix is_running non-boolean

b283ab2b52b25ebb766670a106bcf5af4ca7a378 authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/194'

* qubesos/pr/194:
reflink: style fix
storage: typo fix
lvm_thin: _remove_revisions() on re...

033100fa7e4ffec26569c3c505a957a697704a6c authored almost 7 years ago
Fix is_running non-boolean

75d8c553f9c0fea565a0629732d3ac3ac65adba9 authored almost 7 years ago
version 4.0.23

4f52a3b62e0a69b745a554d9510f5205e889595e authored almost 7 years ago
rpm: adjust dependencies

522a9594ee0646ed6d11c83430b49b05fe15d051 authored almost 7 years ago
qubespolicy: use '@' instead of '$' for policy keywords

Using '$' is easy to misuse in shell scripts, shell commands etc. After
all this years, lets aba...

68b6f1ec7673750b8d12d3be21b0ef9995eadfca authored almost 7 years ago
qubespolicy: use separate arguments for original target type and value

Provide original target as two arguments: type, value
This will ease handling special keywords w...

c87fcd7e2e00a262756561d8a2afbcb52f371f44 authored almost 7 years ago
reflink: style fix

37e1aedfa337ce989d5b64aab5716800eee9d257 authored almost 7 years ago
storage: typo fix

c871424fb09aa8764f44c4c5f03de3ed57ffe430 authored almost 7 years ago
lvm_thin: _remove_revisions() on revisions_to_keep==0

If revisions_to_keep is 0, it may nevertheless have been > 0 before, so
it makes sense to call _...

f6542effc57916e99451efd9edc27391c8d0306a authored almost 7 years ago
lvm_thin: don't purge one revision too few

We just added one that must be taken into account.

ade49d44b78a241ecd9ecae0aa904b849afc586f authored almost 7 years ago
lvm_thin: really remove revision

86998b0815d39b148c2cdd2820f6f1d2bb91d96a authored almost 7 years ago
lvm_thin: fill in volume's revisions_to_keep from pool

Otherwise, the base class defaults revisions_to_keep to 0.

9f468f93f5f5e32acd792b8cb11a7e4596633026 authored almost 7 years ago
qubespolicy: unify calling qrexec service

Rely on qrexec-client resolving QUBESRPC keyword, same as in case of VM
call. This will allow ap...

7c50bd51042406e2b9b2d659d0a4b23291832c9f authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/190'

* qubesos/pr/190:
Missed one test, adding default-user in assert for test test_621_qdb_vm_with...

b00bbb73e46158388f4ae61e31bac09ef23e01b9 authored almost 7 years ago
Fix too long line

e3d3e149f0b87fb385c78fc3506b7fc84e8e916e authored almost 7 years ago
version 4.0.22

14c6aad15322aff0a5c6a9c62b1a53a300885d4e authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/188'

* qubesos/pr/188:
file-reflink, a storage driver optimized for CoW filesystems
Make AppVM/Di...

209af07fd051f491e9d946d1c311d92d3051565d authored almost 7 years ago
Merge remote-tracking branch 'qubesos/pr/191'

* qubesos/pr/191:
qubes/tests: fix QubesTestCase.qrexec_policy

5afd5fb04fcbd28ef74c07e38fddf722d648f0d1 authored almost 7 years ago
vm/appvm: forbid changing template if the are children DispVMs

Changing AppVM's template will not update root volume reference in
DispVMs based on it. For now ...

717bc4ace3e1830bf283861368352cc8545f3275 authored almost 7 years ago
file-reflink, a storage driver optimized for CoW filesystems

This adds the file-reflink storage driver. It is never selected
automatically for pool creation,...

1695a732b8883052433272eb54f3e46343fedf08 authored almost 7 years ago
Make AppVM/DispVM root volume rw to avoid CoW-on-CoW

7a75e1090d92b33947e02a4a9c1658df04815b29 authored almost 7 years ago
tests: add a test for removing expired firewall rules

QubesOS/qubes-issues#1173

340b8dbfe22f3d9938c3ad305bee77632b58be5b authored about 7 years ago
firewall: use asyncio's call_later instead of systemd to reload rules

When some expiring rules are present, it is necessary to reload firewall
when those rules expire...

5e89b23288b9c2cfce0ee2948e019b98483c98e8 authored about 7 years ago
storage/lvm: add more details to refused volume shrink message

Include old and new size.

e6bb2828f154197103ba72cb3641f2b6a9e0d104 authored about 7 years ago
tests: storage/lvm resize

QubesOS/qubes-issues#3519

4e314c9792826edae43893eec2c2707da38e8d00 authored about 7 years ago
storage/lvm: fix resizing not persistent volumes

Even when volume is not persistent (like TemplateBasedVM:root), it
should be resizeable. Just th...

7903dc53f9d77870f227a98691856df8b0630a6c authored about 7 years ago
qubes/tests: fix QubesTestCase.qrexec_policy

The context manager left empty file.

fixes QubesOS/qubes-issues#3535

8083d6dece23fd8d85cef2b9c3b9f8c84e449dc3 authored about 7 years ago
Missed one test, adding default-user in assert for test test_621_qdb_vm_with_network in TC_90

65d5c41fdbb1a69f5c38f6d63744d903556ac2de authored about 7 years ago
replaced underscore by dash and update test accordingly

a0d45aac9c548fdb04b2b756c0d302c4d84fe572 authored about 7 years ago
Updated assert content for test_620_qdb_standalone in TC_90_QubesVM

0eb978c59ba2ca67bcb180011e78325bf49de30a authored about 7 years ago
Added the default_user property from the Qube to the qubesdb so it is available when starting X. This is the 1st part of a fix for issue https://github.com/QubesOS/qubes-issues/issues/2372

1c3b412ef80e81cb8dafcda55976a25f82902592 authored about 7 years ago
version 4.0.21

9b5256f002e0115e58160f5587f8a65a9abdcead authored about 7 years ago
vm/mix/net: fix handling network detach/attach on VM startup

- catch both QubesException and libvirtError - do not kill starting VM
just because an error whi...

a6a7efc9a711db4016a037c8ee84c12e41eab8d4 authored about 7 years ago
Fix starting PCI-having HVMs on early system boot and later

1. Make sure VMs are started after dom0 actual memory usage is reported
to qmemman, otherwise do...

86026e364f203366e200c720b5365ea16562ce91 authored about 7 years ago
version 4.0.20

2a8fd9399e54dbf22e734cb89edf4f006273ef4a authored about 7 years ago
tests: adjust for type=pvh change

2c2b89e2e064ccb10fb6b44a6b8be97202db6d02 authored about 7 years ago
rpm: require libvirt new enough for type-pvh

76836d4ff6a7e49e1987d9d3cfa457ca97ea50bf authored about 7 years ago
tests: set virt_mode='hvm' for PCI tests

99134efc3cc3f751c4c3f4be1905a73190fd3f8a authored about 7 years ago
Switch to new PVH config variant

c3d287a33cc0cf5c2038e715eb4da66d78d2703d authored about 7 years ago
version 4.0.19

30ba4b8e3ba168ff4a8acc29b8ff243a7a413189 authored about 7 years ago
Merge remote-tracking branch 'qubesos/pr/187'

* qubesos/pr/187:
Don't fail create/clone if /var/lib/qubes/TYPE/NAME/ exists
Make 'qvm-volu...

eb846f6647d0c893d954f384241f25af360c6185 authored about 7 years ago