Project

General

Profile

Feature #27093

Add middleware to handle jail mounts

Added by Lola Yang over 1 year ago. Updated about 1 year ago.

Status:
Done
Priority:
Important
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Estimated time:
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:

Description

What we need:

1. a call to listing all mounts
2. a call to edit mount
3. return mount information separately instead of a long string like ```"/root/dotfiles /iocage/jails/foo/root/root/dotfiles nullfs ro 0 0"```


Related issues

Related to FreeNAS - Feature #27010: enable to mount directories into the jailResolved2017-12-04

Associated revisions

Revision 558b35bb (diff)
Added by Brandon Schneider over 1 year ago

(jail): Return a dictionary instead

This will returns the fstab's index as the dictionary key with a list for the value.

Also incorporate William's enum suggestion, and add the REPLACE action to the API.

EXAMPLE: {
"0": [
"/root/dotfiles",
"/iocage/jails/foo/root/root/dotfiles",
"nullfs",
"ro",
"0",
"0"
],
"1": [
"/root/test",
"/iocage/jails/foo/root/root/test",
"nullfs",
"ro",
"0",
"0"
]
}

Ticket: #27093

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

(jail): Return a dictionary instead

This will returns the fstab's index as the dictionary key with a list for the value.

Also incorporate William's enum suggestion, and add the REPLACE action to the API.

EXAMPLE: {
"0": [
"/root/dotfiles",
"/iocage/jails/foo/root/root/dotfiles",
"nullfs",
"ro",
"0",
"0"
],
"1": [
"/root/test",
"/iocage/jails/foo/root/root/test",
"nullfs",
"ro",
"0",
"0"
]
}

Ticket: #27093

History

#1 Updated by Lola Yang over 1 year ago

  • Related to Feature #27010: enable to mount directories into the jail added

#2 Updated by Lola Yang over 1 year ago

  • Subject changed from need middle to handle more issue related jail mounts to need middleware to handle more issue related jail mounts

#3 Updated by Brandon Schneider over 1 year ago

  • Status changed from Unscreened to Screened
  • Assignee changed from Release Council to Brandon Schneider

#4 Updated by Brandon Schneider over 1 year ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from Brandon Schneider to William Grzybowski
  • Target version set to 11.1-U1

#5 Updated by William Grzybowski over 1 year ago

  • Status changed from Needs Developer Review to Ready For Release
  • Assignee changed from William Grzybowski to Brandon Schneider
  • Target version changed from 11.1-U1 to TrueNAS 11.1-U2

#6 Updated by Dru Lavigne over 1 year ago

  • Target version changed from TrueNAS 11.1-U2 to 11.2-BETA1

#7 Avatar?id=13649&size=24x24 Updated by Ben Gadd over 1 year ago

  • Status changed from Ready For Release to Done

#8 Updated by Dru Lavigne over 1 year ago

  • Subject changed from need middleware to handle more issue related jail mounts to Add middleware to handle jail mounts
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne about 1 year ago

  • Status changed from Done to Ready for Testing

#10 Updated by Michael Reynolds about 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Severity set to New
  • Needs QA changed from Yes to No

used the Mount points option to add iocage/download dir (the download directory from the iocage dataset) to /media in a jail, the contents of download shows up in /media on the jail I added the mount point to.

#11 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF