11.1 - iocage jail (new UI) - mount_* settings

Status
Not open for further replies.

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi!

Both options are checked in the UI. Checking with iocage on the command line:
Code:
root@freenas-pmh:/mnt/iocage/jails/test # iocage get mount_devfs test
1
root@freenas-pmh:/mnt/iocage/jails/test # iocage get mount_fdescfs test
1
root@freenas-pmh:/mnt/iocage/jails/test # iocage start test
* Starting test
  + Started OK
  + Configuring VNET OK
  + Starting services OK
root@freenas-pmh:/mnt/iocage/jails/test # iocage console test
Last login: Thu Dec 28 21:01:56 on pts/0
FreeBSD 11.1-STABLE (FreeNAS.amd64) #0 r321665+d4625dcee3e(freenas/11.1-stable): Wed Dec 13 16:33:42 UTC 2017
Welcome to FreeBSD!
[...]
root@test:~ # df
Filesystem				  1K-blocks   Used	  Avail Capacity  Mounted on
zfs/iocage/jails/test/root 5268294657 345373 5267949284	 0%	/
root@test:~ #


Not yet implemented or deserving a bug report?

Same is true for mount_procfs and mount_linprocfs.

If it's a missing feature, how should I go about it for the moment? Is iocage's fstab feature functional and recommended on FreeNAS or should I mount the special filesystems from within the jails?

Thanks,
Patrick
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
File a bug report, at least it'll be documented and will help prevent issues from falling out of sight and out of mind.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
In the bug report Brandon wrote:
These mount from the host, and the default is 1. So setting this from the GUI would not change a thing. So everything is correctly working, what Patrick likely wants is allow_mount_devfs and then mounting it inside the jail himself or via the jails fstab.

I entirely get the allow_mount_* thing. What I don't understand is what he means by "mount from the host" and what the purpose of these per jail settings is, if they don't apply per jail. Could someone please clarify?

And then the bug report probably should be re-opened and moved to "UI (new)", because it doesn't make sense to expose these settings via the UI. Correct?

Thanks,
Patrick
 
Status
Not open for further replies.
Top