I am currently running a Qubes 4 system with all my AppVMs based on Debian. (btw thanks to the Qubes devs for providing this "out of the box" when I know you prefer Fedora: very democratic :)
Updating the Fedora 26 template takes forever and a lot of it is software I will never use. I am tempted to try to replace this with the minimal template, and wondered if there is a step by step Qubes-for-Dummies description of how to do this?
If so, please could somebody post a link?
If not, what I have found so far is a page at
https://www.qubes-os.org/doc/templates/fedora-minimal/
which helpfully lists how to install the template and which packages I need to add to it before I try to use it with sys-net sys-firewall and sys-usb.
So my current plan is
1. install the minimal template
2. add the required packages
3. backup all qubes in case of finger trouble
4. from Qube Settings in each the sys- domains change the template
5. reboot
Is there anything important I have missed?
And finally, after I have got everything running off Fedora Minimal or Debian, would I use qubes-remove or dnf to remove the redundant Fedora-26 template?
Thanks for any advice - especially if I have missed something...
Thanks for the advice.
Same request as before: pls could you delete your side of this conversation (or re-post) as it picked up my email address.
My mistake - this is why I need a machine to look after security for me :(
River~~
> ...
> With Debian already being rather minimal I'd suggest using that for most
> VMs. I myself use Fedora only for sys-firewall (to handle dom0 updates),
> to test software compatibility, and occasionally to build a template.
I tried changing sys-net to use debian-9 as its template -- that seemed to prevent me using the terminal in that template so I quickly put it back. I do not have time at present to re-check exactly what I did -- hence my current strategy to use f-26 for all the sys-* machines.
I figure if I am using it for anything then I might as well use it for all the sys-* domains. But if I understand you right, you think my sys-net should have worked with the Debian-9 template? If so I might find time to re-visit that
https://www.qubes-os.org/doc/templates/fedora-minimal/
says that in Q R4.0 sudo is not installed in the minimal fedora template, and tells you how to get into a root shell from dom0.
That is not quite true - sudo is installed (and therefore dnf refuses to re-install it). but it needs to be configured so you will need to use the method in the doc page at least at first.
In the fedora-26 template (NOT minimal) find the file /etc/sudoers.d/qubes and copy it across to the same location in the minimal template. Stop and start the minimal template.
Go into the terminal as user, and sudo -i now puts you into root without a password.
More detail
I found the system would not immediately let me copy the file across, so I copied it to /home/user on the template, chown user:user; chmod 777 then I could move it using the GUI.
Then in the minimal template, move the file from /user/QubesIncoming/fedora-26 to /etc/sudoers.d then a final chown root:root ; chmod 440 to restore the ownership & mode that sudo expects.
I do not claim this to be the most elegant way to move a