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

Implement changing the template of a DispVM

e11f94b496f334984f04d1349cd23db605d1100f authored about 4 years ago
Enhance qvm-console-dispvm and admin.vm.Console

- use `/run` instead of deprecated symlink `/var/run`
- add `--autostart` option to automaticall...

ca9a496e421dd0375414481a361ade8cc2bcf643 authored about 4 years ago
Merge remote-tracking branch 'origin/pr/354'

* origin/pr/354: (35 commits)
tests/lvm: re-introduce POOL_CONF
tests/lvm & callback: remove...

39ef189a931d36c9c1d3db6d33749a6715720924 authored about 4 years ago
Merge remote-tracking branch 'origin/pr/375'

* origin/pr/375:
Fix line lengths
Return better error messages from file pool
Fix bugs fou...

7ab1703a06bddd7113a688377337aed84334e604 authored about 4 years ago
Merge branch 'tests20201030'

* tests20201030:
tests: fix test_550_ipv6_spoof_ip
tests: wait for full VM startup before te...

b3bb65d3b04304b1ce2326bf02b6160dcf9fb39d authored about 4 years ago
Fix line lengths

542fee173dc59a56958764007f73a66281e8df01 authored about 4 years ago
Return better error messages from file pool

A `qubes.storage.StoragePoolException` will be returned as a useful
error from `qvm-backup`.

09785449edd55b151bfca76b074944944be3760d authored about 4 years ago
tests: fix test_550_ipv6_spoof_ip

Use 'ip route replace' instead of 'ip route add' to not fail on already
existing route entry. Th...

86ccbcc206c4975987357a320cdb885669cea386 authored about 4 years ago
tests: wait for full VM startup before testing network and few other

Network may be configured (by qubes-misc-post service in some cases)
after qrexec is started. De...

7d8d0c10d15f7578e04b183564ebff2cee1b7ee0 authored about 4 years ago
Make run-tests script try to find qrexec

Parts of core-admin (specifically some extensions) require qrexec python
module to work, and to ...

12bc523b982bf993296d5a48c20a1a452931da39 authored about 4 years ago
Start using 'async def' syntax

The Python version (and pylint) are new enough finally.
Adjust QubesVM.run* functions for now.
P...

77323cd30dae2d5012a03e1abf634f7393a743e3 authored about 4 years ago
gitlab-ci: install dependencies via dnf

Make them available system-wide, not only in user home - needed to call
some of the code via sud...

8b321e8fb0b973f05a97e45425402f0815fb433b authored about 4 years ago
Fix bugs found by Rusty Bird

7275939000799ce9568e694c5ee7995ccb774f1e authored about 4 years ago
Fix export locking

If qubesd has restarted then _export_lock will be None

ec51673f21230a09b4847afefc350c200fad5314 authored about 4 years ago
Re-add dirty check in case qubesd is restarted

e53d04005120b472b820b8732bf8d96ae495a5df authored about 4 years ago
File volumes are started NAND exported

So add a lock to ensure this.

e4854df42f97e9fcb61664059fdfac520b19a3a5 authored about 4 years ago
file pool: snapshotting dirty volume not supported

Raise a NotImplementedError rather than risking corruption.

14e9154e4e283187f893939eea72b294f07ce178 authored about 4 years ago
gitlab-ci: install pip before using it, adjust pylint call

5e4b495682a3b7d93fcc411c55e8c5c633a63b10 authored about 4 years ago
Always snapshot in the FILE pool

We must snapshot a VM’s disk before exporting it. Otherwise, we will
likely corrupt the VM’s fi...

cee8201989f3c42bdb004c77198b650a681da433 authored about 4 years ago
gitlab-ci: add tests job

- run tests in a vm runner to have LVM and loop devices access
- upload coverage data via wrappe...

2c8057c43a461b11881bd7db681e7da2cdf9053a authored about 4 years ago
rpm: fix %if syntax

rpm in fedora-33 complains about not quoted strings:

error: bare words are no longer suppor...

a40344252a82976677fc0df5eb97a1a88cfdf74a authored about 4 years ago
tests/lvm: re-introduce POOL_CONF

It's still needed by the lvm integration tests. If possible, it should
be avoided inside lvm uni...

c717dacd8d95270a80d2870a3b5631203f4f18d4 authored about 4 years ago
Add .gitlab-ci.yml

a21783e5f670e12ffb53a81badc6bd6ef1fc147e authored about 4 years ago
tests: fix logging network info on failed test

- log from requested VM
- use 'critical' log level to reach journalctl
- log /var/log/xen/xen-ho...

8233009e2a9c1f2bfd4f34503ded324a9848d044 authored about 4 years ago
tests: use dup-ed stdin in wait_on_fail

transport.close() (necessary to detach reader from the loop) will close
the FD. In case of stdin...

79fb0cade1ab0d23b7e7d9e392170667e1a87821 authored about 4 years ago
tests: add PVH grub2 tests

6db24d3eafadd665f0f35b1f9bf241e160e7fd57 authored about 4 years ago
Re-enable SMAP for VMs

Buggy Linux version is no longer present in any supported template (the
last one was Debian jess...

8f38753bdb29ae43c66fb2076142f19168f4423d authored about 4 years ago
tests: adjust for applications list stored in features dict

73e55eb99a3455ae06489e95f52ee404ab5f4dce authored over 4 years ago
tests: remove test_030_clone

Since qubesd-side clone_vm function is gone, it doesn't make sense to
test it. For some time alr...

2b49979c2ad806fd31a6266c51777e77b2f08cd9 authored over 4 years ago
drop old workaround kernelopts

- nopat - added when PAT in Linux+Xen was buggy, no longer the case for a
long time.
- iommu=sof...

8b4a4a72b434a978b235ae1afc1063f06bcdea67 authored over 4 years ago
tests: make sure dnsmasq is stopped before starting it again

Avoid conflict on listening port ("Address already in use" error).
Send SIGTERM until all instan...

14c636469f0407d43534720eed55baa4bc24fd5d authored over 4 years ago
tests: fail the test early if VM fails to start

Make an exception in vm.start() actually interrupt the test. The
asyncio.wait() returns list of ...

79d4b7162af292f037c3a504a8a1314ec4251f38 authored over 4 years ago
version 4.1.16

e4a8caaaa2e685d73e72ab2daf60d943edb0d9fc authored over 4 years ago
Merge remote-tracking branch 'origin/pr/369'

* origin/pr/369:
ext: support for non-service feature advertisement

7ffa7564cfea917c0f3b528c695c65373412b8e5 authored over 4 years ago
Merge remote-tracking branch 'origin/pr/367'

* origin/pr/367:
gui: add --all and --dom0 to qubes-input-trigger script
gui: adapt trigger ...

bdd1184a3a89c3e01eab0665e840f35461585888 authored over 4 years ago
gui: add --all and --dom0 to qubes-input-trigger script

7ee877caa017e9a3cd1e9e40a8188705edadb070 authored over 4 years ago
ext: support for non-service feature advertisement

Add an API for VMs to announce support for non-service features. This is
very similar to support...

bc26e743399f70c0d5f2acc85738d69426307e78 authored over 4 years ago
gui: adapt trigger for dom0 input devices

f744d898039eac6ec34c648d51f9badf96acdd26 authored over 4 years ago
Add apparmor=1 security=apparmor to kernelopts if apparmor feature is set

67faa7c1f92cca1eab5d78c410c310378ae8dc52 authored over 4 years ago
Set apparmor feature when template advertises support for it

80ecee51db5c6f87b4827a8b4e9dcf3cc12e62e1 authored over 4 years ago
gui: trigger services start for ps2 devices

480aeee9de869176b2c093d65d0571fc457ef7bf authored over 4 years ago
Make pylint happy

- ignore raise-missing-from
- fix super-with-arguments

1500ed8fcb3cf0d021bcaa400c00dcd42b00d250 authored over 4 years ago
Replaced error on nonexisting label name with a more descriptive one

Instead of unintuitive Value Error now we have dedicated QubesLabelNotFoundError.
Goal: to make ...

6b9528316fda1d34fd5326dbc21f44c3af1b7219 authored over 4 years ago
Fixed grey label color value causing accidental green icons

fixes QubesOS/qubes-issues#3471

b50658608934629c2dde417e7b7f2b885553e496 authored over 4 years ago
version 4.1.15

66d8a7848153142d280a4274b813d7c238b5caac authored over 4 years ago
tests: fix duplicated entries in TestVMsCollection

Deduplicate entries when iterating over TestVMsCollection values. Some
tests add given VM multip...

ed5b9083710c6f3c53a59bf7ecbc10aa742b0806 authored over 4 years ago
Merge remote-tracking branch 'origin/pr/365'

* origin/pr/365:
Added icon property to AdminVM

24e0ddd7ab5487e8dddd2e18a1032b30756f2be6 authored over 4 years ago
Merge remote-tracking branch 'origin/pr/254'

* origin/pr/254:
vm: allow StandaloneVM to be a DVM template
vm: do not allow setting templa...

f2b047c47e8db1ee46b1e0cea07786024fb414b7 authored over 4 years ago
Merge branch 'test-fixes20200806'

* test-fixes20200806:
tests/extra: add vm.run(..., gui=) argument
tests: collect detailed di...

74725b584a362f24d442495be79e418359b2363c authored over 4 years ago
tests/extra: add vm.run(..., gui=) argument

A convenient (and compatible) option to wait for user session before
starting the command.

c425df6c57a51513a33cd50710fd1234ae5d9575 authored over 4 years ago
tests: collect detailed diagnostics on failure

Help debugging test failures by collecting detailed information on
failure. It will be logger to...

46cc4ca91098d1f48eb7529cbadffbffe77d8f29 authored over 4 years ago
tests: workaround a race in qrexec test

qrexec-client-vm may return earlier than it's child process (it exits
right away, without waitin...

8b076dfe5fb179fd45a144540bb8dace8ba6ae38 authored over 4 years ago
Merge branch 'paranoid-restore'

* paranoid-restore:
tests: paranoid backup restore
Add policy for paranoid mode backup resto...

6d50546bd04c9b1da4dd70b658b898560f41615f authored over 4 years ago
tests: fix audio recording test

To calculate frequency it needs to use samples per second (44100), not
samples pre recording len...

1abf949fafa37e3dc4e73403e5078e22e99c516a authored over 4 years ago
Added icon property to AdminVM

To provide greater visual distinctiveness to AdminVMs, now they will
have their own icons.

requ...

ebb1cf6e78c682168ef8c3255dc4acfd42c6503a authored over 4 years ago
Merge remote-tracking branch 'origin/pr/363'

* origin/pr/363:
vm/adminvm: adjust exception raised by AdminVM.start()

2a1e5a2af9ad716899c185e03595e98405449665 authored over 4 years ago
Merge remote-tracking branch 'origin/pr/362'

* origin/pr/362:
Fixed property-reset event not firing for default_dispvm global property

512ff8e8b8d718851fb14aee80495f3451717b31 authored over 4 years ago
tests: paranoid backup restore

QubesOS/qubes-issues#5310

117724a7725796119fc8a7e2acad0707bdf7c50a authored over 4 years ago
Add policy for paranoid mode backup restore

Policy allows a VM with 'backup-restore-mgmt' tag to create VMs, and
then manage VMs with 'backu...

e73320533f940bc85f85eddb41811209d8b0786d authored over 4 years ago
tests: make qvm-sync-clock test more reliable

Compare the time with the "current" time retrieved from ClockVM just
before comparing, not with ...

3815e0b5cfeb228bf466c2533134551b17bf5dfd authored over 4 years ago
tests/lvm & callback: remove explicit class references

9e26bfd43221eea8d45518f62b5c92e0c348fa15 authored over 4 years ago
vm/adminvm: adjust exception raised by AdminVM.start()

Behave like any other running domain - raise
qubes.exc.QubesVMNotHaltedError instead of generic
...

0eb458109c42a0ac2358615351e0d5942674081b authored over 4 years ago
Fixed property-reset event not firing for default_dispvm global property

fixes QubesOS/qubes-issues#5977

f35a7a78b3722899142fae0e75facc9e11fe4ac8 authored over 4 years ago
Add an extension preventing starting a VM while it's being restored

Do not allow starting a VM while the restoring management VM has still
control over it. Specific...

2cdba05c99688229eaeced52503d43db955f9006 authored over 4 years ago
Add support for 'tag-created-vm-with' feature

When a VM with 'tag-created-vm-with' feature set creates a VM (using
Admin API), that VM will ge...

6f87f310dbd4b355f30fb4ff09b3aecf74759d02 authored over 4 years ago
storage/callback: remove the "word of caution"

As discussed in the PR, sync code will not be interrupted when run from
async code as long as Qu...

b95339ea273b8bea0e725bafbb919fef1fd4c7b8 authored over 4 years ago
storage/callback: comment fixes

b9b86976f36832b83ac0dd0c8e597a1e5a16e675 authored over 4 years ago
storage/callback: add the config ID as callback argument

2487d86c720f868832a842dc6b80d0bab37539b7 authored over 4 years ago
storage/callback: some callbacks added & removed

Added:
post_volume_create & post_volume_import as requested by Marek

Removed:
post_ctor as this...

536e12d80c82cfe0ee4c02029f6614098ac74334 authored over 4 years ago
tests/lvm & callback: Refactoring

Mostly to avoid re-writing storage_lvm globals in storage_callback
tests.

fd3a56e0cb328c13b0116e3c6bc3591df1767718 authored over 4 years ago
Revert "storage/callback: do not run sync code async"

This reverts commit 287a4a0429165f9fa969960dafbd810a29c421d9.

As Marek correctly pointed out, s...

3db5e9f8bf6b8d8c8e2ddf6a613093d68f2bbeac authored over 4 years ago
Add power state to get_system_info

For qrexec policy, to implement 'autostart'
(see QubesOS/qubes-issues#5952).

4acf69e8ecd1ba82f3f7bbead4f5a3ab2a143352 authored over 4 years ago
tests/callback: ensure missing conf causes errors

fdceb064fe50a22335c0197d54f15626202b1de2 authored over 4 years ago
storage/callback: do not run sync code async

287a4a0429165f9fa969960dafbd810a29c421d9 authored over 4 years ago
tests/callback: added callback-specific tests

This involved some further generalisation of the lvm tests.

a53781b1143f8c300f526f182fe05978a9f87712 authored over 4 years ago
storage/callback: async Volume.export() & added Volume.export_end()

Fixes QubesOS/qubes-issues#5935

56c8d9d0396a89acd76b5c8db7e079808cf6879d authored over 4 years ago
storage/lvm: make the "hack" work with CallbackPool instances

CallbackPool instances are no ThinPool instances, but behave
identically, if their backend drive...

42d62bb47e4075ed720fee857745dd0934a149ef authored over 4 years ago
storage/callback: add the backend_class property

This should be useful for devs to inspect the Callback* classes.

409ea88a6680859992a30f3cc8c810d65e817ef1 authored over 4 years ago
tests/callback: add them to the rpm build

527fa1ec20d58185822dc653fdc08ca99558cd41 authored over 4 years ago
storage/callback: comments

dab41ddcf785a3b250fbc380894bd024007a8a5e authored over 4 years ago
storage/callback: use Qubes exceptions

a00b2d563aa5c11cb838602361ece9f17c72d189 authored over 4 years ago
storage/callback: added sphinx attribute comments

49dd8250c5c604e1b541ea28c3a0788e1b316833 authored over 4 years ago
storage/tests: expect the callback pool driver

eee800366d1c40fdb24eaebeb99ebbd60516e8f3 authored over 4 years ago
tests/lvm: make the tests re-usable for other drivers

in particular for the callback driver tests

fe27b2a1ebfb8c0a2c79002334f6ca39dfbd1c48 authored over 4 years ago
tests/callback: add rudimentary tests for the callback driver

d9f1bced2261646e6118f368619ef41cf7bbca30 authored over 4 years ago
storage/callback: more succinct callback names

[pre|post]_[operation] should be more clear than
on_[operation]

bf8ece8a0c5f0fce4e32a0f211e6d282c05a9b39 authored over 4 years ago
storage/callback: fix issues detected by pylint

43fca80a5b507cda6eb2aedf038e0c150b5faa82 authored over 4 years ago
storage/callback: volume callbacks now also rceive the source volume

as argument (if there's any)

This is useful for disposable VMs to identify from which template t...

529e4bfbbf33a0394acd0b5e6cbbee7adbb188fc authored over 4 years ago
storage/callback: add a post_volume_start callback

57e7a0291245cd090aa6e4574daa872bcc9e4186 authored over 4 years ago
storage/callback: fix the rpm build

170e5f5d7a67aad74c434e8c183f6b57dee6e231 authored over 4 years ago
storage/callback: make CallbackVolume a Volume

Unfortunately this appears to be necessary due to
various Qubes OS `assert` checks and to get `_...

9de54ab242d868652c6e88c70ef069f413d17643 authored over 4 years ago
storage/callback: enforce CallbackPool as the pool attribute of delegated volumes

This fixes a bug preventing the use of the callback pool driver
with disposable VMs.

178d4dd9975d3a4ed60dd012ac7bb713f6e771d4 authored over 4 years ago
storage/callback: pylint: disable line-too-long

caddc1c499783e5b8418a226aa96f1d1ab6e1be4 authored over 4 years ago
storage/callback: asyncio implementation

889c9238fe516e4ee1512759bd4558e6a46bd1dd authored over 4 years ago
storage/callback: various fixes

- Removed all own class attributes to avoid name clashes with delegated
class attributes.
- Impl...

e5838dbd976291cf72c1317214a9e8ce059377bf authored over 4 years ago
storage/callback: make pylint happy

5530265b27a29137f5944625f2ffb818e86d0903 authored over 4 years ago
storage/callback: more readable bash invocation

efa0d7c25706a2a6ca2d249d687c1e3f4642defd authored over 4 years ago
storage: added the callback pool driver

746697ad2c003da3e64995e932db9b581cb33bd7 authored over 4 years ago
storage/callback: initialize logger in __init__

bbb596e3eea5a669e92f92c05e6de4f262fe241f authored over 4 years ago
Merge remote-tracking branch 'origin/pr/359'

* origin/pr/359:
Add tests for vm.volume.Clear.
Use self.dest.storage.import* wrappers inste...

784878f1f75b1393fb222236fff8d7d13e0d1df6 authored over 4 years ago