Bug 192092 - [jail(8)] allow.mount.tmpfs does not kldload tmpfs.ko if not present
Summary: [jail(8)] allow.mount.tmpfs does not kldload tmpfs.ko if not present
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: Jamie Gritton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 14:09 UTC by joeb1
Modified: 2018-08-15 22:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joeb1 2014-07-24 14:09:02 UTC
When a jail is started with parameters 
allow.mount.tmpfs
allow.mount.nullfs
allow.mount.procfs
jail(8) does not check if their kernel modules are loaded.
Jail(8) should be changed to load the kernel modules if they are not already loaded before the jail is started.
Comment 1 commit-hook freebsd_committer 2018-08-15 21:38:28 UTC
A commit references this bug:

Author: jamie
Date: Wed Aug 15 21:38:10 UTC 2018
New revision: 337875
URL: https://svnweb.freebsd.org/changeset/base/337875

Log:
  MFC r331332:

    If a jail parameter isn't found, try loading a related kernel module.

  PR:		192092

Changes:
_U  stable/11/
  stable/11/lib/libjail/jail.c
Comment 2 commit-hook freebsd_committer 2018-08-15 21:39:31 UTC
A commit references this bug:

Author: jamie
Date: Wed Aug 15 21:38:45 UTC 2018
New revision: 337876
URL: https://svnweb.freebsd.org/changeset/base/337876

Log:
  MFC r331332:

    If a jail parameter isn't found, try loading a related kernel module.

  PR:		192092

Changes:
_U  stable/10/
  stable/10/lib/libjail/jail.c
Comment 3 commit-hook freebsd_committer 2018-08-15 22:33:11 UTC
A commit references this bug:

Author: jamie
Date: Wed Aug 15 22:32:44 UTC 2018
New revision: 337879
URL: https://svnweb.freebsd.org/changeset/base/337879

Log:
  Load filesystem modules associated with allow.mount permissions.

  PR:		192092

Changes:
  stable/11/lib/libjail/jail.c
Comment 4 commit-hook freebsd_committer 2018-08-15 22:33:13 UTC
A commit references this bug:

Author: jamie
Date: Wed Aug 15 22:32:55 UTC 2018
New revision: 337880
URL: https://svnweb.freebsd.org/changeset/base/337880

Log:
  Load filesystem modules associated with allow.mount permissions.

  PR:		192092

Changes:
  stable/10/lib/libjail/jail.c