You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Theoretically it could be possible to rename the snapshots to the new name on rename (which would also be less confusing when administering the system):
In which case the destroy command works as expected:
[root@jailhost-b ~]# iocage destroy basejail
This will destroy jail basejail
Are you sure? [y/N]: y
basejail has dependent jails (who may also have dependents), use --recursive to destroy:
depjail2
I didn't check how complex this would be to fix in the rename command.
The text was updated successfully, but these errors were encountered:
grembo
changed the title
Renaming a cloned jail does not rename the name of the snapshot (OR: Recursive destroy shows old name of renamed dependent jail)
Renaming a cloned jail does not rename the name of the snapshot it is based on (OR: Recursive destroy shows old name of renamed dependent jail)
Dec 3, 2024
See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240371
Make sure to follow and check these boxes before submitting an issue! Thank you.
iocage --version
:Version 1.8
This should show
master
if usinga stable release.
The root of the problem is that the name of the dependent jails is determined by looking at the snapshot name.
So in the example above, the snapshots are still named @depjail after renaming:
Theoretically it could be possible to rename the snapshots to the new name on rename (which would also be less confusing when administering the system):
In which case the destroy command works as expected:
I didn't check how complex this would be to fix in the rename command.
The text was updated successfully, but these errors were encountered: