Commit Graph

611 Commits

Author SHA1 Message Date
Marek Marczykowski
f564a4d143 dom0+vm: Tools for downloading dom0 update by VM (#198)
Mainly 4 parts:
 - scripts for providing rpmdb and yum repos to VM (choosen by qvm-set-updatevm)
 - VM script for downloading updates (qubes_download_dom0_updates.sh)
 - qfile-dom0-unpacker which receive updates, check signatures and place its in dom0 local yum repo
 - qvm-dom0-upgrade which calls all of above and after all yum gpk-update-viewer

Besides qvm-dom0-upgrade, updates are checked every 6h and user is prompted if
want to download it. At dom0 side gpk-update-icon (disabled yet) should notice
new updates in "local" repo.
2011-06-22 00:44:48 +02:00
Marek Marczykowski
6602679130 version 1.6.1 2011-06-12 02:27:30 +02:00
Marek Marczykowski
31f0308d45 dom0+vm: Trigger appmenus sync after yum transaction (#45), NEW QREXEC COMMAND
After yum transaction (install/upgrade/remove),
yum-plugin-post-transaction-actions will execute script which trigger
qvm-sync-appmenus in dom0 (through qrexec).
THIS INTRODUCE NEW PREDEFINED COMMAND IN QREXEC
2011-06-12 01:46:24 +02:00
Marek Marczykowski
12971ec163 dom0: block-snapshot: add prepare and cleanup actions
"prepare" and "cleanup" actions can be used to setup device manually - not from
udev. This is used by qvm-revert-template-changes.
2011-06-10 18:34:17 +02:00
Marek Marczykowski
20fe69db75 dom0: block-snapshot: retrieve domain name from frontend-id only when no "domain" entry in xenstore
This enables compatibility with libxl AND xend.
2011-06-10 18:33:31 +02:00
Marek Marczykowski
6192e35419 dom0: block-snapshot: enable nullglob to not fail on snapshot/origin remove
Normally should not happen because all domains needs at least one snapshot
device, but in some rare situation can be helpful to cleanup stale devices.
2011-06-10 18:29:56 +02:00
Marek Marczykowski
68b5a71add dom0: Use /var/run/xen-hotplug to store information needed for block devices cleanup.
Libxl removes xenstore entries before udev (+scripts) have chance to read it.
2011-06-09 14:06:24 +02:00
Marek Marczykowski
60b86de2ca vm: add -qubes suffix to xenstore-watch to not conflict with xen standard tool 2011-06-07 15:58:55 +02:00
Marek Marczykowski
9cfa24c8b8 proxyvm: directly display error msg beside of writing it to xenstore 2011-06-04 02:54:17 +02:00
Joanna Rutkowska
a5e33bdbc0 version 1.5.28-vm 2011-05-26 13:58:15 +02:00
Marek Marczykowski
65f9b1669e Merge branch 'r1-beta1-fixes' 2011-05-26 11:46:31 +02:00
Marek Marczykowski
85f3165513 vm: Fix open() result checking 2011-05-26 11:45:51 +02:00
Marek Marczykowski
e787cc1f68 Merge branch 'r1-beta1-fixes' 2011-05-26 00:31:15 +02:00
Marek Marczykowski
96774caf51 vm: verify files copied with qvm-copy-to-vm using crc32
Additionally this introduces notification for qfile-agent when remote end
finished file writing.
2011-05-26 00:29:52 +02:00
Marek Marczykowski
a1e1112b28 vm: Use variables in Makefile gcc command 2011-05-26 00:10:04 +02:00
Marek Marczykowski
1c1e4362b0 Merge branch 'r1-beta1-fixes'
Conflicts:
	dom0/qvm-core/qubes.py
	version_dom0
	version_vm
2011-05-24 00:20:39 +02:00
Joanna Rutkowska
76e7a52628 vm: add current-testing repo definitions 2011-05-23 21:39:48 +02:00
Joanna Rutkowska
6b4e888ca4 version 1.5.27-vm 2011-05-23 21:13:56 +02:00
Joanna Rutkowska
833b2aedb3 Merge branch 'syncjoanna' of git.qubes-os.org:/var/lib/qubes/git/rafal/core into r1-beta1 2011-05-23 21:12:36 +02:00
Marek Marczykowski
a662750322 version 1.6.0 2011-05-17 23:06:02 +02:00
Timo Juhani Lindfors
a49e8e8c18 Add _GNU_SOURCE to get O_NOFOLLOW on debian squeeze. 2011-05-13 14:16:11 +02:00
Timo Juhani Lindfors
0b211e0375 Ensure 'make clean' descends to u2mfn/ 2011-05-13 14:16:10 +02:00
Timo Juhani Lindfors
8fac6139be Ensure 'make clean' removes xenstore-watch 2011-05-13 14:16:10 +02:00
Marek Marczykowski
868fd1f431 vm: Remove root password to allow easy escalation from UI application (#202)
Ex. gpk-application needs this to work properly while running from user. When
root password is set - polkit-daemon asks for it (according to polkit setting).
2011-05-12 19:15:24 +02:00
Joanna Rutkowska
769ce02ebb version 1.5.26 2011-05-12 16:16:50 +02:00
Joanna Rutkowska
f368d16d8c Merge branch 'sane-and-pretty' of git.qubes-os.org:/var/lib/qubes/git/rafal/core into r1-beta1 2011-05-10 12:41:00 +02:00
Rafal Wojtczuk
6a6b140c43 qrexec and qfile-*: compile with -pie
For full ASLR.
2011-05-10 12:19:28 +02:00
Joanna Rutkowska
920ddd719f version 1.2.25 2011-05-10 11:45:01 +02:00
Joanna Rutkowska
bed132d951 Merge branch 'r1-beta1-fixes' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core into r1-beta1 2011-05-10 11:42:07 +02:00
Joanna Rutkowska
4e4cf3df01 core-dom0-vaio-fixes is now a separate package
Also fixes to postun scripts to properly handle updates
2011-05-10 11:14:41 +02:00
Marek Marczykowski
98750310d6 Merge branch 'r1-beta1' of ssh://git.qubes-os.org/var/lib/qubes/git/joanna/core into r1-beta1-fixes 2011-05-10 11:13:44 +02:00
Marek Marczykowski
a2598eae73 Run qubes_core_appvm also in TemplateVM (#222) 2011-05-10 00:53:38 +02:00
Marek Marczykowski
432a44be40 Fix typo 2011-05-10 00:53:33 +02:00
Joanna Rutkowska
843af5096a Makefile: update-repo-current-testing target 2011-05-09 18:40:51 +02:00
Joanna Rutkowska
93a428573b version 1.5.24 2011-05-09 18:28:08 +02:00
Joanna Rutkowska
eaa0bac067 Merge branch 'sane-and-pretty' of git.qubes-os.org:/var/lib/qubes/git/rafal/core into r1-beta1 2011-05-09 18:24:28 +02:00
Rafal Wojtczuk
748369c8ad qubes_netwatcher: expand a note about NETCFG untrusted origin 2011-05-09 16:26:48 +02:00
Rafal Wojtczuk
5923741c83 qubes_netwatcher: add a note about NETCFG untrusted origin 2011-05-09 16:23:52 +02:00
Marek Marczykowski
c3461cd06d Merge branch 'sane-and-pretty' of ssh://git.qubes-os.org/var/lib/qubes/git/rafal/core into r1-beta1-fixes 2011-05-09 14:30:55 +02:00
Marek Marczykowski
ba07c8949f Merge branch 'sane-and-pretty' of ssh://git.qubes-os.org/var/lib/qubes/git/rafal/core 2011-05-09 13:57:21 +02:00
Marek Marczykowski
b83c92fb56 Merge branch 'sane-and-pretty' of ssh://git.qubes-os.org/var/lib/qubes/git/rafal/core 2011-05-09 12:25:14 +02:00
Rafal Wojtczuk
0d785fcbf8 qfile-unpacker: prefix all variables with untrusted_ 2011-05-09 11:02:40 +02:00
Marek Marczykowski
59071d87b9 Revert "Run nm-applet as normal user"
This reverts commit 2f5b6e6582e71630193d0098d4cc60db019e1e9b.

Dbus policy hacking not needed any more. ConsoleKit session is correctly started.
2011-04-29 02:32:55 +02:00
Marek Marczykowski
638473a364 Connect vif's to already running VMs on NetVM/ProxyVM startup (#190)
Also cleanup stale vifs using "xm network-detach ... -f"
Fix iptables rules to support not only first vif of VM
2011-04-23 03:05:27 +02:00
Marek Marczykowski
59da079f22 Configure VM network iface on attach (not only on boot) (#190) 2011-04-23 02:31:54 +02:00
Marek Marczykowski
1108ecd1dc Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/smoku/core 2011-04-21 23:56:41 +02:00
Tomasz Sterna
705a66af63 We do not want to have StandaloneVM and UtilityVM types. 2011-04-20 00:56:58 +02:00
Marek Marczykowski
692b97db38 Run qubes_core_appvm also in TemplateVM (#222) 2011-04-19 13:10:18 +02:00
Marek Marczykowski
c132b70856 Fix typo 2011-04-19 13:07:13 +02:00
Marek Marczykowski
e7bb4843ea Show progress of qvm-copy-to-vm by default (#221) 2011-04-19 13:06:34 +02:00