Skip to content

Destroying a clone jail does not destroy its source snapshot #42

@Defenso-QTH

Description

@Defenso-QTH

How to reproduce

  • download release (e.g. 14.1-RELEASE)
  • create clone jail: iocage create -n testjail -r 14.1-RELEASE
  • notice there is now a 14.1-RELEASE@testjail snapshot
  • destroy the jail: iocage destroy testjail

Expected

The 14.1-RELEASE@testjail snapshot is destroyed too.

Currently

The snapshot is not destroyed. So you get an error if you try to destroy the release with iocage destroy -r 14.1-RELEASE and need to force --recursive which is dangerous.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions