qvm-service.rst 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .. program:: qvm-service
  2. ========================================================================
  3. :program:`qvm-service` -- Manage (Qubes-specific) services started in VM
  4. ========================================================================
  5. NAME
  6. ====
  7. qvm-service -
  8. :Date: 2012-05-30
  9. Synopsis
  10. ========
  11. | qvm-service [-l] <vmname>
  12. | qvm-service [-e|-d|-D] <vmname> <service>
  13. Options
  14. =======
  15. .. option:: --help, -h
  16. Show this help message and exit
  17. .. option:: --list, -l
  18. List services (default action)
  19. .. option:: --enable, -e
  20. Enable service
  21. .. option:: --disable, -d
  22. Disable service
  23. .. option:: --default, -D
  24. Reset service to its default state (remove from the list). Default state
  25. means "lets VM choose" and can depend on VM type (NetVM, AppVM etc).
  26. Supported services
  27. ==================
  28. This list can be incomplete as VM can implement any additional service without knowlege of qubes-core code.
  29. meminfo-writer
  30. Default: enabled everywhere excluding NetVM
  31. This service reports VM memory usage to dom0, which effectively enables dynamic memory management for the VM.
  32. *Note:* this service is enforced to be set by dom0 code. If you try to
  33. remove it (reset to defult state), will be recreated with the rule: enabled
  34. if VM have no PCI devices assigned, otherwise disabled.
  35. qubes-dvm
  36. Default: disabled
  37. Used internally when creating DispVM savefile.
  38. qubes-firewall
  39. Default: enabled only in ProxyVM
  40. Dynamic firewall manager, based on settings in dom0 (qvm-firewall, firewall tab in qubes-manager).
  41. This service is not supported in netvms.
  42. qubes-network
  43. Default: enabled only in NetVM and ProxyVM
  44. Expose network for other VMs. This includes enabling network forwarding, MASQUERADE, DNS redirection and basic firewall.
  45. qubes-netwatcher
  46. Default: enabled only in ProxyVM
  47. Monitor IP change notification from NetVM. When received, reload qubes-firewall service (to force DNS resolution).
  48. This service makes sense only with qubes-firewall enabled.
  49. qubes-update-check
  50. Default: enabled
  51. Notify dom0 about updates available for this VM. This is shown in qubes-manager as 'update-pending' flag.
  52. cups
  53. Default: enabled only in AppVM
  54. Enable CUPS service. The user can disable cups in VM which do not need printing to speed up booting.
  55. cron
  56. Default: disabled
  57. Enable CRON service.
  58. network-manager
  59. Default: enabled in NetVM
  60. Enable NetworkManager. Only VM with direct access to network device needs
  61. this service, but can be useful in ProxyVM to ease VPN setup.
  62. ntpd
  63. Default: disabled
  64. Enable NTPD service. By default Qubes calls ntpdate every 6 minutes in
  65. selected VM (aka ClockVM), then propagate the result using qrexec calls.
  66. Enabling ntpd *do not* disable this behaviour.
  67. qubes-yum-proxy
  68. Deprecated name for qubes-updates-proxy.
  69. qubes-updates-proxy
  70. Default: enabled in NetVM
  71. Provide proxy service, which allow access only to yum repos. Filtering is
  72. done based on URLs, so it shouldn't be used as leak control (pretty easy to
  73. bypass), but is enough to prevent some erroneous user actions.
  74. yum-proxy-setup
  75. Deprecated name for updates-proxy-setup.
  76. updates-proxy-setup
  77. Default: enabled in AppVM (also in templates)
  78. Setup yum at startup to use qubes-yum-proxy service.
  79. .. note::
  80. this service is automatically enabled when you allow VM to access yum
  81. proxy (in firewall settings) and disabled when you deny access to yum
  82. proxy.
  83. disable-default-route
  84. Default: disabled
  85. Disables the default route for networking. Enabling this service
  86. will prevent the creation of the default route, but the VM will
  87. still be able to reach it's direct neighbors. The functionality
  88. is implemented in /usr/lib/qubes/setup-ip.
  89. disable-dns-server
  90. Default: disabled
  91. Enabling this service will result in an empty /etc/resolv.conf.
  92. The functionality is implemented in /usr/lib/qubes/setup-ip.
  93. Authors
  94. =======
  95. | Joanna Rutkowska <joanna at invisiblethingslab dot com>
  96. | Rafal Wojtczuk <rafal at invisiblethingslab dot com>
  97. | Marek Marczykowski <marmarek at invisiblethingslab dot com>