Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions