I have a fresh install of FreeBSD 15.0-RELEASE (with pkgbase). I've created a jail via
When I go to install anything e.g. Nginx I get:
Here is my jail.conf file.
What have I missed?
bsdinstall as a ZFS file system:
Code:
zroot/jails/myjail 618M 1.08T 618M /jails/myjail
When I go to install anything e.g. Nginx I get:
Code:
pkg Fail to chflags /libexec/ld-elf32.so.1:Operation not permitted
Code:
New packages to be INSTALLED:
FreeBSD-clibs-lib32: 15.0 [FreeBSD-base]
nginx: 1.28.0_3,3 [FreeBSD-ports]
pcre2: 10.46 [FreeBSD-ports]
Number of packages to be installed: 3
The process will require 13 MiB more space.
Proceed with this action? [y/N]: y
[jail.myjail] [1/3] Installing FreeBSD-clibs-lib32-15.0...
[jail.myjail] [1/3] Extracting FreeBSD-clibs-lib32-15.0: 100%
pkg: Fail to chflags /libexec/ld-elf32.so.1:Operation not permitted
root@jail:~ #
Here is my jail.conf file.
Code:
allow.nomount;
mount.devfs;
path ="/jails/$name";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
host.hostname = "jail.$name";
ip4 = inherit;
ip6 = inherit;
myjail {
allow.sysvipc = true;
ip4.addr="192.168.0.2";
}
What have I missed?