mount fdescfs in Jail for Bash

Status
Not open for further replies.

Chillons

Cadet
Joined
Mar 27, 2016
Messages
1
Hi

I recently installed Bash in a Jail. Bash requires fdescfs for full functionality. The following note gets displayed:
Code:
===========================================================================
Message from bash-4.3.42_1:
======================================================================

bash requires fdescfs(5) mounted on /dev/fd

If you have not done it yet, please do the following:

    mount -t fdescfs fdesc /dev/fd

To make it permanent, you need the following lines in /etc/fstab:

    fdesc    /dev/fd        fdescfs        rw    0    0


If I try to mount it in a jail i get a permission denied error.

Code:
root@jail:/ # mount -t fdescfs fdesc /dev/fd

mount: fdesc: Operation not permitted


I found this link, but it does not explain where the line "jail_jboss6_fdescfs_enable="YES" # mount fdescfs in the jail" should be put.

How to provide fdescfs to a jail? Where should this be put to make it permanently?
 
D

dlavigne

Guest
it does not explain where the line "jail_jboss6_fdescfs_enable="YES" # mount fdescfs in the jail" should be put.

Looks like an rc.conf tunable on the FreeNAS system. No idea whether or not it will work or not though.
 
Status
Not open for further replies.
Top