jail

  1. E

    jails Running minecraft bedrock server in ubuntu jail

    I setup a Ubuntu 22.04 jail using bastille: ` bastille create -L minecraft jammy 192.168.1.85` Installed libcurl4 and fetched latest minecraft bedrock server. When I try running the server with `./bedrock_server` I get this output: According to socktat, the port is not in use, and changing...
  2. L

    How to access a directory with read write permissions from one Jail to another

    I'm trying to setup a Caddy reverse proxy installed in a jail to serve seafile installed on a separate jail. This is an excerpt of the Caddy config file: handle_path /media* root * /opt/seafile/seafile-server-latest/seahub/media My question is how can I access this file path...
  3. P

    jails Interface does not return to host after kill jail

    Hello darlings! Basically, i did created a JAIL, with this configuration: main { host.hostname = "main"; exec.clean; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.prestart += "kldload -n ipfw_nat"; exec.prestart += "kldload -n ipsec"...
  4. gotnull

    Kudos Contributors!

    Hi, This post is dedicated to those who have rewritten the all Jail section from the Handbook: CONGRATULATIONS & THANK YOU! I usually read an offline PDF version of the Handbook, time has passed and I realized this was a 2022 version. So early in a day I check the online version and wow...
  5. ivanov

    Solved thin jail mixup between 13.2 and 14.0 caused ld-elf.so.1: Shared object "libcap_dns.so.2" not found, required by "ping"

    I was following the handbook when creating a thin jail and ended up with a jail where ping reports the following error: ld-elf.so.1: Shared object "libcap_dns.so.2" not found, required by "ping" The fault is probably mine, but I wanted to understand better what happened. My host is...
  6. F

    jails Jail with newer version (13.2) than host system (13.1)?

    I am running a system with TrueNAS-13.0-U6.1, which currently is the most recent release. This is based on FreeBSD 13.1 (which is EOL): # uname -a FreeBSD storage.example.com 13.1-RELEASE-p9 FreeBSD 13.1-RELEASE-p9 n245429-296d095698e TRUENAS amd64 This is a bit of a shame (it tends to happen...
  7. F

    jails Start jail dependent on another jail, how to ...?

    Sorry, may be I just do not know the propper kewords*. I want to make sure that a special jail is starting after another jail, it depents on. What to do in jail.conf (FreeBSD 14) or elsewhere? Thanks * I'm not a native speaker
  8. B

    jails Jail's fstab Inside Encrypted ZFS Dataset. Jail Fails to Launch

    Each jail's specific data lives inside its own dataset: zusr/$name. This includes the fstab, which (if the dataset is encrypted/unmounted), won't be available until zfs mount -l zusr/$name. Naturally, I thought that I could put some logic in exec.prepare, which performs this command before the...
  9. K

    jails mpsutils in a jail

    Hello everyone, some one know if is possible using mpsutils in a jail? if i try in a jail with release13.2: root@services:~ # mpsutil show all Adapter: mpsutil: mps_open: No such file or directory Devices: mpsutil: mps_open: No such file or directory Enclosures: mpsutil: mps_open: No such file...
  10. B

    Rename devfs device and access renamed device in a jail

    Is there a way to rename a device (e.g. using devfs rules) within /dev (e.g. rename /dev/cuaU0 -> /dev/zigbee) or create a second node that points to the same piece of hardware (i.e. both /dev/cuaU0 and /dev/zigbee refer to the same device)? I would like to pass a custom named device (e.g...
  11. S

    pkg in jail not working

    Need help: I have just created a new jail 'ha' with 'iocage' on a new FreeBSD 14.0-REALEASE maschine (metal): iocage create -r 14.0-RELEASE --name ha ip4_addr="em0|192.168.1.200/24" Everything worked as expected. Now I want to install some packages inside the jail. No chance: root@ha:~ # pkg...
  12. G

    Bastille and Ubuntu debootstrap, run with systemd

    Hi, I just trying to run Ubuntu jail via Bastille but need to do it with systemd to use with snap. root@ubuntu:/# systemctl System has not been booted with systemd as init system (PID 1). Can't operate. Read step by step by this tutorial, except last package install. root@ubuntu:/# apt-get...
  13. Freedom

    jails What about creating a jail automatically when installing a package?

    While discovering FreeBSD, jails & related management tools (ezjail, bastille, pot, etc) there is something I can't figure out: Why not give pkg the ability to actually create the jail that will contain the packages we install? something like pkg -cj webserverjail install nginx...
  14. uchman

    Solved slow network speeds with jail (and vnet) on FreeBSD 14.0-RELEASE

    I upgraded my home server to FreeBSD 14.0-RELEASE yesterday and since then i'm experiencing really slow speeds to my jails (bhyve guests are not affected). I use iocage and vm to handle my jails and here is a sample from ifconfig: em0...
  15. M.E.

    jails Issue while following the handbook to create a Thin Jail using NullFS

    I am trying to create my first Jail, my host system is FreeBSD 13.2 and uses UFS. I am aiming to create thin jails for my workstation as my disk space is limited. It is my understanding that Chapter 17 of the Handbook, that covers the manual creation of Jails covers this case. I include the...
  16. Freedom

    jails How do I run jailed services with nomad?

    I am new to FreeBSD & jails. I am aware that using a tool like sysutils/pot would probably do what I wanna do but my goal is to learn before picking one of those. I have created a set of thin jail using ZFS snapshots...
  17. P

    jails Conflict on TUN interfaces between different jails

    I have two separate jails that are not visible to each other. There is no sharing of tun* interfaces in the devfs.rules. However, when I create the tun0 interface in Jail 1, I encounter difficulties creating the same interface, tun0, in Jail 2. Upon attempting, I receive a message indicating...
  18. dnb

    jails Moving jail between computers with different CPU architectures

    I have a jail that I would like to run on different computers with different CPU architectures. For example, on one computer it is an old Intel Haswell, and on another it is an AMD EPYC 7003. First, this Jail is compiled from source on an AMD EPYC 7003 computer. Secondly, it contains many C++...
  19. D-FENS

    Solved How to set environment variables inside a "jexec" call?

    I would like to call a command inside a jail using jexec while setting environment variables for that particular call. In a shell inside the jail I would call: KEYCLOAK_ADMIN=admin KEYCLOAK_ADMIN_PASSWORD=admin ./kc.sh show-config How can I trigger this call outside of the jail? I tried...
  20. freezr

    jails Bastille: how to delete old bootstraps?

    Dear All, I am writing some personal documentation but I lost some notes about Bastille, and even looking at the history of the commands I can't find them, and perhaps you could help me. I remember that I had an issue cause bootstrapping from a version to a newer one filled my limited storage...
Back
Top