by kemotep · 2w ago · 0 comments
Still it’s great to see this work and the desktop-installer script streamline a lot of the experience. I like FreeBSD and have had an otherwise fantastic experience learning and using it.
This is a great step!
It also reminded me of why Docker become so popular while being less secure and less good solution then FreeBSD Jails - it was all about TOOLING. FreeBSD Jails - and especially VNET ones are really great - but there is just 'limited' `jls(8)` that does not show VNET IPs or poweroff off Jails and `jail(8)` command and `jail.conf(5)` config. You do 95% of the stuff in `vi(1)` in the Jail configs ... the tools are really limited. Even check Solaris/Illumos Zones with its `zonecfg(1M)` and `zoneadm(1M)` tools. Same problem is here now with PKGBASE 'tooling' for upgrading process between both minor and major FreeBSD versions ... and its not better for 3rd party packages. If You want to 'just' upgrade the 3rd party packages - this is the command if You use PKGBASE system:
# pkg upgrade -r FreeBSD-ports -r FreeBSD-ports-kmods ...
... and its often that a lot of these tools are available - they are just ignored and not used. Take my `jmore(8)` Jails listing and manager tool. Its different then BastilleBSD or iocage that it does not need any organized way of doing Jails - its fully compatible with 'plain' Jails configured in `jail.conf(5)` file - it is BSD licensed ... but ignored. # jls
JID IP Address Hostname Path
# jmore -h
usage:
jmore list jail(8) containers
jmore -a list jail(8) containers with all IP(s)
jmore -d INTERVAL run 'jmore' every INTERVAL seconds like top(1)
jmore -h show help
jmore --help show help
jmore help show help
jmore version show version
manage:
jmore <JAILNAME> start
jmore <JAILNAME> restart
jmore <JAILNAME> stop
jmore <JAILNAME> status
jmore <JAILNAME> console
jmore <JAILNAME> shell
jmore <JAILNAME> jexec
shorts:
jmore <JAILNAME> u UP ------> alias for start
jmore <JAILNAME> d DOWN ----> alias for stop
jmore <JAILNAME> r RESTART -> alias for restart
jmore <JAILNAME> c CONSOLE -> alias for console|shell|jexec
jmore <JAILNAME> s STATUS --> alias for status
# jmore
JAIL JID CPU/% RAM/mb TYPE VER DIR IFACE IP(s)
classic - 0.0 0.0 std 13.2-R /jail/classic em0 10.0.0.199
ctld-two - 0.0 0.0 vnet 13.2-R /jail/ctld-two ${if}b -
ctld - 0.0 0.0 vnet 13.2-R /jail/ctld ${if}b -
fbsdjail - 0.0 0.0 std 13.1-R /jail/fbsdjail wlan0 10.0.0.43
iscsi - 0.0 0.0 vnet 13.2-R /jail/iscsi ${if}b -
joudriere - 0.0 0.0 vnet 14.3-R /jail/joudriere ${if}b -
kerberos - 0.0 0.0 vnet - [GONE]/jail/kerberos ${if}b -
minecraft - 0.0 0.0 std 14.2-R /jail/minecraft em0 10.0.0.210
minio - 0.0 0.0 std 14.0-R /jail/minio em0 10.0.0.133
nfsd - 0.0 0.0 vnet 14.1-R /jail/nfsd ${if}b -
other - 0.0 0.0 std 14.1-R /jail/other em0 10.0.0.199
pkgbase - 0.0 0.0 vnet 14.3-R /jail/pkgbase ${if}b -
sambajail - 0.0 0.0 vnet 14.1-R /jail/sambajail ${if}b -
unfs3 - 0.0 0.0 vnet 14.1-R /jail/unfs3 ${if}b -
# jmore classic u
Starting jails: classic.
# jmore ctld u
Starting jails: ctld.
# jmore ctld c
ctld # exit
# jmore
JAIL JID CPU/% RAM/mb TYPE VER DIR IFACE IP(s)
classic 1 0.1 18.0 std 13.2-R /jail/classic em0 10.0.0.199
ctld-two - 0.0 0.0 vnet 13.2-R /jail/ctld-two ${if}b -
ctld 2 1.4 18.0 vnet 13.2-R /jail/ctld epair110b 10.1.1.110
fbsdjail - 0.0 0.0 std 13.1-R /jail/fbsdjail wlan0 10.0.0.43
iscsi - 0.0 0.0 vnet 13.2-R /jail/iscsi ${if}b -
joudriere - 0.0 0.0 vnet 14.3-R /jail/joudriere ${if}b -
kerberos - 0.0 0.0 vnet - [GONE]/jail/kerberos ${if}b -
minecraft - 0.0 0.0 std 14.2-R /jail/minecraft em0 10.0.0.210
minio - 0.0 0.0 std 14.0-R /jail/minio em0 10.0.0.133
nfsd - 0.0 0.0 vnet 14.1-R /jail/nfsd ${if}b -
other - 0.0 0.0 std 14.1-R /jail/other em0 10.0.0.199
pkgbase - 0.0 0.0 vnet 14.3-R /jail/pkgbase ${if}b -
sambajail - 0.0 0.0 vnet 14.1-R /jail/sambajail ${if}b -
unfs3 - 0.0 0.0 vnet 14.1-R /jail/unfs3 ${if}b -
# jls
JID IP Address Hostname Path
1 10.0.0.199 classic /jail/classic
2 ctld /jail/ctld
... and `pkgbase(8)` will also be ignored.Regards,
vermaden