Commit Graph

161 Commits

Author SHA1 Message Date
Marek Marczykowski
7686fd5d92 The Underscores Revolution: RPC services 2013-03-14 04:25:31 +01:00
Marek Marczykowski
ecc812f350 The Underscores Revolution: filenames
Get rid of underscores in filenames, use dashes instead.
This is first part of cleanup in filenames.
"qubes_rpc" still untouched - will be in separate commit.
2013-03-14 01:07:49 +01:00
Marek Marczykowski
b2904f03ae vm/fstab: enable "discard" option for /rw
This, in conjunction with support in xen-blkfront/back, shrinks private.img in
dom0 with every removed file in VM. So no longer manual cleaning unused space
with some dd + cp trickery.
2013-03-03 21:20:09 +01:00
Marek Marczykowski
3e4b8cf8a9 vm/fstab: remove comment about anaconda 2013-03-03 21:19:54 +01:00
Marek Marczykowski
b18d40fb08 vm: Use nautilus-actions to provide "Copy to other AppVM" etc nautilus commands
No more ugly symlink creation at VM startup, nautilus-actions have system-wide
dir (in opposite to nautilus-scripts).

Currently old symlinks are not cleaned up. Maybe it should, but leaving them
have one advantage: will not break existing users behavior.
2013-02-21 16:44:16 +01:00
Marek Marczykowski
1029f5af59 dom0+vm/udev: force QUBES_EXPOSED variable available to block_add_change script 2013-02-19 04:59:27 +01:00
Marek Marczykowski
d6a0ddc8bd dom0: make block-snapshot more robust about finding the right loop dev
Use losetup -j to find already assigned loop device, instead of manually
parsing losetup -a output (which have changed between fc13 and fc18).
2013-02-12 01:38:30 +01:00
Marek Marczykowski
750859bdc8 vm: move polkit configs from qubes-gui-vm package 2013-02-12 01:38:29 +01:00
Marek Marczykowski
bf059e4050 dom0/udev: allow only one xenstore-write at the time
This apparently causes deadlocks when many xenstore-write (one for each block
device) called at the same time.
2013-01-27 00:02:30 +01:00
Marek Marczykowski
213380a7c3 vm: setup /dev/xen/evtchn permissions using udev rule
This works also when the device is recreated, which is the case in DispVM
(during xl restore).
2012-11-22 00:51:18 +01:00
Marek Marczykowski
d5a2d9d054 vm: load dummy-hcd module to suppress libusb bug
libusb crashes when no USB controller is present, load dummy-hcd as workaround.
2012-11-19 17:52:16 +01:00
Marek Marczykowski
a26b3e7016 vm/core: use mount --bind instead of symlink for /home
Many applications doesn't like /home as symlink ($HOME differs from real
location).
2012-11-16 14:03:36 +01:00
Marek Marczykowski
8c007b593d vm: release 2 yum repository and verification keys (#671) 2012-11-15 20:35:29 +01:00
Marek Marczykowski
97aa4ed9cb dom0/core: API CHANGE: pass username as keyword param to vm.run() (#577)
Get rid of ugly embedding username into commandline. This will make much easier
avoid hardcoding username in dom0 code.
Currently dom0 is free of hardcoded "user" username ("root" still is used).
2012-11-13 04:42:25 +01:00
Marek Marczykowski
ef2a3092ac vm/dispvm: use of user-provided DispVM settings (#651)
When /rw/home/user/.qubes-dispvm-customized is present use /rw/home/user
instead of default /etc/dispvm-dotfiles.tbz. Also make sure that /rw will not
remain mounted during DispVM creation.
2012-11-12 13:44:10 +01:00
grwl
bb35a6836f dom0+vm/usb: refactoring 2012-10-28 02:27:06 +01:00
grwl
c8fa6c44af dom0+vm/usb: refactoring 2012-10-28 02:24:17 +01:00
Alexandre Bezroutchko
dce3acab81 dom0+vm/usb: add USB version to device list displayed by qvm-usb -l' 2012-10-26 23:09:36 +02:00
Alexandre Bezroutchko
7953a0f145 dom0+vm/usb: store USB version in XS 2012-10-24 22:05:57 +02:00
Alexandre Bezroutchko
47e9f5536d dom0+vm/usb: make original device name available 2012-10-24 22:02:55 +02:00
Alexandre Bezroutchko
dfc40ea0cf dom0+vm/qvm-usb: store USB version in XS 2012-10-24 22:00:27 +02:00
Marek Marczykowski
6fe9132e0a dom0+vm/qvm-usb: improve USB hubs detection
This method filter out also "rate matching hub", which is device 2.
2012-10-23 05:44:37 +02:00
Marek Marczykowski
158ac0bd6a dom+vm/qvm-usb: improve handling devices like "2-1.4"
xenstore doesn't allow '.' in key name, so translate it to '_'
2012-10-23 05:42:39 +02:00
Alexandre Bezroutchko
7f7e9999f4 dvp/qvm-usb: converted installer scripts into RPM 2012-10-21 15:10:40 +02:00
Alexandre Bezroutchko
908c83eaa8 dom0/qvm-usb: detach operation appears to work 2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
2741201e24 dom0/qvm-usb: now use vm.run() to call vusb-ctl bind/unbind 2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
a0e3e55787 dom0/qvm-usb: attach works again for dom0 backend 2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
f8f04f4b38 dom0+vm/qvm-usb: intermediate 2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
88c446c6f3 dom0+vm/qvm-usb: added vusb helper script to usbvm 2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
ca57a67fd0 dom0+vm/qvm-usb: cosmetic: removed debugging code, adjusted fixmes 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
1a4dbdacff dvp/qvm-usb: implemented usb_check_attached method, now "qvm-usb -l" indicate attachments 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
361a087562 dom0+vm/qvm-usb: changed XS path naming scheme again 2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
850353dcfc dom0+vm/qvm-usb: adjust usb_remove to the new XS naming scheme 2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
4c4889ec1a dom0+vm/qvm-usb: changed the structure of XS pathes 2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
c39b653079 dvp/qvm-usb: Added some debugging code. 2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
314fda5694 dom0+vm/qvm-usb: cosmetic 2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
ce9e7aa967 dom0+vm/qvm-usb: autoload pvusb backend driver 2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
e1fc07613d dom0+vm/qvm-usb: First implementation of udev rules and supporting scripts. 2012-10-21 14:59:34 +02:00
Marek Marczykowski
9e72a46e8c dom0/meminfo-writer: fork into background after first info sent to qmemman (#635) 2012-07-20 16:42:12 +02:00
Marek Marczykowski
8129032c9e vm: implement qubes.GetAppmenus to reduce code duplication
As one-liner services are now real one-line, just do it.
2012-07-15 02:41:23 +02:00
Marek Marczykowski
3af500fc80 vm: provide dispvm-dotfiles and dispvm-prerun.sh in rpm package (#620) 2012-07-12 14:22:44 +02:00
Marek Marczykowski
a952fc503d vm/qubes-dom0-update: rebuild dom0 rpmdb before touching it with yum
Dom0 can have different (older) rpmdb version than VM. Starting from FC17 yum
refuses to work without rebuild.
2012-06-13 04:56:11 +02:00
Marek Marczykowski
975c0a0bc7 vm: fix yum-qubes-hooks
Program must be given as full path to qrexec_client_vm - it is passed directly
to execv.
2012-06-11 22:35:44 +02:00
Marek Marczykowski
64a9c54ba6 vm: enable yum-qubes-hooks plugin (#592) 2012-06-11 22:35:44 +02:00
Marek Marczykowski
20c170427d vm: disable gnome update plugin, not only unattended installation 2012-06-11 22:35:44 +02:00
Marek Marczykowski
871d4485b9 dom0+vm/qvm-block: speed up udev block handler (#560)
xenstore is very slow, so don't bother it when unneeded. Namely do not try to
remove entries, which haven't even created.
2012-06-11 22:35:44 +02:00
Marek Marczykowski
06c4d57b60 vm: yum plugin to notify dom0 about installed updates (#592) 2012-06-05 21:21:53 +02:00
Marek Marczykowski
ab0b4b4030 vm: include /proc/xen in fstab (#466) 2012-05-02 00:09:00 +02:00
Marek Marczykowski
232c00590a dom0+vm/hotplug-script: improve error checking, log only important messages (#477) 2012-04-25 23:43:50 +02:00
Marek Marczykowski
e5478d6578 vm/qubes-dom0-update: display info when no updates available 2012-04-25 23:43:50 +02:00
Joanna Rutkowska
be3ff05867 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core 2012-04-15 16:21:50 +02:00
Marek Marczykowski
d0296d9783 vm: load block backend in every VM (#516) 2012-04-04 11:55:48 +02:00
Joanna Rutkowska
cb9b76d039 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core 2012-03-31 19:52:28 +02:00
Marek Marczykowski
3b55fc51e8 dom0+vm: qvm-block --attach-file
Allow to attach disk image from different VM as block device. File attached
with qvm-block -A will be visible as loopX device and as such can be detached.
File path will be in device description.
2012-03-31 19:04:50 +02:00
Joanna Rutkowska
bdf6016b5a New signing key cleanup (removed the unused encryption key) 2012-03-31 14:57:26 +02:00
Joanna Rutkowska
069ae8e520 Update Qubes Signing key 2012-03-31 13:04:22 +02:00
Marek Marczykowski
67369b170b vm/dom-updates: always use --resolve
Required when update needs some additional packages
2012-03-02 00:34:36 +01:00
Marek Marczykowski
cd45ef1de6 vm/yum.repo: use separate key for unstable repo 2012-02-26 13:10:04 +01:00
Marek Marczykowski
4bb485ea68 vm/dom0-update: suppress annoying yum warning (#437)
This is workaround of yum bug: when --installroot given its also set different
config path (inside this install root), but then issue warning because implicit
config path is different than explicit --config option (which was empty).
2012-02-14 21:08:48 +01:00
Marek Marczykowski
d3e1bf36bf vm: disable silent automatic update *installation* in FC15 (#415)
Do not silently download and install updates, especially in NonUpdateableVM.
2012-01-14 01:37:22 +01:00
Marek Marczykowski
240d35259f vm(+dom0): major rearrage VM files in repo; merge core-*vm packages 2012-01-06 21:31:12 +01:00