Marek Marczykowski-Górecki
117724a772
tests: paranoid backup restore
...
QubesOS/qubes-issues#5310
2020-08-06 04:23:04 +02:00
Marek Marczykowski-Górecki
e73320533f
Add policy for paranoid mode backup restore
...
Policy allows a VM with 'backup-restore-mgmt' tag to create VMs, and
then manage VMs with 'backup-restore-in-progress' tag (which is added by
AdminExtension, based on 'tag-created-vm-with' feature).
VM with 'backup-restore-mgmt' tag can also call qubes.RestoreById
service to a VM with 'backup-restore-storage' tag. This service allows
to retrieve backup archive.
QubesOS/qubes-issues#5310
2020-08-06 04:23:03 +02:00
Marek Marczykowski-Górecki
2cdba05c99
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. Specifically, that restoring VM will not be able to
start just restored VM.
QubesOS/qubes-issues#5310
2020-08-03 04:38:11 +02:00
Marek Marczykowski-Górecki
47d4030bdb
tests: move pure-qrexec tests into separate module
...
Move qrexec (as a mechianism) tests into qubes.tests.integ.qrexec.
Yet anoter split for better openQA jobs scheduling.
2020-06-06 04:07:55 +02:00
Marek Marczykowski-Górecki
60b8b40317
tests: move IPv6 tests into separate file
...
Move to qubes.tests.integ.network_ipv6.
Again, to allow scheduling as a separate openQA job.
2020-06-06 04:07:55 +02:00
Marek Marczykowski-Górecki
586526c072
tests: move vm update test to a seprate file
...
This allows scheduling them in a separate job on openQA
2020-06-06 04:07:54 +02:00
Marek Marczykowski-Górecki
b889bf98f4
rpm: adjust dependency to prevent mismatching qubes-core-admin-client
...
Actually, make the dependency on the python module package, which is the
important part.
2020-05-26 02:30:24 +02:00
Marek Marczykowski-Górecki
aebb1594d7
Merge branch 'qubesd-socket'
...
* qubesd-socket:
rpm: update dependency on qrexec
Remove qubesd-query-fast
Make qubesd connected directly as an socket qrexec service
2020-05-24 03:26:04 +02:00
Marek Marczykowski-Górecki
657b6e4806
Avoid moving old, user-modified qrexec policy to .rpmsave files
...
Keep it at original files, to still load it using compat rules.
This way the update should not break user's policies.
Note the unchanged policy files are still going to be removed - meaning
those calls will use the new policy.
QubesOS/qubes-issues#4370
2020-05-24 02:22:37 +02:00
Marek Marczykowski-Górecki
9cc6050e7c
Convert default qrexec policy to the new format
...
QubesOS/qubes-issues#4370
2020-05-24 02:22:36 +02:00
Marek Marczykowski-Górecki
158e22c146
rpm: update dependency on qrexec
...
Policy engine (cli/daemon) accesses qubesd through a socket - must match
the protocol change.
2020-05-24 02:07:23 +02:00
Marek Marczykowski-Górecki
c7d3635972
Merge remote-tracking branch 'origin/pr/342'
...
* origin/pr/342:
Added a servicevm feature extension
Removed unused Qubes Manager extension
Add vm.icon property
2020-05-11 01:51:52 +02:00
Marek Marczykowski-Górecki
61143a99a5
Remove qubesd-query-fast
...
Since qubesd is connected directly as a socket-based qrexec service, the
qubesd-query-fast tool isn't needed anymore.
2020-05-11 01:13:15 +02:00
Marta Marczykowska-Górecka
7241b54868
Removed unused Qubes Manager extension
...
A fossil from Qubes 3.2 times.
2020-05-05 16:33:45 +02:00
Frédéric Pierret (fepitre)
d1147366f2
spec: drop R for PyQt4
2020-04-11 22:31:31 +02:00
Frédéric Pierret (fepitre)
795ff1233a
Support for AudioVM
2020-03-08 17:05:33 +01:00
Marek Marczykowski-Górecki
5cf95100cb
rpm: require new enough linux stubdom to support -qubes-net option
...
QubesOS/qubes-issues#5022
2020-02-17 03:59:11 +01:00
Pawel Marczewski
cf19596471
Add policy for qubes.VMExecGUI
2020-01-24 19:07:40 +01:00
Pawel Marczewski
08d83fb241
Support qubes.VMExec call
...
The feature is advertised by core-agent so that it can be used
instead of VMShell.
See QubesOS/qubes-issues#4850 .
2020-01-24 16:57:13 +01:00
Pawel Marczewski
e9b97e42b1
import: check exact size of copied data
...
The import will error out if there is not enough data, or too
much data provided.
2020-01-23 09:48:58 +01:00
Frédéric Pierret (fepitre)
3761982d90
spec: fix missing dependency
2019-11-22 21:39:33 +01:00
Marek Marczykowski-Górecki
46ad75a3ba
Merge remote-tracking branch 'origin/pr/279'
...
* origin/pr/279:
Add qubes.ConnectTCP RPC for allowing dom0 sockets binding
qubes-rpc: add qubes.ConnectTCP
2019-09-10 03:40:07 +02:00
Frédéric Pierret (fepitre)
7d1b6e24a9
Add qubes.ConnectTCP RPC for allowing dom0 sockets binding
2019-08-29 11:40:20 +02:00
Frédéric Pierret (fepitre)
e32ce14ab5
qubes-rpc: add qubes.ConnectTCP
2019-08-08 12:28:30 +02:00
Marek Marczykowski-Górecki
11038bcdec
Merge remote-tracking branch 'origin/pr/270'
...
* origin/pr/270:
spec: add socat dependency for qvm-console* tools
2019-07-31 15:33:25 +02:00
Frédéric Pierret (fepitre)
16d0c8ce90
spec: add socat dependency for qvm-console* tools
2019-07-11 09:39:32 +02:00
Marek Marczykowski-Górecki
c5aaf8cdd7
Merge branch 'remove-qrexec'
2019-06-07 05:10:54 +02:00
Marek Marczykowski-Górecki
5e56ffdbbc
rpm: drop createrepo dependency
...
createrepo isn't directly used by this package, but by
qubes-core-dom0-linux instead. Lets keep that dependency only there,
especially when it's changed to createrepo_c.
2019-06-07 03:53:54 +02:00
Marek Marczykowski-Górecki
1949b0c777
Remove qrexec related files - moved to core-qrexec repository
...
QubesOS/qubes-issues#4955
2019-04-11 04:29:04 +02:00
Marek Marczykowski-Górecki
3a9c28b4ff
rpm: add BR: gcc
2019-03-02 16:09:09 +01:00
Marek Marczykowski-Górecki
1ba8d7971f
tests: unit tests for internal.SuspendPre and internal.SuspendPost API
2019-02-28 00:43:33 +01:00
Marek Marczykowski-Górecki
86f856af57
Merge branch 'devel-20181130'
...
* devel-20181130:
rpm: drop uneeded dependencies:
2019-01-22 00:30:44 +01:00
Marek Marczykowski-Górecki
a88733149d
Add logrotate for qubes logs
...
Fixes QubesOS/qubes-issues#3603
2019-01-19 03:25:20 +01:00
Marek Marczykowski-Górecki
dbd85c75e2
Merge branch 'tests-20181223'
...
* tests-20181223:
tests: drop expectedFailure from qubes_desktop_run test
tests: grub in HVM qubes
tests: update dom0_update for new updates available flag
tests: regression test LVM listing code
tests/extra: wrap ProcessWrapper.wait() to be asyncio-aware
tests: adjust backupcompat for new maxmem handling
2019-01-19 03:24:29 +01:00
Marek Marczykowski-Górecki
2181b64b97
Merge remote-tracking branch 'origin/pr/248'
...
* origin/pr/248:
Drop lvm2-python-libs which is not used anymore
2019-01-15 21:17:05 +01:00
Marek Marczykowski-Górecki
08621e7225
tests: grub in HVM qubes
...
Test grub in both PV and HVM. This change will also ease adding grub
test for PVH, when supported.
2019-01-12 02:41:22 +01:00
Frédéric Pierret (fepitre)
536efb7519
Drop lvm2-python-libs which is not used anymore
2019-01-02 10:54:08 +01:00
Wojtek Porczyk
ff612a870b
qubes/features: check_with_(template_and_)adminvm
...
- Two new methods: .features.check_with_adminvm() and
.check_with_template_and_adminvm(). Common code refactored.
- Two new AdminAPI calls to take advantage of the methods:
- admin.vm.feature.CheckWithAdminVM
- admin.vm.feature.CheckWithTemplateAndAdminVM
- Features manager moved to separate module in anticipation of features
on app object in R5.0. The attribute Features.vm renamed to
Features.subject.
- Documentation, tests.
2018-12-20 18:28:33 +01:00
Marek Marczykowski-Górecki
ccd7e285a1
Remove unused core2migration.py
...
It is part of backup-restore code, but it was moved to
core-admin-client repo.
2018-12-04 16:12:33 +01:00
Marek Marczykowski-Górecki
79d48ab4c0
rpm: drop uneeded dependencies:
...
gnome-packagekit: no longer needed, especially not in this package;
qubes-dom0-update tool is in core-dom0-admin-linux, but preffer a `dnf
update` in a terminal emulator
bsdtar: was used by 3.x DispVM implementation, now isn't used anywhere
2018-11-30 00:29:14 +01:00
Marek Marczykowski-Górecki
d23636fa02
tests: migrate qvm-block tests to core3
2018-10-10 00:44:15 +02:00
Marek Marczykowski-Górecki
02f9661169
tests: migrate mime handlers test to core3
2018-10-07 15:46:52 +02:00
Marek Marczykowski-Górecki
b88fa39894
Fix mock-based build
2018-09-29 02:40:28 +02:00
Rusty Bird
797bbc43a0
tests/storage_reflink: test some file-reflink helpers
...
Tested:
- _copy_file()
- _create_sparse_file()
- _resize_file()
- _update_loopdev_sizes()
Smoke tested by calls from the functions above:
- _replace_file()
- _rename_file()
- _make_dir()
- _fsync_dir()
2018-09-11 23:50:32 +00:00
Marek Marczykowski-Górecki
af7d54d388
Update windows-related feature requests
...
Handle 'os' feature - if it's Windows, then set rpc-clipboard feature.
Handle 'gui-emulated' feature - request for specifically stubdomain GUI.
With 'gui' feature it is only possible to enable gui-agent based on, or
disable GUI completely.
Handle 'default-user' - verify it for weird characters and set
'default_user' property (if wasn't already set).
QubesOS/qubes-issues#3585
2018-07-16 22:02:58 +02:00
Frédéric Pierret
ecdaa157a9
spec.in: remove useless condition on Fedora 17 which induces problem with Travis
2018-04-04 16:24:21 -04:00
Frédéric Pierret
6fb14e8198
spec.in: add changelog placeholder
2018-04-03 23:12:15 +02:00
Frédéric Pierret
601e88854c
Define backend_vmm macro
2018-04-03 23:12:15 +02:00
Frédéric Pierret
32fad062f1
Remove _builddir
2018-04-03 23:12:14 +02:00
Frédéric Pierret
fdea48aa1c
Create .spec.in and Source0
2018-04-03 23:12:14 +02:00