Hello,
I am trying to make an Alpine Linux jail, to use for a Jellyfin server later. I'm running on FreeBSD 14.1-RELEASE-p3, on an intel laptop. I installed following this guide: https://it-notes.dragas.net/2024/01/18/installing-alpine-linux-on-a-freebsd-jail/
When I do
Here is my jail.conf:
In addition, /var/log/jail_alpine.log says the following:
However I am sure /usr/bin/true exists, and I used it with other jails no problem. Changing the command for exec.start to other programs I know work and exist gave the same error.
What can be the cause?
I am trying to make an Alpine Linux jail, to use for a Jellyfin server later. I'm running on FreeBSD 14.1-RELEASE-p3, on an intel laptop. I installed following this guide: https://it-notes.dragas.net/2024/01/18/installing-alpine-linux-on-a-freebsd-jail/
When I do
service jail start alpine
I get the following error:
Code:
Starting jails: cannot start jail "alpine":
4
jail: alpine: /usr/bin/true: failed
.
Here is my jail.conf:
Code:
alpine {
host.hostname="alpine";
exec.start="/usr/bin/true";
exec.stop="/usr/bin/true";
ip4.addr=10.0.0.71;
interface=wlan0;
path="/usr/local/jails/containers/alpine";
allow.raw_sockets=1;
exec.consolelog = "/var/log/jail_${name}.log";
persist;
mount.fstab="/usr/local/jails/containers/alpine.fstab";
}
In addition, /var/log/jail_alpine.log says the following:
Code:
jail: alpine: exec /usr/bin/true: No such file or directory
However I am sure /usr/bin/true exists, and I used it with other jails no problem. Changing the command for exec.start to other programs I know work and exist gave the same error.
What can be the cause?