AppJail icon indicating copy to clipboard operation
AppJail copied to clipboard

Creating a jail with linux compatibility (but not a full linux jail) does not seem to work correctly.

Open cstdenis opened this issue 6 months ago • 5 comments

[00:00:00] [ debug ] [manager] quick parameters: alias ip4=igb0|xx.xx.xx.xx pkg=pico-alpine resolv_conf type=thick start linuxfs overwrite
[00:00:01] [ info  ] [manager] Creating a standard jail (thick) ...
[00:00:01] [ info  ] [manager] Creating a thickjail ...
[00:00:01] [ debug ] [manager] Copying (zfs): releases/amd64/14.1-RELEASE/default/release to jails/manager/jail
[00:00:01] [ info  ] [manager] Done.
[00:00:01] [ debug ] [manager] Copying /etc/localtime as /usr/local/appjail/jails/manager/jail/etc/localtime
[00:00:01] [ debug ] [manager] Copying /etc/resolv.conf as /usr/local/appjail/jails/manager/jail/etc/resolv.conf
[00:00:01] [ debug ] [manager] Using alias option ...
[00:00:01] [ debug ] [manager] Adding IPv4 address to manager template: igb0|xx.xx.xx.xx
[00:00:01] [ debug ] [manager] manager has been configured to use `alias`.
[00:00:01] [ debug ] [manager] Using linuxfs option ...
[00:00:01] [ debug ] [manager] Current ruleset is 5
[00:00:02] [ debug ] [manager] Setting the boot flag to the manager jail ...
[00:00:02] [ debug ] [manager] Template generated:
[00:00:02] [ debug ] [manager]     exec.start: "/bin/sh /etc/rc"
[00:00:02] [ debug ] [manager]     exec.stop: "/bin/sh /etc/rc.shutdown jail"
[00:00:02] [ debug ] [manager]     mount.devfs
[00:00:02] [ debug ] [manager]     ip4.addr: igb0|xx.xx.xx.xx
[00:00:02] [ debug ] [manager] Locking manager ...
[00:00:02] [ info  ] [manager] Starting manager...
[00:00:02] [ debug ] [manager] Using `/usr/local/appjail/jails/manager/conf/template.conf` as the template.
[00:00:02] [ debug ] [manager] Writing `/usr/local/appjail/jails/manager/conf/template.conf` content to `/usr/local/appjail/cache/tmp/.appjail/appjail.DJBiIPpdKx` ...
[00:00:02] [ debug ] [manager] Checking for parameters marked as required...
[00:00:02] [ debug ] [manager] Running: date +%Y-%m-%d.log
[00:00:02] [ debug ] [manager] exec.consolelog: /var/log/appjail/jails/manager/console/2024-08-12.log
[00:00:02] [ debug ] [manager] Compiling fstab file ...
[00:00:02] [ debug ] [manager] Compiling fstab #0: devfs /dev devfs rw,ruleset=5 0 0
[00:00:02] [ debug ] [manager] Compiling fstab #1: tmpfs /dev/shm tmpfs rw,size=1g,mode=1777 0 0
[00:00:02] [ debug ] [manager] Compiling fstab #2: fdescfs /dev/fd fdescfs rw,linrdlnk 0 0
[00:00:02] [ debug ] [manager] Compiling fstab #3: linprocfs /proc linprocfs rw 0 0
[00:00:02] [ debug ] [manager] Compiling fstab #4: linsysfs /sys linsysfs rw 0 0
mkdir: /usr/local/appjail/jails/manager/jail//sys: No such file or directory
[00:00:02] [ debug ] [manager] mount.fstab: /usr/local/appjail/jails/manager/conf/fstab
[00:00:02] [ debug ] [manager] host.hostname: manager.appjail
[00:00:02] [ debug ] [manager] Path: /usr/local/appjail/jails/manager/jail
[00:00:02] [ debug ] [manager] Resolving dependencies for manager...
[00:00:02] [ debug ] [manager] manager appended to the `seen` list.
[00:00:02] [ debug ] [manager] manager appended to the `resolved` list.
[00:00:02] [ debug ] [manager] Compiling template to `/usr/local/appjail/jails/manager/conf/jail.conf` ...
[00:00:02] [ debug ] [manager] jail.conf generated:
[00:00:02] [ debug ] [manager]     manager {
[00:00:02] [ debug ] [manager]         exec.start = "/bin/sh /etc/rc";
[00:00:02] [ debug ] [manager]         exec.stop = "/bin/sh /etc/rc.shutdown jail";
[00:00:02] [ debug ] [manager]         mount.devfs;
[00:00:02] [ debug ] [manager]         ip4.addr = "igb0|xx.xx.xx.xx";
[00:00:02] [ debug ] [manager]         exec.consolelog = "/var/log/appjail/jails/manager/console/2024-08-12.log";
[00:00:02] [ debug ] [manager]         mount.fstab = "/usr/local/appjail/jails/manager/conf/fstab";
[00:00:02] [ debug ] [manager]         host.hostname = "manager.appjail";
[00:00:02] [ debug ] [manager]         path = "/usr/local/appjail/jails/manager/jail";
[00:00:02] [ debug ] [manager]     }
[00:00:02] [ debug ] [manager] Inspecting config.conf:
[00:00:02] [ debug ] [manager]     appjail_version: 3.3.0
[00:00:02] [ debug ] [manager]     birth: 1723507007
[00:00:02] [ debug ] [manager]     osarch: amd64
[00:00:02] [ debug ] [manager]     osversion: 14.1-RELEASE
[00:00:02] [ debug ] [manager]     jail_type: thick
[00:00:02] [ debug ] [manager]     release_name: default
[00:00:02] [ debug ] [manager] Creating...
jail: manager: mount.fstab: /usr/local/appjail/jails/manager/jail//dev/shm: No such file or directory
[00:00:02] [ warn  ] [manager] An error has occurred while starting manager jail.
[00:00:02] [ warn  ] [manager] The manager jail will be stopped...
[00:00:02] [ warn  ] [manager] Running some counterparts in unattended mode...
[00:00:02] [ warn  ] [manager] manager is not running.
[00:00:02] [ error ] [manager] An error has occurred while starting manager jail.
[00:00:02] [ debug ] [manager] Unlocking manager ...

cstdenis avatar Aug 13 '24 00:08 cstdenis