jail

  1. S

    Protect process from OOM killer in Jail

    Hi, Does anybody know how to protect daemon in jail from OOM Killer? I tried to set mysql_oomprotect to YES in rc.conf in Jail but it doesn't work. Thaks
  2. F

    Solved bsdinstall FTP Permission Denied Error

    When I run bsdinstall jail <jailpath> and select a mirror I get: Could not download ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/13.0-RELEASE/MANIFEST I click <restart> and and get: Error while fetching ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/13.0-RELEASE/base.txt...
  3. I

    jails Strange behavior with "devfs_ruleset"

    I've noticed a strange problem with setting"devfs_ruleset" in jail.conf. In jail.conf: testjail { host.hostname = testjail; devfs_ruleset = 27; #note: with no other configuration for this jail } Note: ruleset 27 does NOT exist - I've checked in /etc/defaults/devfs.rules and...
  4. I

    jails Using mdconfig inside jail

    I need to use mdconfig inside a jail, but I'm hit with "Error mdconfig: open(/dev/mdctl): No such file or directory". I think I need to "allow" it in the jail.conf but couldnt figure out what it is. Please help.
  5. keldonin

    jails files and directories invisible from jail

    Hello, I'm encountering an issue that I can't explain, so looking for SME advice here :) I run a linux (debian) inside a jail. I'm using iocage for jail management. deboostrap was used to deploy the guest system. Everything seems to work well except that many files from /etc directory are not...
  6. I

    jails How to install "pkg" inside a jail for a machine without Internet connection?

    I have a FreeBSD box with no Internet connection. Somehow I had installed "pkg" into the host system previously (if I remember correctly, it was from the mounted dvd1.iso). I created a jail and tried to install some packages. The "pkg" is not available in the jail. I tried to mount the same...
  7. I

    jails How to configure routing for jail?

    I'm having some problem setting routing inside a jail. I added to rc.conf (inside jail) and it did not work. I then tried "route add 172.16.0.1" and it responded "route: writing to routing socket: Operation not permitted" I think it is not possible to set routing from inside. So, how do I...
  8. M

    PF Nat is not forwarding to jail

    I am using PF and cannot get packets forwarded to a particular jail. I want data that comes into my base machine on port 4243 to be forwarded to my jail that has a service that is listening on port 4243. I have verified with telnet that the jail can receive data on that port. Here is my...
  9. J

    Solved Unexpected behavior mounting NFS share to jail data

    The following scenario is happening on two freshly installed FreeBSD 13.0-RELEASE hosts. Host A acts as an NFSv4 server. It provides the following share: 192.168.250.61:/myshare Host B can successfully mount and browse the share using mount -t nfs -o nfsv4,rw 192.168.250.61:/mysare /mnt. Host B...
  10. poorandunlucky

    Problem upgrading jails (pkg, freebsd-update)

    So I have these jails now, and I want to install Samba on my www jail. I've upgraded to 12.2-p6, pkg -vv shows kernel 120200. I've upgraded my jail with freebsd-update -b /jails/www There was an error, some directories for the certificates under /usr/share/[certs]/[trusted/blacklisted] didn't...
  11. S

    Solved jails - Accessing devices from Bastille

    How do I make devices in /dev/ accessible inside a Bastille jail? When I have two sets of rules, how do I set this in rc.conf.local, from within the host system? devfs_system_ruleset="localrules" How would bastille also get referenced with this? In devfs.rules of the host (not within the...
  12. G

    PF pf - does not block traffic to jail

    I have remote FreeBSD server with name server inside jail. My rules are: ext_if="em0" ext_ip="X.X.X.X" jail_net="10.0.0.0/24" ns_ip="10.0.0.1" icmp_types = "echoreq" table <blacklist> persist file "/etc/pf/blacklist" table <trusted> persist file "/etc/pf/trusted" set block-policy drop set...
  13. danbanta

    jails Mounting nullfs in jails causes empty directories for parent mount

    Good morning, evening, or afternoon. I currently treat my jails as stateless. I do this by mounting host zfs datasets into the jail using nullfs to store state. Sometimes this leaves the data directory on the host empty although the data is present. Why do I see this behavior? What am I doing...
  14. D

    Solved Issue with building the port in Jail

    Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue: ===> radeonkmsfw/verde_smc (install) install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko...
  15. D

    Solved Creating Separate Virtual Interface For Jail

    Hello, I have set up an jail with ezjail while following this handbook tutorial. After setting it up, my physical interface that host uses has two IPs, one for jail one for host. For some programs listening on all IPs in host's interface this is not ideal. Can I add a virtual interface with its...
  16. I

    Help needed to get KDE installed and running inside a Jail.

    I'm trying to install KDE in jail. I've installed these: Set the /etc/fstab (inside the jail): And added to /etc/rc.conf (inside jail): And the I tried to start the jail, and got these errors in the sddm.log file: I tried to run "Xorg -configure" and got: I think there is no video...
  17. B

    jails Jail | Samba | Previous versions

    hi, I'm trying to setup samba shadow copy in jail. I follow the documentation and searching forums but my settings not working. The previous versions not showing in windows tab. Where I'm wrong ? smb.conf [global] workgroup = TEST server string = Samba Server Version %v security = ads realm =...
  18. S

    iocage jail can only reach its host but not the LAN

    I'm in the middle of setting up a dedicated server. It's running ESXi and I installed a FreeBSD guest. Using iocage I want to create some jails. I have done this before more than once and usually this is strait-forward... but this time I'm stuck somehow. The jail is created with vnet=on and I...
  19. B

    How To: Webcam and Microphone Inside of GUI Jail

    One-stop guide on how to get your webcam working inside of a GUI jail, including the microphone. Assumes you already have GUI set up inside the jail. My hardware: Ryzen Threadripper 3960x, NVIDIA 2080 RTX, Logitec C920 Webcam OVERVIEW - Background Info - Load Kernel Modules - Install...
  20. R

    How do I route all Jail traffic through OpenVPN on FIB1

    Hello FreeBSD users, this is my fist post, I'm still learning so please be gentle :) I am trying to setup a jail (using ioCage) so that all of its traffic goes through our VPN. I have already setup OpenVPN which connects to our VPN service without issue. However the I seem unable ? to...
Back
Top