qvm-service.rst 3.9 KB

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