Hey,
If you look at the service and timer definitions
(/usr/lib/systemd/system/qubes-update-check.{service,timer}) you'll see
that they're started only if the
/var/run/qubes-service/qubes-update-check file exists. In theory this
file is created if you have a `qubes-update-check` service defined for
the VM ; see the output of `qvm-service vmname` (or the 'services' tab
in the vm qubes gui)
You should also be able to disable updates globally with `qubes-prefs
check_updates_vm` or with the qubes global settings gui.
The consequences are that you won't have a "VM needs update"
notification in the gui. If debian updates flow like fedora and new
updates are available daily, the feature is pretty much unneeded.
> I have also removed cups and lvm2 as I don't need it in the VM.
>
> ser@t-multimedia:~$ sudo apt-get remove lvm2 cups
>
> Do you have any other ideas to reduce startup time?
yes :) - remove (almost) everything from /etc/xdg/autostart. I'm sure
there's a prettier way but that works for me. Some .desktop files will
get re-installed with time when updating the VM, remove them again (I
have a script for that btw, that is run automatically when I update my
templateVMs).
Exceptions:
- qubes-pulseaudio.desktop: if you want to have sound. Otherwise you'll
have to run `start-pulseaudio-with-vchan` manually before opening a
browser or some multimedia files.
- nm-applet.desktop: if you want to have the applet started. The problem
is that it'll start in *every* VMs, not only sys-net (the applet is then
hidden by qubes-show-hide-nm-applet.desktop). I got rid of it too and
I'm starting nm-applet only in sys-net (with
`/home/user/.config/autostart/nm-applet.desktop` ; starting it from
/rw/config/rc.local won't work because X isn't started yet when rc.local
is ran).
- qubes-icon-sender.desktop: if you want to have pretty icons (I don't)
- qubes-input-trigger.desktop
> I am also interested in improving bootup speed for my fedora-based App-VMs
It'd be great if you could write a guide with your findings (I can help
too).
>
> [799]
>
Cheers
Ivan