Commit Graph

2406 Commits

Author SHA1 Message Date
Rafal Wojtczuk
01e0c73c61 In read_all()/write_all(), continue upon EINTR. 2011-03-16 12:58:40 +01:00
Rafal Wojtczuk
6f8daea8f2 In qfile-unpacker, set perms on the directory only on second pass.
It solves problem with transferring r.x directory. Originally, it
would fail when creating files in the directory (as it is not
writable). Now, we will create it rwx, create files in it, and fix
perms and utimes on the second pass.
[user@devel fcopy]$ ls -ald /boot
dr-xr-xr-x 4 root root 4096 Sep  1  2010 /boot
2011-03-16 12:48:29 +01:00
Rafal Wojtczuk
3ae47689bc Added qvm-copy-to-vm2.kde 2011-03-16 12:00:22 +01:00
Marek Marczykowski
ac4d005160 Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/marmarek/core 2011-03-16 11:43:58 +01:00
Marek Marczykowski
f25afe989c Move xenstore-watch for VM from AppVM to common. Add to core-common.spec 2011-03-16 11:41:18 +01:00
Marek Marczykowski
00ff62767a Do not try to disable 'reboot' service 2011-03-16 11:41:18 +01:00
Marek Marczykowski
809e1db247 Drop forced fedora version from requires 2011-03-16 11:41:18 +01:00
Rafal Wojtczuk
edc1b82986 removed set -x from qvm-copy-to-vm2 2011-03-16 11:07:27 +01:00
Rafal Wojtczuk
dadffda27c qfile-agent writes DONE to the status file at the end of work. 2011-03-16 11:06:27 +01:00
Rafal Wojtczuk
de799e1b77 New qvm-copy-to-vm, aka qvm-copy-to-vm2 2011-03-16 10:50:11 +01:00
Rafal Wojtczuk
337d479e39 qfile-agent: Handle filenames with trailing slash properly. 2011-03-16 10:48:27 +01:00
Rafal Wojtczuk
cdc5756f79 Scan filecopy sppool properly. 2011-03-16 10:14:39 +01:00
Rafal Wojtczuk
f370fdab66 Build filecopy tools with -g. 2011-03-16 10:11:55 +01:00
Joanna Rutkowska
4ecaf86361 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core 2011-03-15 22:57:27 +01:00
Marek Marczykowski
41367c5f39 Move xenstore-watch for VM from AppVM to common. Add to core-common.spec 2011-03-15 19:47:26 +01:00
Joanna Rutkowska
83791f2327 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core 2011-03-15 18:16:33 +01:00
Rafal Wojtczuk
31c7a7a1c9 Added qfile-unpacker and qfile-daemon 2011-03-15 16:43:43 +01:00
Rafal Wojtczuk
b459bcbca0 Package qfile-agent-dvm, too. 2011-03-15 16:19:42 +01:00
Rafal Wojtczuk
17fb4614e7 Added qfile-agent 2011-03-15 16:07:00 +01:00
Rafal Wojtczuk
29ffbfd474 Use gui_fatal in qfile-agent-dvm.c 2011-03-15 13:12:21 +01:00
Rafal Wojtczuk
237ce31f27 Handy gui_fatal() etc routines. 2011-03-15 13:00:12 +01:00
Rafal Wojtczuk
e1739269ff Make sure read_all sets errno to 0 at EOF. 2011-03-15 10:36:50 +01:00
Joanna Rutkowska
20cc860e1c Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/smoku/core 2011-03-14 22:44:04 +01:00
Joanna Rutkowska
19099ca5c3 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core 2011-03-14 13:15:48 +01:00
Rafal Wojtczuk
c52d8b54d5 Added new qvm-open-in-dvm, aka qvm-open-in-dvm2
Small, childless bash script.
2011-03-14 11:25:18 +01:00
Marek Marczykowski
94209336ae Register VM services also on update 2011-03-11 23:42:49 +01:00
Marek Marczykowski
a0a6bdf7d8 Add qubes_netwatcher to proxyvm spec 2011-03-11 23:33:15 +01:00
Marek Marczykowski
01458104cb Merge commit 'e2d52a27e810522c41720bb17b1f4f52f1fe2e6a'
Conflicts:
	dom0/qvm-core/qubes.py
	fwvm/init.d/qubes_firewall
2011-03-11 23:32:13 +01:00
Tomasz Sterna
bfb5ec483d Use SIGKILL to stop qubes_firewall service 2011-03-11 19:40:23 +01:00
Tomasz Sterna
7914558ad8 FwVM network changes watcher script 2011-03-11 19:39:52 +01:00
Rafal Wojtczuk
f075e66a87 Added qfile-agent-dvm.c
Nations, rejoice.
2011-03-11 12:44:19 +01:00
Rafal Wojtczuk
9d8e066a7f Move copy_all_fd from dvm_file_editor.c to ioall.c
It is useful in e.g. qfile-agent-dvm.
2011-03-11 11:57:16 +01:00
Rafal Wojtczuk
dd014e4cab Changed copy_all signature. 2011-03-11 11:54:39 +01:00
Rafal Wojtczuk
a750229be6 Make dvm_file_editor use ioall.c 2011-03-11 11:50:52 +01:00
Rafal Wojtczuk
af0bd7a9b4 Moved ioall.c file to "common" 2011-03-11 11:47:20 +01:00
Rafal Wojtczuk
74967c717c Added DVM_SPOOL definition to dvm2.h 2011-03-11 11:34:07 +01:00
Marek Marczykowski
4c0849890c NetVM, AppVM, ProxyVM from single template - VM side (missing files...) 2011-03-11 01:42:42 +01:00
Marek Marczykowski
c87b15ba2a NetVM, AppVM, ProxyVM from single template - VM side
Modify VM packages to:
- do not conflicts
- starts services if its VM type need it

Added core-proxyvm (firewall) and core-commonvm (common parts) packages.
2011-03-11 01:38:04 +01:00
Rafal Wojtczuk
7342404846 Added dvm_file_editor.
It works with qrexec - reads/writes data from stdin/stdout.
2011-03-10 16:50:40 +01:00
Marek Marczykowski
f5e526f2c3 .gitignore 2011-03-10 16:23:45 +01:00
Marek Marczykowski
67b6217308 Add 30-qubes_external_ip to netvm.spec 2011-03-10 16:09:37 +01:00
Marek Marczykowski
382b90c543 Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/smoku/core
Conflicts:
	dom0/qvm-core/qubes.py
2011-03-10 16:05:48 +01:00
Rafal Wojtczuk
9f3fcc862a Implemented mechanism to trigger predefined execution in dom0.
Processes in AppVM can ask qrexec-agent to send a
MSG_AGENT_TO_SERVER_TRIGGER_EXEC message to qrexec-daemon.
The latter will execute predefined program. It is useful for
the purpose of file copy; the predefined program will create
a connected qfile-daemon<->qfile-agent pair.
2011-03-10 15:41:31 +01:00
Marek Marczykowski
07abd184ab Merge tag 'smk_a8cef51b' of ssh://git.qubes-os.org/var/lib/qubes/git/smoku/core
Conflicts:
	dom0/qvm-core/qubes.py
	dom0/qvm-tools/qvm-ls
2011-03-10 14:14:48 +01:00
Tomasz Sterna
76bf222dd2 Added FirewallVM related VM scripts 2011-03-09 20:50:13 +01:00
Tomasz Sterna
e686391de1 Added AppVM version of xenstore-watch. 2011-03-09 17:51:05 +01:00
Marek Marczykowski
223f14e21c Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/marmarek/core
Conflicts:
	dom0/qvm-core/qubes.py
	dom0/qvm-tools/qvm-prefs
	dom0/qvm-tools/qvm-template-commit
2011-03-09 17:23:32 +01:00
Rafal Wojtczuk
06c0bd007c Moved vchan and u2mfn code to core. 2011-03-08 12:24:47 +01:00
Rafal Wojtczuk
ffb0fe1d87 added "make -C qrexec clean" 2011-03-07 16:13:15 +01:00
Marek Marczykowski
45f70b4e02 gitignore files - add build products 2011-03-06 14:06:24 +01:00