jails

  1. S

    mlock support not being picked up by jailed application

    Hey All, I have been facing a problem while trying to run Hashicorp's Vault service and I was hoping for some guidance. I've created a jail and have installed Vault (v1.8.7) into it via pkg -j vault-jail install vault. The vault installation seems to be working fine, however when I try to...
  2. sixpiece

    source code and how to be able to interpret a command

    I used the command jls for example. then it responded with the following table: JID IP Address Hostname Path 7 hydroponique /jails/hydroshop now I want to know if IP Address is an IPV4 address or an IPV6 address. So what are my...
  3. HL1234

    Solved cannot install in a jail with ports & jail defined with different subnets - does this work?

    Hello, I'm new to work with jail. I try this example: FreeBSD jails: a complete example I've created the jail from another example - copied some files from the host - did a bit configuration - and it works: I can start it and connect in it with 'tcsh' command. With the example above I try to...
  4. byrnejb

    Solved service reports cannot find /etc/rc.conf

    root@mx32 ~]# freebsd-version 12.3-RELEASE-p2 [root@mx32 ~]# uname -a FreeBSD mx32.harte-lyne.ca 12.3-RELEASE-p1 FreeBSD 12.3-RELEASE-p1 GENERIC amd64 I have recently begun to see this in one of our (iocage managed) jails while logged in via ssh. # service postfix status /etc/rc.conf: $...
  5. pedz

    ZFS Confused about dirents, fstat, lstat, and inodes

    I'm on a TrueNAS so the file system is ZFS. I'm also in a "jail". The file system is originated on the base TrueNAS system and then it gets mounted into the jail. I have a program that runs through the file system creating a database of dirent entries and inode entries. I've assumed that the...
  6. thecodechemist

    Issues assigning epair interface to vnet jail

    Hi, I'm having issues with VNET on my FreeBSD 13.0-RELEASE-p11 host running on a cloud VPS. After some other problems previously discussed in this thread, I'm now stuck with the following issue: I have a very simple VNET jail setup (config see below) and tried to manually assign it an epair...
  7. byrnejb

    Solved isc-dhcpd running in a freebsd 12.3p5 jail

    I have a problem getting dhcpd to run inside a iocage controlled jail. Following various bits and pieces found on the web I have successfully configured a jail with a VNET interface.. This appears to work as I can ping into and out off the jail from internal and external addresses. For...
  8. K

    jails iocage problem with jails processes

    Hi ! I have recently convert my jail from ezjail to iocage With the help of this script: https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jails/ All work but sometimes if I stop a jail processes hangs even if jail is stopped. This process are not possible to kill so I need...
  9. A

    jails Issues starting my jail. Unexpected EOF

    Hello fellow daemons! Today I started making my first jail, but I got face to face with a problem. When I started my jail with "doas service jail start jail (the name of my jail)" it returned me an unexpected EOF: Starting jails: cannot start jail "jail": jail: /etc/jail.conf: unexpected EOF ...
  10. byrnejb

    Conflicting periodic tasks slowing system

    I ran across this while investigating a different problem: [root@vhost06 ~ (master)]# ps -auwx -O jid -d | grep 'USER\|periodic' USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND PID JID TT STAT TIME COMMAND root 6623 0.0 0.0 10684...
  11. T

    Solved jail with network access

    If I want to setup a jail during the freebsd install process, I would have to assign the jail an IP address on the same subnet as the host itself so that I can avoid needing to NAT? Is that correct? Or is there another approach I could use? I'd like to have everything configured during the...
  12. B

    quBSD - A New Jails and bhyve Wrapper That Emulates Qubes

    It's been quite a few months in the making, but I believe I have something good enough to share with the community. It's written in shell, based on zfs, and uses the underlying FreeBSD tools. Here's a summary of features: All workloads are run inside of jails GUI jails! Comes with a...
  13. Rand0m

    Solved Jails (using qjail) stopped working

    Hi there, I've been using qjail for years, and my jails been running nice since then. Till today. I was trying to update the packages inside one jail and got this error: git_jail /root >pkg update && pkg upgrade Updating FreeBSD repository catalogue... [git_jail] Fetching...
  14. m0nkey_

    jails VNET and a Linux jail

    So I've been poking at Linux jails in 13.0. I've managed to get a Ubuntu and Debian jail running, but now I want to take it a step further. Has anyone ever got VNET working inside of a Linux jail? I can only get so far before I start running into issues. Anyway, here's my jail.conf path =...
  15. lifepillar

    PF Issue with configuration blocking access to jails on ip aliases attached to external interface

    Hi, when I activate PF in my server, I cause connectivity to my jails to be blocked (even when it should not). With PF disabled, everything works. I am likely doing something stupid, but I need other eyes to look at it. My jails are bound to the only active interface igb0: root@host # ifconfig...
  16. D

    Help with jail permissions

    Hello, I have a jail set up to test my nginx web server on my local machine and make changes to it before I push. However, I wanted to use a GUI editor from outside the jail to edit the HTML/CSS (which is the main reason I wanted to use a jail). I made perhaps a horrible mistake by recursively...
  17. P

    jails Execute exec.release even when Jail is dying/failed to start (Old title: Cleaning Jails If Dying)

    Dear all, Setting up jail.conf, I've setup some exec.prestart & exec.release scripts for the jail service to run before starting up jail. I'll take one example where I create epair for the jail's interface in exec.prestart & destroy them in exec.release. My problem is that if, for any reason...
  18. patmaddox

    Can't make requests using host's alias IP address

    (I had originally asked about jails, but no longer think it's a jail issue. I've moved the original info to the bottom of the post for context) I am new to setting up jails and networking. I have created a GCE instance with FreeBSD 13.0, and assigned a second private IP via the GCP console...
  19. B

    MESA Loader Fails to Open amdgpu, Doesn't Detect /dev/dri/card0

    Specs: Ryzen 3960x, Radeon RX 5700, 13.0-RELEASE-p3 Problem is occuring inside jails. When I try to launch a GUI app (Falkon, Blender, etc), the app launches, but with significant lag for moving objects with mouse, videoplayback, and consuming large CPU resources even at idle...
  20. U

    Solved Passing all outbound trafic from Jail behind NAT

    I'm trying to pass all outbound traffic from Jails. I'm using IPFW, because it's default for FreeBSD. All Jails live on cloned lo1 interface, no VNET. How can I pass all outbound traffic from my Jails to the Internet through vtnet0 interface? PLEASE DELETE THIS THREAD.
Back
Top