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 missing source admin.vm.Console call in qvm-console-dispvm

Qrexec service called manually needs both source and destination

Fixes QubesOS/qubes-issues#5362

ad8f1b06b4672e4ab601c8cba6d8c4f38e97ecb8 authored over 5 years ago
vm: add domain-shutdown-failed event

Similar to domain-start-failed, add an event fired when
domain-pre-shutdown was fired but the ac...

51af2ed27cde518a0bc6c9ac274886a4584ee0c6 authored over 5 years ago
Fix domain-start-failed event documentation.

0300e895f2db9652fa4998edf98d7bd28ccd599e authored over 5 years ago
tests: log stderr of paplay command

cc1ac0b859cdf757ece23c18167622bae57a24c4 authored over 5 years ago
tests: register syslog logger, log test start

Move this functionality from our custom runner (qubes.tests.run),
into base test class. This is ...

7def96c248c5061332c897dd50fd15d3b1a59db7 authored over 5 years ago
tests: remove VM under startup_lock

Prevent starting a VM while it's being removed. Something could try to
start a VM just after it'...

e0e0c7eaf93ca554929850769fba409efe9cd672 authored over 5 years ago
vm: refuse to start a VM not present in a collection

Check early (but after grabbing a startup_lock) if VM isn't just
removed. This could happen if s...

732231efb0f9f0a2215b525d19d11ba66356cbc7 authored over 5 years ago
tests: add workaround for Whonix re-starting VMs

Workaround for https://phabricator.whonix.org/T930
For now, unregister all the VMs to be killed ...

6cfda328bf2c866d51b24d112c263026ca68e8fb authored over 5 years ago
tests: fix sorting kernel version

Debian now has 4.9 and 4.19 kernels installed, so `sort -n` sorts them
wrong.

34e2f3a32243feca49ad4006d8516b0084b5c16e authored over 5 years ago
pylint: disable import-outside-toplevel

All the cases highlighted by this checker are intentional.

3dd92faa0e2af363c3921c9a0f99651416f3beb4 authored over 5 years ago
Make pylint happy

5fa75d73bed52b386816c20f378e7f549e255269 authored over 5 years ago
Move pylint configuration into standard location

Make it easier to run pylint with correct configuration. This was
especially bad as .pylintrc di...

a7c6897ba6ef55bf8bc6c31d135b2a3f4d260e08 authored over 5 years ago
api: improve handling destination removed just before the call

There are cases when destination domain doesn't exist when the call gets
to qubesd. Namely:
1. ...

eb39f698820f8f4a264f89a3af54b895be797038 authored over 5 years ago
tests: fix (hopefully) too short delay in 201_shutdown_event_race test

Domain shutdown handling may take extended amount of time, especially on
slow machine (all the L...

4fa45dbc915f7437d906791331b3ab93b48557d6 authored over 5 years ago
tests: check event handler re-registration after libvirt restart

QubesOS/qubes-issues#5303

dfa0626cea20e66772612986d874a8a34e9dc9ef authored over 5 years ago
tests: add helpful decorator to wait before test cleanup

Allow to manual inspect test environment after test fails. This is
similar to --do-not-clean opt...

8ecf00bd0e91bf5705446a5953eef20f4477bcdc authored over 5 years ago
app: re-register event handler after libvirt daemon restart

When libvirt daemon is restarted, qubesd attempt to re-connect to the
new instance transparently...

8e36a2ac6116ec1bcc55c3bacb753f8b29140c9e authored over 5 years ago
tests: fix qrexec abort test

Exit code depends on when exactly the other end was terminated.

273238bd2a7cd62d54821611ace3f9cd26828b65 authored over 5 years ago
Merge branch 'devel20190819'

* devel20190819:
tests: make libvirt mockup more robust
tests: update for not needing custom...

784fd966a23030b3581554d05c764a07134a6a56 authored over 5 years ago
Fixed unexpected error on empty default template and incorrect error handling

Qubesd wrongly required default_template global property to be not None.
Furthermore, even witho...

9d20877a438202b8be40652b97354ffd25b0fcdc authored over 5 years ago
Merge remote-tracking branch 'origin/pr/279'

* origin/pr/279:
Add qubes.ConnectTCP RPC for allowing dom0 sockets binding
qubes-rpc: add q...

46ad75a3ba5c8dbb8db18472923ebaea3d7638ce authored over 5 years ago
tests: make libvirt mockup more robust

If not in offline_mode, return actual mock for libvirt connection object
instead of always raisi...

c5aaf3abd9dbd813c6f400a8c57578111d958dd1 authored over 5 years ago
tests: update for not needing custom kernel modules anymore

kernel-devel package isn't needed in VMs anymore.

05e48748d253251b120397e0347de2324171eb0b authored over 5 years ago
Add qubes.ConnectTCP RPC for allowing dom0 sockets binding

7d1b6e24a92bd5dc60d72623fc25a9ec5e0b0e94 authored over 5 years ago
version 4.1.2

7a32b06171c9afb584b85e085cb5b3df8d52eeff authored over 5 years ago
Merge remote-tracking branch 'origin/pr/277'

* origin/pr/277:
admin: add admin.deviceclass.List
admin: replace single quote to double for...

5d5f102378681173a4b1d369b323e115c7e04c56 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/275'

* origin/pr/275:
api/stats: improve cpu_usage normalization, add cpu_usage_raw
Use 128k bloc...

32b0d7df43deb8dc76325c8b78540b65e480651e authored over 5 years ago
qubes-rpc: add qubes.ConnectTCP

e32ce14ab507cd6d84a9035d585e9e0f9cff7b59 authored over 5 years ago
Fix invalid timezone

This fixes an invalid response generated by get_timezone when the time zones are composed by 3 p...

2602df5e1979af4ca911d19e17f3fc10b4641c44 authored over 5 years ago
admin: add admin.deviceclass.List

QubesOS/qubes-issues#5213

7ff01b631dd0369f714cf728628cc4212084e00d authored over 5 years ago
admin: replace single quote to double for docstring

7f670614c8f073dccc447d142c9e71a5920bc785 authored over 5 years ago
api/stats: improve cpu_usage normalization, add cpu_usage_raw

Give raw cpu_time value, instead of normalized one (to number of vcpus),
as documented.
Move the...

39d64eabc82e315ff8c96d318907c78a413dc7e1 authored over 5 years ago
Use 128k blocks when importing volume data

Cloning volume was handled earlier, now od the same on importing volumes
(any storage).

Fixes Q...

a98f505c8fff01a22eb0d983490e66d1c5620df1 authored over 5 years ago
Update lvm.py

a5378b5958a3ba06b0115a41488c36e58fbe52a7 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/271'

* origin/pr/271:
Fix too long line
Prevent 'qubesd' for crashing if any device backend is no...

205f6215b232f3d6489d1f07d31371d363c031f6 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/273'

* origin/pr/273:
tests: check importing empty data into ReflinkVolume
tests: check importing...

9e226ab5cf317f1b2f28cc53577611d9cc494538 authored over 5 years ago
Fix too long line

6c8bdfaa4bd2bacea501a59c59546e3cd6a40148 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/270'

* origin/pr/270:
spec: add socat dependency for qvm-console* tools

11038bcdec05023795619223e7208bdcac20efef authored over 5 years ago
tests: check importing empty data into ReflinkVolume

Verify if it really discards old content.

QubesOS/qubes-issues#5192

afb0de43d49eec43640b401847a0e1a7973703b5 authored over 5 years ago
tests: check importing empty data into ThinVolume

Verify if it really discards old content.

QubesOS/qubes-issues#5192

19186f78402af325bbe4f702976465a9022564e0 authored over 5 years ago
tests: check importing empty data into FileVolume

Verify if it really discards old content.

QubesOS/qubes-issues#5192

790c2ad8cb8dcd8ee152424a580f91ae2c83eb9c authored over 5 years ago
tests: improve cleanup after LVM tests

Remove test volumes - this way if a test fails, subsequent tests have a
chance to succeed.

8414d0153fb96bd78a1b893b6acf9c7c61280581 authored over 5 years ago
Prevent 'qubesd' for crashing if any device backend is not available

74f8d4531ec5fa4ea592e9a0bd27c5226d36a5dd authored over 5 years ago
spec: add socat dependency for qvm-console* tools

16d0c8ce906760961dd46610ae0054a038c6e3c3 authored over 5 years ago
vm/qubesvm: call storage.remove() *before* removing dir_path

Give the varlibqubes storage pool, which places volume images inside the
VM directory, a chance ...

aa931fdbf73fcd0952a0176873f9e6b174b35491 authored over 5 years ago
storage: fix typo

cfa1c7171e0035f1ec341795e88d3e7ad9033fb3 authored over 5 years ago
storage/reflink: update comment and whitespace

6e592a56d71367653adf5eb06d20a6f9d4e158de authored over 5 years ago
storage/reflink: _fsync_path(path_from) in _commit()

During regular VM shutdown, the VM should sync() anyway. (And
admin.vm.volume.Import does fdatas...

1fe2aff643ec8285cf8560cd7e93d0c7e5d78a05 authored over 5 years ago
storage/reflink: _fsync_dir() -> _fsync_path()

Make it work when passed a file, too.

df23720e4e95cfc4c6ff16c77db7c516616e231e authored over 5 years ago
storage/reflink: coroutinize pool setup()

35b4b915e7ccedf04bc433507952ed4fa6b3fc85 authored over 5 years ago
app: setup_pools() must be a coroutine

This is needed as a consequence of d8b6d3ef ("Make add_pool/remove_pool
coroutines, allow Pool.{...

1d89acf6985d3858f57d2b3ebd551b63d0c298ce authored over 5 years ago
factor out utils.void_coros_maybe()

5b52d23478d3f96488bf928825bbc59fb1302cbf authored over 5 years ago
factor out utils.coro_maybe()

fe97a15d11cb6a88064e86c59525996a03c55525 authored over 5 years ago
version 4.1.1

d94e13f7533718e7b45ffd7abb4138e8367758cc authored over 5 years ago
Revert "tests: do not use lazy unmount"

Revert to use umount -l in storage tests cleanup. With fixed permissions
in 4234fe51 "tests: fix...

883d324b6cb95287c19b4ccc4d21e42e0161b8c4 authored over 5 years ago
api/admin: always save after self.dest.storage.resize()

66e44e67de353b5a280d6f64eb4468bc40192252 authored over 5 years ago
storage/reflink: preferably get volume size from image size

There were (at least) five ways for the volume's nominal size and the
volume image file's actual...

2b4b45ead8b7f550d12ee44c19ac091d97d4d5a9 authored over 5 years ago
storage/reflink: don't run verify() under volume lock

de159a1e1ea3b00f20d08b6d8999f3d5e9740909 authored over 5 years ago
storage/reflink: split @_unblock into @_coroutinized @_locked

And change the volume lock from an asyncio.Lock to a threading.Lock -
locking is now handled bef...

4c9c0a88d54a90c42419ac153cbe7fc6c9cf4032 authored over 5 years ago
Revert "storage/reflink: update volume size in __init__()"

Fixed more generally in one of the next commits ("storage/reflink:
preferably get volume size fr...

ab929baa38f4acf52aced8c8753567b1ca44a6f9 authored over 5 years ago
Revert "storage/reflink: update snap_on_start volume size in start()"

Fixed more generally in one of the next commits ("storage/reflink:
preferably get volume size fr...

58a7e0f158214b8fe4ba6020304428ccb35bd67c authored over 5 years ago
Merge remote-tracking branch 'origin/pr/257'

* origin/pr/257:
tests: AdminVM.run_service*()
tests: QubesVM.run_service function
vm/admi...

fa0ae0c921497bfdb16eaf84e4c4358397c51033 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/267'

* origin/pr/267:
lvm: run blkdiscard before remove

d5bdb5d5e0461e158a83ae94b16ef80901b53bfb authored over 5 years ago
lvm: run blkdiscard before remove

issue #5077

62e3d571206f134adf6989345962fd92f103e2f3 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/266'

* origin/pr/266:
storage/reflink: volume.resize(): succeed without image
storage/reflink: vo...

ad8c2d4b0962e4e2680ff594b37a63bec11b5948 authored over 5 years ago
tests: AdminVM.run_service*()

c468b29490ed0cbd1ad81624cbb2939027ee7db8 authored over 5 years ago
tests: QubesVM.run_service function

e352fc25d78be695a18816e8962e6a9cd18e8289 authored over 5 years ago
libvirt xml: fix DNS address broadcasted by DHCP server

In R4.0 it is no longer the same as the gateway.

QubesOS/qubes-issues#3585

2afab43df9be2e81743ba7795c8203c52470ebb2 authored over 5 years ago
libvirt xml: fix timezone syntax

Libvirt XML syntax require lowercase utc as 'basis' attribute.
This option is used only if 'time...

362e128ec68830c60ee02e579bf3a481352a3b68 authored over 5 years ago
storage/reflink: volume.resize(): succeed without image

Successfully resize volumes without any currently existing image file,
e.g. cleanly stopped vola...

ef128156a33e82ffdf0495ddb736fbd1d945bf04 authored over 5 years ago
storage/reflink: volume.resize(): remove safety check

It is handled by 'qvm-volume resize', which has a '--force' option that
can't work if the check ...

25e92bd19bc7f3b236a725716b16b08bd1c39608 authored over 5 years ago
storage/reflink: simplify volume.usage()

30b92f8845fd2a102a5f65de74a338d104384799 authored over 5 years ago
storage/reflink: update volume size in __init__()

9f5d05bfde04746e8d47972b306c924bad080c60 authored over 5 years ago
storage/reflink: update snap_on_start volume size in start()

c43df968d568f5738745dd299b7e210d40ab6955 authored over 5 years ago
vm/adminvm: add run_service* functions

Calling qrexec service dom0->dom0 can be useful when handling things
that can run in dom0 or oth...

50adc6088236aaa18ad12ce54401a770a0d554de authored over 5 years ago
api/admin: make admin.vm.Console call go through qubesd

Ask qubesd for admin.vm.Console call. This allows to intercept it with
admin-permission event. W...

b6c4f8456f5dfda2d03ac8c01c7bcc137e3b603c authored over 5 years ago
Merge branch 'remove-qrexec'

c5aaf8cdd78cabbcba11fc2fa0522734b0f0c510 authored over 5 years ago
rpm: drop createrepo dependency

createrepo isn't directly used by this package, but by
qubes-core-dom0-linux instead. Lets keep ...

5e56ffdbbc5611453678ededab3308aa33c91282 authored over 5 years ago
DispVM: Do not overwrite properties set explicitly

The initializer of the class DispVM first calls the initializer of the
QubesVM class, which amon...

94c675f7bb77f5e2a67bc11fbcb492c3ffe4fda0 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/261'

* origin/pr/261:
tiny fix in documentation

2010decfaf8c551dde88e70d8289a8d744938723 authored over 5 years ago
Merge remote-tracking branch 'origin/pr/260'

* origin/pr/260:
tests: handle /qubes-mac
mac address: lowercase of default value as in _set...

7cc5c66f93b586768504fadc8396c6e3be8d534e authored over 5 years ago
tiny fix in documentation

afe4521d67175f5491023c6244a19a5afd60f11c authored over 5 years ago
mac address: lowercase of default value as in _setter_mac

9472e7346563b0eb2a9f156cf4e4ffbd6f4b2428 authored over 5 years ago
tests: handle /qubes-mac

1e3e579938e3250bcbf46dcb5553dc4bfbe42e05 authored over 5 years ago
qubesdb: add qubes-mac path entry

06ec862be4efbd67c725c4ec5177f7c92fb274f5 authored over 5 years ago
TODO: handle 'admin-permission' event in admin.vm.Console

QubesOS/qubes-issues#5030

c0de16c9408abefedc4e25bc9f5c1245c5e360fa authored almost 6 years ago
admin.vm.Console: check if requested VM exists/is_running

ce3cb1b60375a844d3762c9f6a5726bddec39cae authored almost 6 years ago
admin.vm.Console: fix error message on management dispvm

95ddf19dcca3af515c6cd0cd43c2540e2d7f075a authored almost 6 years ago
Rename and fix from Marek's comments

1c09a2c77eb83029a284719dfd197ddabd9dacc0 authored almost 6 years ago
Fix tests for hvm with console

eaba6e54bae2357d0d6bd80ff9fd440697113ff4 authored almost 6 years ago
Add qvm-terminal-dispvm

4b866068909789bb2079cb93d0ecdf242e05f51d authored almost 6 years ago
admin.vm.Terminal: deny by default

b0e027ed1c9731a45ad6b5ea3363f124ba2cae35 authored almost 6 years ago
libvirt: add pty console for any type of VM

f728801eb2bc832cfa3c1801e3cb5bc6b1097ba3 authored almost 6 years ago
Rename qubes.ShowTerminal to admin.vm.Terminal

518d0edc9458780d4d887aa726fd191dfa25e68e authored almost 6 years ago
Add qubes.ShowTerminal service

baef139c007b64d78784d9d1a835e44abc5c28cf authored almost 6 years ago
qubes/config: change qrexec binaries' paths

40022495839f563d78dc66f85fde9a190d90c436 authored almost 6 years ago
tests/salt: log more details about failures

Log command output on failure. By default CalledProcessError
presentation do not include it.

33bf3d4506a06066d2d9fe925a8e04e1460989bd authored almost 6 years ago
tests/mime: confirm closing Firefox

If Firefox is started for the first time, it will open both requested
page and its welcome page....

5d0f8f8efa9e2ae45ed2694b59de8533960e9b6b authored almost 6 years ago
tests: use pkill instead of killall

killall isn't installed by default

66de41ac26a37a679b19083872ec796ea71206fc authored almost 6 years ago
tests: call qrexec tests

Now they live in separate package, but include them in default tests set
anyway.

QubesOS/qubes-...

76b807a94b3456a7c2e6de25f6338b53ea657419 authored almost 6 years ago