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

Add documentation for ephemeral_volatile property

And for Pool’s revisions_to_keep property.

d7c616dd5bdd628dfb997b6e02d432b552da30e5 authored over 3 years ago
Add unit tests for ephemeral volume API

As is needed by any new admin API

99d7691e9e237cba633700bf5827a585cc008ab7 authored over 3 years ago
Add pool-level ephemeral property

This allows pool-wide control over whether volatile volumes are
encrypted with an ephemeral key....

23ea4c4f34bebd6e082144f53ea2396ed860cd29 authored over 3 years ago
version 4.1.22

d01be13c9a2682f59763f3c95b10ebd01e7591fc authored over 3 years ago
Merge branch 'encrypted-volatile-prop'

* encrypted-volatile-prop:
api/admin: allow controlling Volume.ephemeral
Document Volume.eph...

c7ed3e9b6d16e4c4e0dbf0c5c73a955d33275608 authored over 3 years ago
Merge branch 'open-dvm-tests'

* open-dvm-tests:
tests/dispvm: simplify editor handling
tests/dispvm: support Geany editor
...

293140cb5ff8d39872b323fc724e418eefb087b9 authored over 3 years ago
api/admin: allow controlling Volume.ephemeral

QubesOS/qubes-issues#904

02cbdcf52f546e42a9c4f20219126d18af496caf authored over 3 years ago
Document Volume.ephemeral

QubesOS/qubes-issues#904

db1063f7df2fc7b61cf5fb77eb86919bc927c95a authored over 3 years ago
dispvm: make volume.ephemeral and volume.rw inherited from DispVM Template

Since the ephemeral volatile volume feature is most useful for DispVMs,
allow actually using it ...

24b2891d195ce459b06862c216b1c69d6eef510d authored over 3 years ago
tests: make Volume/Pool mockups a bit smarter

Save volume config in Volume.config instead of ignoring most parameters.
And also, use TestPool ...

092ce0b7bb9d4839801822adf12dfbc6f967de41 authored over 3 years ago
Do not implicitly enable volatile volume encryption

Separately encrypted volatile volume (implementaed in a4ab9bef "Encrypt
volatile volumes") makes...

d2aeda0dcc3de28f083d985b3779179f1c19e88e authored over 3 years ago
test: fix copy&paste error in admin.vm.volume.Set.rw test

e758b49dd3881c783d195f41e6c91a0b88812572 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/431'

* origin/pr/431:
tests/network: avoid race conditions with NetworkManager

c3eb832228883c657ad949d1094dc17cf854d90f authored over 3 years ago
tests/dispvm: simplify editor handling

Instead of separately detecting editor window and interacting with it,
call _handle_editor() dir...

09fd8c493484746511d9096d3052fd5a2a04dcb0 authored over 3 years ago
tests/dispvm: support Geany editor

Used in fedora-34-xfce template by default.

79cd962f2fc36d0a68807bca3f0661d11e1d7ed4 authored over 3 years ago
tests: allow excluding tray icons when searching for a window

6bb2529c680f9161875c2a9153ec501245e78bd4 authored over 3 years ago
tests: add handling for 'Mousepad' editor

6025fd92b506cf182843f005ebe326376887806e authored over 3 years ago
tests/dispvm: skip dispvm tests on whonix-gw

It isn't supposed to host user applications.

e63ddc5cd65fdf9be28fe976631374efcb2f03e5 authored over 3 years ago
tests/dispvm: increase timeout for the editor window to show up

The default timeout of 30s is too slow when running on openQA. Increase
to 60s.

5b7edd3447d4aa11c9c4d92cf4fce8bb0b59fa18 authored over 3 years ago
tests: opening files in a DispVM by default

Test for a feature developed in QubesOS/qubes-core-agent-linux#290
This sets the service.app-dis...

e0d807eca1758ab5a9f72dcf4ba972f92499bbd0 authored over 3 years ago
tests: do not consider tray icons when searching for an editor

05d9ce8d0d9f2f7229b1d2eda1d052b48eabe3cd authored over 3 years ago
storage/lvm: don't refresh the cache, if nothing has changed

Since Volume.stop() is now called on qubesd startup for all (not
running) volumes, refreshing ca...

cd0b850eb61d06358dee83fa99e414629f9ea252 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/429'

* origin/pr/429:
Some qubes.device doc wording improvements
Fix rst formatting
Fix various...

1e151335621d30ac55b6a666bc7c1419b22da241 authored over 3 years ago
tests/network: avoid race conditions with NetworkManager

The "netvm" in the tests is configured manually, using "ip" command, and
by manually writing to ...

ec228bee51e17407dad6b23355ecd54b9173b734 authored over 3 years ago
Fix the example policy provided

Two example policy entries had syntax errors. Also fix some whitespace
and add an @anyvm @anyvm...

306af915fa4e722766345552efca185ce7947f7b authored over 3 years ago
Some qubes.device doc wording improvements

6fc081dc85ac65a6a1306dbb34a1970e700983c9 authored over 3 years ago
Fix rst formatting

c2fd4b9e26d46ecfd9171814f93529f07ed793ad authored over 3 years ago
Fix various typos

9e3818af2b92a48e76ed052946ade27b0fd7c7b8 authored over 3 years ago
tests/dispvm: make _handle_editor handle read-only files too

Copy the text to the global clipboard as a proof of open, instead of
changing the content.
This ...

7460b0d5d362ef332365c4b9a6381d3dffe28496 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/396'

* origin/pr/396:
Zero the first 64KiB bytes of the volume
Use the ‘sudo’ argument to ‘run_pr...

209cd9d215f43269d02cace1ec414e572aa7418b authored over 3 years ago
Merge remote-tracking branch 'origin/pr/424'

* origin/pr/424:
storage/lvm: fix resizing snap_on_start=True volume
storage/file: support o...

54e76b6b9539a7889e1ff80cf8544066b9637798 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/423'

* origin/pr/423:
tests/never_awaited: be compatible with traceback pruning
Revert "tests: sh...

a9191e2fb68ddde977814452aa1909b65f52c372 authored over 3 years ago
Zero the first 64KiB bytes of the volume

This prevents tools from believing there is a filesystem or partition
table there.

ea12fa4d77ae62c1146d4bb61ce85661524d77a5 authored over 3 years ago
Use the ‘sudo’ argument to ‘run_program’

instead of open-coding its effect.

1285bfc7dd388a22f810c85a5ee038dbd41740ea authored over 3 years ago
_kill_locked(): Wait for VIR_DOMAIN_EVENT_STOPPED

This ensures that the domain is actually dead, and that a spurious
stopped event will not happen...

8d5fa6d18e5fe29ec868cd2e728aa96556598a0e authored over 3 years ago
Stop volumes before removing them

This ensures that encrypted volumes are properly removed, as it is
stop() that actually destroys...

de0f0cdbc2f013823e3ea29d32ca79c4c21eebcb authored over 3 years ago
Additional debug logging and minor cleanup

This logs all arguments to LVM2 at ‘debug’ level. It also simplifies
some conditional logic in ...

cb2a8acf794f5374bff52ab37d02558ee60acfcb authored over 3 years ago
Encrypt volatile volumes

This uses cryptsetup to encrypt all volatile volumes. A volume is
considered volatile if it has...

a4ab9befb68b32f7f26f15057bddf7e837974490 authored over 3 years ago
Make sure the kernel CSPRNG is initialized

Volatile volume encryption relies on /dev/urandom returning secure
random bytes. os.getrandom()...

613683ac05325c63dbf0a236a5affb087957485f authored over 3 years ago
tests/storage: do not assume the whole volatile is zero-initialized

With encrypted volatile, the initial content seems random. Only initial
header is zeroed-out.
Ch...

080a04e8d3feccdc7ec80f38c67a76cd1fcbe929 authored over 3 years ago
tests: add test success detector during tearDown()

Previously the test success detection during teardown didn't work
as it depended on self._outcom...

37971d193ed6b010a85737af6cf56e660c1d5426 authored over 3 years ago
tests: fix time.time mock interfering with logging

Logging something will try to get the current timestamp, and this
interferes with the `time.time...

d25ba3d8c297e972d2f535d93620c1e905c119c8 authored over 3 years ago
tests/never_awaited: be compatible with traceback pruning

Implement the decorators without contextlib and move them to a submodule
that's set up to make u...

f60334c3910a8be6c5cfa92d7c67533e64410ddb authored over 3 years ago
storage/lvm: fix resizing snap_on_start=True volume

This fixes resize of a DispVM's private volume, as well as AppVM's root
volume. Those changes ar...

e4b5ab13ec37c13f996e26a82fbfde8bdda0a7ec authored over 3 years ago
storage/file: support online resize of save_on_stop=True volumes

After resizing a persistent volume of a running VM, not only loop device
needs to be resized, bu...

8c9fa5e8a74e78a1539e4e11faad6aafe99e29ca authored over 3 years ago
storage/file: refuse to resize template-based volume

With the current code, it will resize wrong thing. Since the change
isn't persistent in this cas...

19bba83ccbc5dd5a0b52046505a71e3e9492acf5 authored over 3 years ago
Revert "tests: show full traceback on failure"

This reverts commit e95686c951cc8afefec51282563ae1e673629650.

f2a9510292cce28d59dea49c4f57e0ba5448940a authored over 3 years ago
storage/reflink: fix mismerge of pylint directives

26b0ebb012b377da2a7d94871911f51819ecdb21 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/399'

* origin/pr/399:
Support ro volumes that are save_on_stop
Use /dev/fd in tables
Remove blo...

792437bf0946500447211948ca0d6d70515058e5 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/422'

* origin/pr/422:
storage/reflink: make _update_loopdev_sizes() more readable
storage/reflink...

0d5957a196303986c27487e4249707f2f4fe99ff authored over 3 years ago
Merge remote-tracking branch 'origin/pr/397'

* origin/pr/397:
qubesd: at startup, stop storage for stopped qubes
Don’t include ‘/dev/’ in...

46225d85b4ce2540a6252320eda445ee13d68341 authored over 3 years ago
Support ro volumes that are save_on_stop

These are of questionable usefullness, but failing an assertion is not
the best idea.

4377d25ae1aa21e81f18fbe9e522096546202dc9 authored over 3 years ago
Use /dev/fd in tables

The old code worked, but this is nicer, as it avoids having to
interpolate a loop device name in...

44b6c3e37cb6ef27ec44bf4a89b155ea7ca7bdcb authored over 3 years ago
Remove block script support

Now that we don’t need the block script, we can drop support for it.

126166fda243699fbf525a52d1095aacdc32213a authored over 3 years ago
qubesd: at startup, stop storage for stopped qubes

If qubesd is not cleanly shut down, it is possible that storage was also
not properly stopped. ...

88fa6b4714c4eb9a36eefb009df6bbc7841ac410 authored over 3 years ago
storage/reflink: make _update_loopdev_sizes() more readable

e2224cd96c6e289b225ba62790cde2d316c40407 authored over 3 years ago
storage/reflink: make _copy_file() more readable

680e668847293b5afcc60afacf10075cea744262 authored over 3 years ago
storage/reflink: rewrap some lines

7e1053d42a19a36fa39a44a1d075602cabea8334 authored over 3 years ago
storage/reflink: use conditional expression

86814f5507978f3d3585ff34d2761b998a852314 authored over 3 years ago
storage/kernels: remove orphaned LinuxModules.commit()

e3f4c5dfceef6181640376743cc35e70b0e8fd90 authored over 3 years ago
storage: extract Storage.get_volume()

7ddea357ff0192d9f263333e647faf44079a1157 authored over 3 years ago
storage: trim outdated parentheticals from comments

434beb0294ea20242c7cf2717f7d98c7d4033634 authored over 3 years ago
storage: simplify isodate() callers

d63fba9b1a3163efd1e5d0c759ccfabef21c4682 authored over 3 years ago
storage: use list comprehension

58990eb53b5ccdf656ecc3b865a3097cd09911ba authored over 3 years ago
Don’t include ‘/dev/’ in argument to qubes_lvm_coro

qubes_lvm_coro() assumes that its argument does not include the leading
‘/dev/’ and implicitly a...

88868bca584737143cb0f363130eb744c517b889 authored over 3 years ago
Make stopping a volume idempotent

This allows them to be stopped at qube startup.

81615cdb7ee8fa0cb6eeaa52958be916b4e89a9b authored over 3 years ago
tests: show full traceback on failure

e95686c951cc8afefec51282563ae1e673629650 authored over 3 years ago
Remove the block script altogether

Replace it with proper start() and stop() methods. Also make start()
and stop() proper async me...

f794a38a5b47b8103594c680a07df1ae5fb2bb97 authored over 3 years ago
Fix pylint warnings

Also replace a NotImplementedError with an assertion

5191dd538889f471498d3a3a732997abecc35575 authored over 3 years ago
Add more assertions

for debugging

00d516f46ea57a97b021617cd6a166c06992a105 authored over 3 years ago
Remove useless setter

Python already throws an exception in this case.

9adccdb48e0a8a6c049b0661121e51edd5249ddf authored over 3 years ago
Do not try to define libvirt domain if it isn't starting

Libvirt domain object, even if defined, isn't guaranteed to be up to
date, if the domain isn't r...

485729b4d94c0d960f0b29d8c857dada32ad4b0f authored over 3 years ago
Add missing await in clone_disk_files()

71e86ddf1aa4aa4f86fd70f56b33305a6e9b4804 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/417'

* origin/pr/417:
Fix timezone handling in HVMs

f62e46b90f22aa15ee7dfb0afcf829a5e752e69a authored over 3 years ago
Fix timezone handling in HVMs

Non-Windows HVMs always want the “hardware” (emulated) clock to be UTC,
and Windows HVMs can be ...

ad317dcee33382366510a133ce08a4adf0797002 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/418'

* origin/pr/418:
tests: detect never awaited coroutine objects
tests/vm/dispvm: skip broken ...

7f8636aa01a82d9193fab3f87c84d260988249bc authored over 3 years ago
Merge remote-tracking branch 'origin/pr/416'

* origin/pr/416:
vm/dispvm: restrict pylint pragma scope
storage: clean up 'async def' conve...

026d49f2bdcfbb61363d35d000200410bf9bbff9 authored over 3 years ago
tests: detect never awaited coroutine objects

Python 3.7+ generates a RuntimeWarning when a native (i.e. defined with
'async def') coroutine o...

30e8c9055e92e4ee00108ba9458d506e05864763 authored over 3 years ago
tests/vm/dispvm: skip broken test_002_template_change

After adding the missing run_until_complete() calls, it fails with:

ERROR: qubes.tests.vm.dispv...

b85c90d781dad790c42d293e9b391382aa0e8b26 authored over 3 years ago
tests/selftest: add a place to test the test system

19290d02140f111931c2a89d172428bb85f0473e authored over 3 years ago
vm/dispvm: restrict pylint pragma scope

7b3d704b1ff51e1cd35bd73f1d232a8fb3e8b0c1 authored over 3 years ago
storage: clean up 'async def' conversion

1. Consistently define *every* Volume/Pool base class API method
that's already allowed to be...

e885abdb882856cabad971802c2b7da9295be7e0 authored over 3 years ago
storage/lvm: async ThinPool.setup() and ThinVolume.export()

35643c243a189bfdf7ca57ceca42a25d4248a135 authored over 3 years ago
storage/reflink: fix 'async def' converted import methods

- qubes.storage.Volume.locked() uses asyncio.Lock, which is not reentrant
- _coroutinized() is n...

c72c8e57583809624ab8772186fc87b6ca8d0462 authored over 3 years ago
fix no such file error starting sys-gui

0c96f69a9bcab697ce4dbb0b700b1243e0318c59 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/403'

* origin/pr/403:
We don’t “yield from” coroutines anymore
Suppress a few more pylint warning...

6a1570b972f81bd4013b251204288eed74acc85c authored over 3 years ago
We don’t “yield from” coroutines anymore

So we can remove the corresponding pylint suppression.

82d6563f9a05efc22dcbca8f09239634ab933156 authored over 3 years ago
Fix pylint warnings and improve docs

No change in behavior.

1303a5e834a0e17a6e67b420f4eb42e5d0031f7e authored over 3 years ago
Suppress a few more pylint warnings

Hopefully CI will be green after this.

089316efbb4c0317dba54912e9106f2f5f3bf36b authored over 3 years ago
Suppress Pylint warnings about overridden methods

They are often useless

85a8c0718e4c6c62c72948478b54f99287849f46 authored over 3 years ago
Remove uses of @asyncio.coroutine

It is deprecated and will be removed in Python 3.10.

c74a03a3e149bdce4a49fcda23573822bb64d7ba authored over 3 years ago
Allow run-tests to be run from any directory

not just the directory containing it.

a89647e7991d076fcd65d1a4663d8828175c8053 authored over 3 years ago
Tests require python3-inotify

so install it in run-tests.

a4c050f6dc55121b284b6e06e423e9af7ad0720b authored over 3 years ago
Install python3-coverage

The test suite requires it.

e4ca0a28e83f6579876cbef3dfd764575d9567e8 authored over 3 years ago
Fix tests if PYTHONPATH is unset

They failed with an unset variable error.

3d5d007841b61d777df686e530be41191d6f2506 authored over 3 years ago
version 4.1.21

8885f8d29e2094f58c011a8cec6777b2b7922e24 authored over 3 years ago
Use proper async functions

This fixes a pylint warning and also prepares for the
[email protected] world.

3afbd5524c38cc8c29c41a84c409a17791999d8b authored over 3 years ago
Adjust vm.icon value for DispVM-related qubes

An AppVM with template_for_dispvms is a "disposable template", so let it
have "template" icon.
F...

ef9200e0fcaa30d1af6d4e09f8c0ba7af3bf13c8 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/413'

* origin/pr/413:
gui: set qube guivm property at creation based on features

258a4499dc5f0c52b3bdd914e07bbb26ec5c30bd authored over 3 years ago
gui: set qube guivm property at creation based on features

We introduce a new feature 'set-created-guivm' which value is
used to set guivm property of a ne...

9639ca596f0741b9e51f7f2e9250d381499c4dd2 authored over 3 years ago