jail

  1. R

    Issues with file operations or why is vi slower than dd?

    I have a FreeNAS Mini running with a jail for Nextcloud. While moving my files from Dropbox to the Nextcloud instance, I realized that there are many fastcgi timeouts happening. In order to investigate the cause, I observed a strange behavior which I don't really understand but my hope is that...
  2. J

    How can I assign an IPv6 address to a jail on a cloned interface?

    Hello, I have some jails on my FreeBSD host. They have IPv4 addresses on a cloned interface lo2 I created. None of the jails has an ip address on the external interface of the host. They only use the cloned interface lo2 and I configured my pf firewall so that the host acts as a router and does...
  3. R

    VNET ARP replies are lost

    My setup is as follows: freenas ---- switch ---- station freenas is running FreeBSD 11.2 with iocage jail using VNET/VIMAGE network stack (though same behaviour is observed on warden jails and previous FreeBSD releases) It all started when I noticed that station loses connection to jail...
  4. yayj

    Solved How to share a regular file between jails

    As far as I know, nullfs(5) is useful for sharing an existing and mounted directory between jails. I can edit fstab(5) file of each jails: /path/to/be/shared /usr/jails/foo/path/shared nullfs ro 0 0 /path/to/be/shared /usr/jails/bar/path/shared nullfs rw 0 0 But it seems probably true that...
  5. fishfox

    Firewalling jail > host and jail <-> jail traffic

    I'm using ezjail and IPFW, at least thus far. So far I have 10.13.13.0/8 subnet. My gateway is .1, my host server is .2, and my first jail is at .3 I noticed that from within my jail at .3 I can knock on the outside if .2. I added this rule to my host but it makes no difference: add 10032...
  6. roccobaroccoSC

    Solved Binaries get rewritten at jail start with unionfs

    I am working on a solution for mass jails deployment based on ZFS datasets and unionfs. A jail template is created by extracting base archive into the dataset. Then the dataset is mounted read-only in all the jails' roots and each jail has its own lean dataset, where only the deltas are stored...
  7. P

    How to connect a FreeBSD jail to the internet? (Amazon EC2)

    I am running a FreeBSD EC2 instance with a single jail. In a regular homebrew setup, I would create a jail in "shared IP" (iocage) mode, and configure my router to forward various ports to the jail. In EC2, I am not sure whether to share the public IP or assign a new one. I created a new...
  8. Nyakov

    Solved jail + vnet + SLAAC + ipfw

    I decided to share my setup for SLAAC on jail vnet. 1. Create bridge and epair interface in /etc/rc.conf #Configure bridge interface for jails vnet #epair0 - jail interface cloned_interfaces="bridge0 epair0" #create bridge and epair ifconfig_bridge0="ether xx:xx:xx:xx:xx:xx addm re0 SYNCDHCP"...
  9. epopen

    Wish to migrate exist ordinary jail to VIMAGE infrastructure

    Hi All. My server upgrade to 12.0-Release and found news about VIMAGE into GENERAL config, meant VIMAGE ready for product environment. So I wish to migrate exist ordinary jail to VIMAGE infrastructure too :). But procedure stopped at default gateway. Current ordinary jail environment detail...
  10. epopen

    Solved Jail outgoing internet's IPv6 packet 50% fail problem.

    Hi All. My server's jail need outgoing internet connection for Let's encrypt OCSP Staple, but connect problem IPv6 only. Detail ifconfig wan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8000a<TXCSUM,VLAN_MTU,LINKSTATE> ether 00:1e:68:c4:e1:9e...
  11. Farhan Khan

    Jail IPv6 only works after base initiates connection

    Hi all, When I start the jail, I get this message on my console. nd6_dad_timer: cancel DAD on epair1b because of ND6_IFF_IFDISABLED. Then the jail cannot use IPv6 until the base initiates connection to it (ie, the base pings the jail first). Otherwise, networking over IPv6 does not work Any...
  12. Roy Chan

    Jail mounted base nullfs sometimes not un-mounted after jail stop

    Hello all, I follow the handbook (https://www.freebsd.org/doc/handbook/jails-application.html) and set up a nginx jail. I use a standard base partition mounted as read-only nullfs, and a skel partition mounted as read-write nullfs. My fstab is shown as follows: /data/jail/template/base...
  13. B

    The perennial Xorg inside jails patch

    I've modified the patch I found on these fora to allow /dev/kmem write access inside jails. The security arguments are hopefully well known: there isn't any. It's still useful for me in order to test different Xorg configs, desktop environments, and ports trees without potentially screwing up...
  14. blueCub

    Solved Help Getting PF to work with my Git Jail

    Hi all, I have an issue with my PF rules and I would like to understand why this is happening and how to solve it. I have very basic knowledge of PF and this is kind of learning curve for me. I have gitea server https://www.freshports.org/www/gitea/ running inside a jail in a vm. It works...
  15. ShelLuser

    Setting up a (Debian) Linux jail on FreeBSD

    Hi gang! Prerequisites: I am assuming that you know how to install software on FreeBSD and also have some basic understanding about FreeBSD jails. Editorial I'm going to be very honest here: I started disliking Linux for a while, and I've worked with it for a long time. For various reasons...
  16. spag

    Solved Jails update 11.2 userland vs kernel version

    I did OS upgrade from 11.1 to 11.2 . All went fine... almost as jails are showing wrong userland version now and I cannot upgrade software root@labs02:~ # uname -UK 1102000 1101001 when I try to reinstall software I am getting error: root@labs02:~ # pkg upgrade Updating myrepo repository...
  17. V

    Create a FreeBSD SBS ( Small Business Server )

    Hello community! I thank this forum for all the info I had. For several months, I think about the idea of migrating the whole Windows architecture under FreeBSD, currently we have: ISP Modem / Router -Wireless Server Windows Server 2008R2 1 - File Sharing (1,7TB DATA) - Domain Controller (25...
  18. D

    Solved Problem running poudriere in a jail

    I followed the instructions given in https://github.com/freebsd/poudriere/wiki/poudriere_in_jail and it all went very well until I actually went to build the packages. When I run poudriere bulk I get the error Error: load_moved requires PWD=/data/poudriere//.m/11maglev-packages/ref/.p. Here's...
  19. P

    How to keep Base Jail and Host equal using EzJail?

    Hi This is my first post, I hope I can explaing my self in english, my natural language is spanish, and I speak/write very bad in spanish too :D I have multiple servers with multiple Jails, and is hard to keep all syncronized I have one machine with 1 jail as "model", I have it with all the...
  20. goshanecr

    database/mysql57-client Linking fails on 11.2 i386

    Good day! I have a server uname -a FreeBSD db_mysql 11.2-STABLE FreeBSD 11.2-STABLE #0 r338358: Thu Aug 30 01:29:38 +05 2018 user@BSD-TENNIS:/usr/obj/usr/src/sys/BSDSERV i386 And on that server works several jails. One named db_mysql has mysql57-{server,client}. pkg info | grep mysql...
Top