Skip to content

Destroying a jail with promoted dependent jails destroys those jails as well #94

@chmeeedalf

Description

@chmeeedalf

I created a jail foo, then cloned it into bar and baz. I then tried destroying foo, which threw an error that there were two dependent jails, and I would need to recursively destroy the jail. I then promoted bar using zfs promote. After doing this, I tried destroying foo again, just for kicks mostly. No warnings about dependent jails, even though baz is still a dependent jail, and it destroyed foo, bar, and baz.

At the very least I would expect another warning, but also would expect it to detect that bar is no longer a zfs dependent clone, and not destroy it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions