On Sunday, November 26, 2017 at 1:38:44 PM UTC, Unman wrote:
> On Sun, Nov 26, 2017 at 02:12:30AM -0800, Yuraeitha wrote:
> > On Sunday, November 26, 2017 at 9:38:03 AM UTC, Chris Laprise wrote:
> > > On 11/26/2017 04:26 AM, Yuraeitha wrote:
> > > > On Sunday, November 26, 2017 at 4:31:35 AM UTC, 
> > > > cybe...@national.shitposting.agency wrote:
> > > >> I recently made a kali template vm by cloning the qubes debian 8 
> > > >> template and converting it to kali.
> > > >>
> > > >> If I were to remove the base debian 8 template from dom0, would this 
> > > >> also remove the cloned kali template vm?
> > > >
> > > 
> > > The answer is No. Cloned templates are not dependent on each other.
> > > 
> > > If you have appVMs dependent on the debian-8 template, you'll have to 
> > > re-assign them to another template before you do the removal.
> > > 
> > > -- 
> > > 
> > > Chris Laprise, tas...@posteo.net
> > > https://github.com/tasket
> > > https://twitter.com/ttaskett
> > > PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886
> > 
> > Are you sure? or was it maybe changed in between older Qubes and current 
> > perhaps?
> > 
> > Also you're making a distinction between "qvm-remove" and "dnf remove" here?
> > 
> 
> Chris is absolutely right, and this is not dependent on Qubes version.
> 
> The difference between qvm-remove and dnf-remove is that you cannot
> remove a template installed using dnf by qubes-remove.
> SO if you have a base debian-8 template installed using
> qubes-dom0-update or at original install, then you must remove it using
> dnf remove.
> 
> If you have cloned a template you can remove the clone using qvm-remove,
> but NOT dnf remove.
> 
> As Chris says, you must make sure that you have no appVMs using the
> template you want to remove before you remove it. This applies whether
> you use a clone or not.
> 
> unman

aha, so the qvm-remove is there to handle the clones or backup-restoed VM's, 
and not just intended to be a single VM removal tool in regards to templates. 
While both understandings are similar, the slight misunderstanding in the 
variation between the two, can have quite the difference in certain impacts, 
indeed.

It's not that I have any doubts in what you said, but I had to go and try it 
out on a custom installed fedora-26 template, in order to beat the 
misunderstanding out of my self by doing it in practice. Cloned the template I 
planned to remove, and performed a "sudo dnf remove qubes-template-fedora-26", 
which indeed only removed the fedora-26, and left alone the clone thereof. 

Essentially I had to beat it out of my self, because the other understanding 
between the correct way of seeing it, and the wrong way of seeing it, are so 
close to each others that it can be tricky to make a lasting distinction. It 
seems so counter intuitive once the wrong interpretation has taken root.

I wonder how such misunderstandings, or false interpretations, can be avoided 
among the people, like me, who are learning about Qubes (and Linux in general). 
But that's something for another time and topic, but an interesting one 
nonetheless.

Thanks for the clarification btw, you nailed this one.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/4279361a-0c25-4af6-9171-b51232318512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to