Skip to content

Commit

Permalink
Merge pull request #4391 from dfr/freebsd-jail-mounts
Browse files Browse the repository at this point in the history
Don't set allow.mount in the vnet jail on Freebsd
  • Loading branch information
rhatdan authored Oct 29, 2022
2 parents 2cf093c + dc733f1 commit c2cf9fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions run_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,6 @@ func (b *Builder) Run(command []string, options RunOptions) error {
jconf.Set("devfs_ruleset", 4)
jconf.Set("allow.raw_sockets", true)
jconf.Set("allow.chflags", true)
jconf.Set("allow.mount", true)
jconf.Set("allow.mount.devfs", true)
jconf.Set("allow.mount.nullfs", true)
jconf.Set("allow.mount.fdescfs", true)
jconf.Set("securelevel", -1)
netjail, err := jail.Create(jconf)
if err != nil {
Expand Down

0 comments on commit c2cf9fa

Please sign in to comment.