Project

General

Profile

Bug #40548

Prevent adding storage to a running jail

Added by JT Pennington over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Steps to reproduce:

1) Create Jail.
2) Start Jail.
3) Edit MountPoint and add mountpoint.
4) Jail disappears off jails list.
@ CLI `iocage list` barfs errors. (thus why UI fails to return list)

UI should not allow you to add a mountpoint to running Jail.

Since iocage is now b0rked, I'm not able to do anything to remove jail to fix the system.

MountPoint Error Msg.png (34.2 KB) MountPoint Error Msg.png Jeff Ervin, 08/30/2018 01:08 PM
Jail Edit.png (60.8 KB) Jail Edit.png Jeff Ervin, 08/30/2018 01:08 PM
27729
27740

Associated revisions

Revision 2969e9ef (diff)
Added by Brandon Schneider over 1 year ago

fix(jails/fstab): Don't allow adding mount to a running jail This can be reevaluated later. Ticket: #40548

Revision 27a87b9e (diff)
Added by Brandon Schneider over 1 year ago

fix(jails/fstab): Don't allow adding mount to a running jail (#1692) This can be reevaluated later. Ticket: #40548

History

#1 Updated by Dru Lavigne over 1 year ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Release Council to William Grzybowski
  • Target version changed from Backlog to 11.2-BETA3
  • Private changed from No to Yes

#3 Updated by William Grzybowski over 1 year ago

  • Assignee changed from William Grzybowski to Brandon Schneider

#4 Updated by Brandon Schneider over 1 year ago

  • Status changed from Unscreened to Not Started

#5 Updated by Brandon Schneider over 1 year ago

  • Status changed from Not Started to In Progress

#6 Updated by Brandon Schneider over 1 year ago

PR: https://github.com/freenas/freenas/pull/1692
DESC: Raise a CallError if the jail is running while trying to add an fstab mount
RISK: Low
ACCEPTANCE: See description

#7 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#8 Updated by Dru Lavigne over 1 year ago

  • File deleted (debug.tgz)

#9 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Adding mountpoint to running jail breaks iocage to Prevent adding storage to a running jail
  • Needs Merging changed from Yes to No

#10 Updated by Dru Lavigne over 1 year ago

  • Private changed from Yes to No

#11 Updated by Jeff Ervin over 1 year ago

27729
27740

Test Passes FreeNAS-11.2-MASTER-201808220903

#12 Updated by Timothy Moore II over 1 year ago

  • Needs Doc changed from Yes to No

Docs PR: https://github.com/freenas/freenas-docs/pull/344 [angulargui]. No changes needed for master branch.

#13 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF