2013-03-12 16:55:05 +01:00
|
|
|
===========
|
|
|
|
qvm-service
|
|
|
|
===========
|
|
|
|
|
|
|
|
NAME
|
|
|
|
====
|
2014-05-10 20:37:41 +02:00
|
|
|
qvm-service - manage (Qubes-specific) services started in VM
|
2013-03-12 16:55:05 +01:00
|
|
|
|
|
|
|
:Date: 2012-05-30
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
========
|
|
|
|
| qvm-service [-l] <vmname>
|
|
|
|
| qvm-service [-e|-d|-D] <vmname> <service>
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
=======
|
|
|
|
-h, --help
|
|
|
|
Show this help message and exit
|
|
|
|
-l, --list
|
|
|
|
List services (default action)
|
|
|
|
-e, --enable
|
|
|
|
Enable service
|
|
|
|
-d, --disable
|
|
|
|
Disable service
|
|
|
|
-D, --default
|
|
|
|
Reset service to its default state (remove from the list). Default state
|
|
|
|
means "lets VM choose" and can depend on VM type (NetVM, AppVM etc).
|
|
|
|
|
|
|
|
SUPPORTED SERVICES
|
|
|
|
==================
|
|
|
|
|
2016-04-01 21:06:26 +02:00
|
|
|
This list can be incomplete as VM can implement any additional service without knowledge of qubes-core code.
|
2013-03-12 16:55:05 +01:00
|
|
|
|
|
|
|
meminfo-writer
|
|
|
|
Default: enabled everywhere excluding NetVM
|
|
|
|
|
|
|
|
This service reports VM memory usage to dom0, which effectively enables dynamic memory management for the VM.
|
|
|
|
|
|
|
|
*Note:* this service is enforced to be set by dom0 code. If you try to
|
2016-04-01 21:06:26 +02:00
|
|
|
remove it (reset to default state), will be recreated with the rule: enabled
|
2013-03-12 16:55:05 +01:00
|
|
|
if VM have no PCI devices assigned, otherwise disabled.
|
|
|
|
|
2015-01-25 14:06:11 +01:00
|
|
|
qubes-dvm
|
|
|
|
Default: disabled
|
|
|
|
|
|
|
|
Used internally when creating DispVM savefile.
|
|
|
|
|
2013-03-12 16:55:05 +01:00
|
|
|
qubes-firewall
|
|
|
|
Default: enabled only in ProxyVM
|
|
|
|
|
2015-03-16 19:12:04 +01:00
|
|
|
Dynamic firewall manager, based on settings in dom0 (qvm-firewall, firewall tab in qubes-manager).
|
|
|
|
This service is not supported in netvms.
|
|
|
|
|
2013-03-12 16:55:05 +01:00
|
|
|
qubes-network
|
|
|
|
Default: enabled only in NetVM and ProxyVM
|
|
|
|
|
2015-01-26 23:43:33 +01:00
|
|
|
Expose network for other VMs. This includes enabling network forwarding, MASQUERADE, DNS redirection and basic firewall.
|
2013-03-12 16:55:05 +01:00
|
|
|
|
|
|
|
qubes-netwatcher
|
|
|
|
Default: enabled only in ProxyVM
|
|
|
|
|
|
|
|
Monitor IP change notification from NetVM. When received, reload qubes-firewall service (to force DNS resolution).
|
|
|
|
This service makes sense only with qubes-firewall enabled.
|
|
|
|
|
|
|
|
qubes-update-check
|
|
|
|
Default: enabled
|
|
|
|
|
|
|
|
Notify dom0 about updates available for this VM. This is shown in qubes-manager as 'update-pending' flag.
|
|
|
|
|
|
|
|
cups
|
|
|
|
Default: enabled only in AppVM
|
|
|
|
|
|
|
|
Enable CUPS service. The user can disable cups in VM which do not need printing to speed up booting.
|
|
|
|
|
2015-12-29 14:19:44 +01:00
|
|
|
crond
|
2015-01-25 14:06:11 +01:00
|
|
|
Default: disabled
|
|
|
|
|
|
|
|
Enable CRON service.
|
|
|
|
|
2013-03-12 16:55:05 +01:00
|
|
|
network-manager
|
|
|
|
Default: enabled in NetVM
|
|
|
|
|
|
|
|
Enable NetworkManager. Only VM with direct access to network device needs
|
2014-04-11 01:30:18 +02:00
|
|
|
this service, but can be useful in ProxyVM to ease VPN setup.
|
2013-03-12 16:55:05 +01:00
|
|
|
|
2015-01-25 14:06:11 +01:00
|
|
|
ntpd
|
|
|
|
Default: disabled
|
|
|
|
|
|
|
|
Enable NTPD service. By default Qubes calls ntpdate every 6 minutes in
|
|
|
|
selected VM (aka ClockVM), then propagate the result using qrexec calls.
|
|
|
|
Enabling ntpd *do not* disable this behaviour.
|
|
|
|
|
2013-03-12 16:55:05 +01:00
|
|
|
qubes-yum-proxy
|
2015-01-25 14:06:11 +01:00
|
|
|
Deprecated name for qubes-updates-proxy.
|
|
|
|
|
|
|
|
qubes-updates-proxy
|
2013-03-12 16:55:05 +01:00
|
|
|
Default: enabled in NetVM
|
|
|
|
|
|
|
|
Provide proxy service, which allow access only to yum repos. Filtering is
|
|
|
|
done based on URLs, so it shouldn't be used as leak control (pretty easy to
|
|
|
|
bypass), but is enough to prevent some erroneous user actions.
|
|
|
|
|
|
|
|
yum-proxy-setup
|
2015-01-25 14:06:11 +01:00
|
|
|
Deprecated name for updates-proxy-setup.
|
|
|
|
|
|
|
|
updates-proxy-setup
|
2013-03-12 16:55:05 +01:00
|
|
|
Default: enabled in AppVM (also in templates)
|
|
|
|
|
|
|
|
Setup yum at startup to use qubes-yum-proxy service.
|
|
|
|
|
|
|
|
*Note:* this service is automatically enabled when you allow VM to access
|
|
|
|
yum proxy (in firewall settings) and disabled when you deny access to yum
|
|
|
|
proxy.
|
|
|
|
|
2015-03-16 19:05:09 +01:00
|
|
|
disable-default-route
|
|
|
|
Default: disabled
|
2015-01-25 13:58:16 +01:00
|
|
|
|
2015-03-16 19:05:09 +01:00
|
|
|
Disables the default route for networking. Enabling this service
|
2015-01-25 13:58:16 +01:00
|
|
|
will prevent the creation of the default route, but the VM will
|
|
|
|
still be able to reach it's direct neighbors. The functionality
|
|
|
|
is implemented in /usr/lib/qubes/setup-ip.
|
|
|
|
|
2015-03-16 19:05:09 +01:00
|
|
|
disable-dns-server
|
|
|
|
Default: disabled
|
2015-01-25 13:58:16 +01:00
|
|
|
|
2015-03-16 19:05:09 +01:00
|
|
|
Enabling this service will result in an empty /etc/resolv.conf.
|
2015-01-25 13:58:16 +01:00
|
|
|
The functionality is implemented in /usr/lib/qubes/setup-ip.
|
|
|
|
|
2013-03-12 16:55:05 +01:00
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
=======
|
|
|
|
| Joanna Rutkowska <joanna at invisiblethingslab dot com>
|
|
|
|
| Rafal Wojtczuk <rafal at invisiblethingslab dot com>
|
|
|
|
| Marek Marczykowski <marmarek at invisiblethingslab dot com>
|