Nginx (Nomad)

Overview

This is a NGINX jail that can be started with pot but it can also be deployed via nomad.

NGINX is started as blocking task when the jail is started (see nginx-nomad+4.sh). The image also is slimmed (see nginx-nomad+3.sh)

For more details about nomadimages, see about potluck.

Nomad Job Description Example

An easy way to use the jail is to copy in a nginx.conf file on start and mount the www directory into the jail (which needs to be referenced by the nginx.conf file of course):

job "example" {
  datacenters = ["datacenter"]
  type        = "service"

  group "group1" {
    count = 1 

    task "www1" {
      driver = "pot"

      service {
        tags = ["nginx", "www"]
        name = "nginx-example-service"
        port = "http"

         check {
            type     = "tcp"
            name     = "tcp"
            interval = "60s"
            timeout  = "30s"
          }
      }

      config {
        image = "https://potluck.honeyguide.net/nginx-nomad"
        pot = "nginx-nomad-amd64-12_1"
        tag = "1.1.2"
        command = "nginx"
        args = ["-g","'daemon off;'"]

       copy = [
         "/mnt/s3/web/nginx.conf:/usr/local/etc/nginx/nginx.conf",
       ]
       mount = [
         "/mnt/s3/web/www:/mnt"
       ]
        port_map = {
          http = "80"
        }
      }

      resources {
        cpu = 200
        memory = 64

        network {
          mbits = 10
          port "http" {}
        }
      }
    }
  }
}

Getting Started

How To Use The Ready-Made Image

FreeBSD 13.0:
pot import -p nginx-nomad-amd64-13_0 -t 1.1.4 -U https://potluck.honeyguide.net/nginx-nomad

FreeBSD 12.2:
pot import -p nginx-nomad-amd64-12_2 -t 1.1.4 -U https://potluck.honeyguide.net/nginx-nomad

If you don’t want to use the default pot bridged network configuration but instead need an individual network setup (e.g. assign a host IP address), after importing it you can simply clone the jail like that (em0 is the host network adapter in this example):
pot clone -P nginx-nomad-amd64-13_0 -p my-cloned-jail -N alias -i "em0|10.10.10.10"

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Alternatively: Create a Jail With This Flavour Yourself

1. Create Flavour Files

Save all files and directories from https://github.com/hny-gd/potluck/tree/master/nginx-nomad to /usr/local/etc/pot/flavours/

2. Create Jail From Flavour

Run
pot create -b <FreeBSD Version> -p <jailname> -t single -N public-bridge -f fbsd-update

with your FreeBSD version (e.g. 12.1) and the name your jail should get.

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Version History

1.1.4

  • Rebuild for FreeBSD 13 & new packages

1.1.3

  • Trigger build of FreeBSD 12.2 image & rebuild FreeBSD 11.4 image to update packages

1.1.2

  • Added nomad job example file

1.1.1

  • Added slim.sh as nginx-nomad+3.sh as Jenkins no longer creates slimmed version of each flavour

1.1

  • Fixed naming of second flavour (nginx-nomad+1.sh)

1.0

  • Initial commit

These images were built on Tue May 11 12:27:38 UTC 2021

Manual Image Download Links

nginx-nomad-amd64-13_0_1.1.4.xz ( 49.2698 MB )
nginx-nomad-amd64-13_0_1.1.4.xz.skein ( 0.250977 KB )

nginx-nomad-amd64-12_2_1.1.4.xz ( 47.2112 MB )
nginx-nomad-amd64-12_2_1.1.4.xz.skein ( 0.250977 KB )

Jenkins Pot Creation Logs

nginx-nomad-amd64-13_0_1.1.4:


nginx-nomad/nginx-nomad:
set-attribute -A persistent -V OFF
set-attribute -A no-rc-script -V ON
nginx-nomad/nginx-nomad.sh:
#!/bin/sh

ASSUME_ALWAYS_YES=yes pkg bootstrap
touch /etc/rc.conf
sysrc sendmail_enable="NONE"
pkg install -y nginx
echo "error_log /dev/stderr;" >> /usr/local/etc/nginx/nginx.conf
sed -i '' 's%#access_log  logs/access.log .*$%access_log /dev/stdout combined;%' /usr/local/etc/nginx/nginx.conf
pkg clean -y

nginx-nomad/nginx-nomad+1:
nginx-nomad/nginx-nomad+1.sh:

nginx-nomad/nginx-nomad+2:
nginx-nomad/nginx-nomad+2.sh:

nginx-nomad/nginx-nomad+3:
nginx-nomad/nginx-nomad+3.sh:
#!/bin/sh

dirs="/usr/share/bsdconfig /usr/share/doc /usr/share/dtrace /usr/share/examples /usr/share/man /usr/share/openssl /usr/share/sendmail /usr/share/pc-sysinstall /usr/libexec/bsdinstall /usr/libexec/bsdconfig /rescue /usr/tests /usr/lib32 /usr/lib/clang /usr/include /var/db/freebsd-update /var/db/etcupdate /boot"
usr_bin="c++ c++filt c89 c99 cc CC cpp clang clang-cpp clang-tblgen clang++ gdb gdbtui gdbserver ld ld.bfd ld.lld lldb llvm-objdump llvm-tblgen nm objcopy objdump strings strip"
usr_bin_glob="svnlite yp"

usr_sbin="dtrace"
usr_sbin_glob="bhyve boot yp"
rm -f /usr/lib/*.a
## Remove pkg stuff
rm -rf /var/db/pkg/*
rm -rf /usr/sbin/pkg
rm -rf /usr/local/sbin/pkg

for d in $dirs ; do
	rm -rf ${d}
done
(
	cd /usr/bin
	for f in $usr_bin ; do
		rm -f $f
	done
	for g in $usr_bin_glob ; do
		rm -rf ${g}*
	done
)
(
	cd /usr/sbin
	for g in $usr_sbin_glob ; do
		rm -rf ${g}*
	done
	rm -f $usr_sbin
)

nginx-nomad/nginx-nomad+4:
set-cmd -c "nginx -g 'daemon off;'"
nginx-nomad/nginx-nomad+4.sh:
Password:===>  Creating a new pot
===>  pot name : nginx-nomad-amd64-13_0
===>  type : single
===>  base : 13.0
===>  pot_base :
===>  level : 0
===>  network-type : public-bridge
===>  network-stack: ipv4
===>  ip : 10.192.0.3
===>  bridge :
===>  dns : inherit
===>  flavours : fbsd-update nginx-nomad nginx-nomad+1 nginx-nomad+2 nginx-nomad+3 nginx-nomad+4
===>  Fetching FreeBSD 13.0
===>  Extract the tarball
=====>  Flavour: fbsd-update
=====>  Starting nginx-nomad-amd64-13_0 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
defaultrouter: NO -> 10.192.0.1
===>  Starting the pot nginx-nomad-amd64-13_0
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:d6:67:24:65:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Tue May 11 12:22:24 UTC 2021
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp/fbsd-update.sh
=====>  Executing fbsd-update script on nginx-nomad-amd64-13_0
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update2.freebsd.org... done.
Fetching metadata signature for 13.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 13.0-RELEASE-p0.
No updates are available to install.
=====>  Stop the pot nginx-nomad-amd64-13_0
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/dev
=====>  Flavour: nginx-nomad
=====>  Executing nginx-nomad pot commands on nginx-nomad-amd64-13_0
=====>  Starting nginx-nomad-amd64-13_0 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
===>  Starting the pot nginx-nomad-amd64-13_0
add net default: gateway 10.192.0.1
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:4e:01:e2:31:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Tue May 11 12:22:31 UTC 2021
/usr/local/etc/pot/flavours/nginx-nomad.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp/nginx-nomad.sh
=====>  Executing nginx-nomad script on nginx-nomad-amd64-13_0
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Installing pkg-1.16.3...
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Extracting pkg-1.16.3: .......... done
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
sendmail_enable: NO -> NONE
Updating FreeBSD repository catalogue...
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Fetching meta.conf: . done
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] Fetching packagesite.txz: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 30362 packages processed.
All repositories are up to date.
Updating database digests format: . done
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nginx: 1.18.0_49,2
	pcre: 8.44

Number of packages to be installed: 2

The process will require 8 MiB more space.
2 MiB to be downloaded.
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching nginx-1.18.0_49,2.txz: .......... done
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching pcre-8.44.txz: .......... done
Checking integrity... done (0 conflicting)
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Installing pcre-8.44...
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting pcre-8.44: .......... done
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Installing nginx-1.18.0_49,2...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[nginx-nomad-amd64-13_0.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting nginx-1.18.0_49,2: .......... done
=====
Message from nginx-1.18.0_49,2:

--
Recent version of the NGINX introduces dynamic modules support.  In
FreeBSD ports tree this feature was enabled by default with the DSO
knob.  Several vendor's and third-party modules have been converted
to dynamic modules.  Unset the DSO knob builds an NGINX without
dynamic modules support.

To load a module at runtime, include the new `load_module'
directive in the main context, specifying the path to the shared
object file for the module, enclosed in quotation marks.  When you
reload the configuration or restart NGINX, the module is loaded in.
It is possible to specify a path relative to the source directory,
or a full path, please see
https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
http://nginx.org/en/docs/ngx_core_module.html#load_module for
details.

Default path for the NGINX dynamic modules is

/usr/local/libexec/nginx.
The following package files will be deleted:
	/var/cache/pkg/nginx-1.18.0_49,2.txz
	/var/cache/pkg/pcre-8.44~2c6a48da56.txz
	/var/cache/pkg/nginx-1.18.0_49,2~e601fa6720.txz
	/var/cache/pkg/pcre-8.44.txz
The cleanup will free 2 MiB
Deleting files: .... done
All done
=====>  Stop the pot nginx-nomad-amd64-13_0
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/dev
=====>  Flavour: nginx-nomad+1
=====>  Executing nginx-nomad+1 pot commands on nginx-nomad-amd64-13_0
=====>  No shell script available for the flavour nginx-nomad+1
=====>  Flavour: nginx-nomad+2
=====>  Executing nginx-nomad+2 pot commands on nginx-nomad-amd64-13_0
=====>  No shell script available for the flavour nginx-nomad+2
=====>  Flavour: nginx-nomad+3
=====>  Executing nginx-nomad+3 pot commands on nginx-nomad-amd64-13_0
=====>  Starting nginx-nomad-amd64-13_0 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
===>  Starting the pot nginx-nomad-amd64-13_0
add net default: gateway 10.192.0.1
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:40:11:27:27:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting syslogd.
Starting cron.

Tue May 11 12:23:05 UTC 2021
/usr/local/etc/pot/flavours/nginx-nomad+3.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp/nginx-nomad+3.sh
=====>  Executing nginx-nomad+3 script on nginx-nomad-amd64-13_0
=====>  Stop the pot nginx-nomad-amd64-13_0
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-13_0/m/dev
=====>  Flavour: nginx-nomad+4
=====>  Executing nginx-nomad+4 pot commands on nginx-nomad-amd64-13_0
=====>  No shell script available for the flavour nginx-nomad+4

nginx-nomad-amd64-12_2_1.1.4:


nginx-nomad/nginx-nomad:
set-attribute -A persistent -V OFF
set-attribute -A no-rc-script -V ON
nginx-nomad/nginx-nomad.sh:
#!/bin/sh

ASSUME_ALWAYS_YES=yes pkg bootstrap
touch /etc/rc.conf
sysrc sendmail_enable="NONE"
pkg install -y nginx
echo "error_log /dev/stderr;" >> /usr/local/etc/nginx/nginx.conf
sed -i '' 's%#access_log  logs/access.log .*$%access_log /dev/stdout combined;%' /usr/local/etc/nginx/nginx.conf
pkg clean -y

nginx-nomad/nginx-nomad+1:
nginx-nomad/nginx-nomad+1.sh:

nginx-nomad/nginx-nomad+2:
nginx-nomad/nginx-nomad+2.sh:

nginx-nomad/nginx-nomad+3:
nginx-nomad/nginx-nomad+3.sh:
#!/bin/sh

dirs="/usr/share/bsdconfig /usr/share/doc /usr/share/dtrace /usr/share/examples /usr/share/man /usr/share/openssl /usr/share/sendmail /usr/share/pc-sysinstall /usr/libexec/bsdinstall /usr/libexec/bsdconfig /rescue /usr/tests /usr/lib32 /usr/lib/clang /usr/include /var/db/freebsd-update /var/db/etcupdate /boot"
usr_bin="c++ c++filt c89 c99 cc CC cpp clang clang-cpp clang-tblgen clang++ gdb gdbtui gdbserver ld ld.bfd ld.lld lldb llvm-objdump llvm-tblgen nm objcopy objdump strings strip"
usr_bin_glob="svnlite yp"

usr_sbin="dtrace"
usr_sbin_glob="bhyve boot yp"
rm -f /usr/lib/*.a
## Remove pkg stuff
rm -rf /var/db/pkg/*
rm -rf /usr/sbin/pkg
rm -rf /usr/local/sbin/pkg

for d in $dirs ; do
	rm -rf ${d}
done
(
	cd /usr/bin
	for f in $usr_bin ; do
		rm -f $f
	done
	for g in $usr_bin_glob ; do
		rm -rf ${g}*
	done
)
(
	cd /usr/sbin
	for g in $usr_sbin_glob ; do
		rm -rf ${g}*
	done
	rm -f $usr_sbin
)

nginx-nomad/nginx-nomad+4:
set-cmd -c "nginx -g 'daemon off;'"
nginx-nomad/nginx-nomad+4.sh:
Password:===>  Creating a new pot
===>  pot name : nginx-nomad-amd64-12_2
===>  type : single
===>  base : 12.2
===>  pot_base :
===>  level : 0
===>  network-type : public-bridge
===>  network-stack: ipv4
===>  ip : 10.192.0.4
===>  bridge :
===>  dns : inherit
===>  flavours : fbsd-update nginx-nomad nginx-nomad+1 nginx-nomad+2 nginx-nomad+3 nginx-nomad+4
===>  Fetching FreeBSD 12.2
===>  Extract the tarball
=====>  Flavour: fbsd-update
=====>  Starting nginx-nomad-amd64-12_2 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
defaultrouter: NO -> 10.192.0.1
===>  Starting the pot nginx-nomad-amd64-12_2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:c6:a0:11:89:0b
	inet 10.192.0.4 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Tue May 11 12:24:44 UTC 2021
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp/fbsd-update.sh
=====>  Executing fbsd-update script on nginx-nomad-amd64-12_2
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 12.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 72 patches.....10....20....30....40....50....60....70. done.
Applying patches... done.
Fetching 1 files...  done.
The following files will be removed as part of updating to
12.2-RELEASE-p6:
/etc/ssl/certs/2c543cd1.0
/etc/ssl/certs/2e4eed3c.0
/etc/ssl/certs/480720ec.0
/etc/ssl/certs/7d0b38bd.0
/etc/ssl/certs/8867006a.0
/etc/ssl/certs/ad088e1d.0
/etc/ssl/certs/b204d74a.0
/etc/ssl/certs/ba89ed3b.0
/etc/ssl/certs/c089bbbd.0
/etc/ssl/certs/e2799e36.0
/usr/share/certs/trusted/GeoTrust_Global_CA.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/trusted/GeoTrust_Universal_CA.pem
/usr/share/certs/trusted/GeoTrust_Universal_CA_2.pem
/usr/share/certs/trusted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
/usr/share/certs/trusted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA_-_G2.pem
/usr/share/certs/trusted/thawte_Primary_Root_CA_-_G3.pem
The following files will be added as part of updating to
12.2-RELEASE-p6:
/etc/ssl/blacklisted/2c543cd1.0
/etc/ssl/blacklisted/2e4eed3c.0
/etc/ssl/blacklisted/480720ec.0
/etc/ssl/blacklisted/7d0b38bd.0
/etc/ssl/blacklisted/8867006a.0
/etc/ssl/blacklisted/ad088e1d.0
/etc/ssl/blacklisted/b204d74a.0
/etc/ssl/blacklisted/ba89ed3b.0
/etc/ssl/blacklisted/c089bbbd.0
/etc/ssl/blacklisted/e2799e36.0
/etc/ssl/certs/3fb36b73.0
/usr/share/certs/blacklisted/GeoTrust_Global_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority.pem
/usr/share/certs/blacklisted/GeoTrust_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA.pem
/usr/share/certs/blacklisted/GeoTrust_Universal_CA_2.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
/usr/share/certs/blacklisted/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G2.pem
/usr/share/certs/blacklisted/thawte_Primary_Root_CA_-_G3.pem
/usr/share/certs/trusted/NAVER_Global_Root_Certification_Authority.pem
The following files will be updated as part of updating to
12.2-RELEASE-p6:
/bin/freebsd-version
/lib/libcrypto.so.111
/lib/libzfs.so.3
/lib/libzfs_core.so.2
/lib/libzpool.so.2
/rescue/[
/rescue/bectl
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/unzstd
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/rescue/zstd
/rescue/zstdcat
/rescue/zstdmt
/sbin/ipfw
/sbin/rtsol
/sbin/zpool
/usr/bin/lldb
/usr/bin/zinject
/usr/bin/ztest
/usr/include/net/if_var.h
/usr/include/openssl/asn1err.h
/usr/include/sys/filedesc.h
/usr/include/sys/jail.h
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libpam.a
/usr/lib/libssl.a
/usr/lib/libssl.so.111
/usr/lib/libssl_p.a
/usr/lib/libzfs.a
/usr/lib/libzfs_core.a
/usr/lib/libzfs_core_p.a
/usr/lib/libzfs_p.a
/usr/lib/libzpool.a
/usr/lib/pam_login_access.so.6
/usr/sbin/freebsd-update
/usr/sbin/rtsold
/usr/sbin/zdb
/usr/sbin/zfsd
/usr/sbin/zhack
/usr/share/man/man2/jail.2.gz
/usr/share/man/man2/jail_attach.2.gz
/usr/share/man/man2/jail_get.2.gz
/usr/share/man/man2/jail_remove.2.gz
/usr/share/man/man2/jail_set.2.gz
/usr/share/zoneinfo/Africa/Accra
/usr/share/zoneinfo/Africa/Addis_Ababa
/usr/share/zoneinfo/Africa/Algiers
/usr/share/zoneinfo/Africa/Asmara
/usr/share/zoneinfo/Africa/Asmera
/usr/share/zoneinfo/Africa/Bangui
/usr/share/zoneinfo/Africa/Brazzaville
/usr/share/zoneinfo/Africa/Casablanca
/usr/share/zoneinfo/Africa/Dar_es_Salaam
/usr/share/zoneinfo/Africa/Djibouti
/usr/share/zoneinfo/Africa/Douala
/usr/share/zoneinfo/Africa/El_Aaiun
/usr/share/zoneinfo/Africa/Juba
/usr/share/zoneinfo/Africa/Kampala
/usr/share/zoneinfo/Africa/Kinshasa
/usr/share/zoneinfo/Africa/Lagos
/usr/share/zoneinfo/Africa/Libreville
/usr/share/zoneinfo/Africa/Luanda
/usr/share/zoneinfo/Africa/Malabo
/usr/share/zoneinfo/Africa/Mogadishu
/usr/share/zoneinfo/Africa/Nairobi
/usr/share/zoneinfo/Africa/Niamey
/usr/share/zoneinfo/Africa/Porto-Novo
/usr/share/zoneinfo/America/Belize
/usr/share/zoneinfo/America/Dawson
/usr/share/zoneinfo/America/Grand_Turk
/usr/share/zoneinfo/America/Nassau
/usr/share/zoneinfo/America/Whitehorse
/usr/share/zoneinfo/Antarctica/Casey
/usr/share/zoneinfo/Antarctica/Macquarie
/usr/share/zoneinfo/Asia/Gaza
/usr/share/zoneinfo/Asia/Hebron
/usr/share/zoneinfo/Asia/Jerusalem
/usr/share/zoneinfo/Asia/Tel_Aviv
/usr/share/zoneinfo/Atlantic/Bermuda
/usr/share/zoneinfo/Australia/ACT
/usr/share/zoneinfo/Australia/Adelaide
/usr/share/zoneinfo/Australia/Brisbane
/usr/share/zoneinfo/Australia/Broken_Hill
/usr/share/zoneinfo/Australia/Canberra
/usr/share/zoneinfo/Australia/Currie
/usr/share/zoneinfo/Australia/Darwin
/usr/share/zoneinfo/Australia/Eucla
/usr/share/zoneinfo/Australia/Hobart
/usr/share/zoneinfo/Australia/Lindeman
/usr/share/zoneinfo/Australia/Melbourne
/usr/share/zoneinfo/Australia/NSW
/usr/share/zoneinfo/Australia/North
/usr/share/zoneinfo/Australia/Perth
/usr/share/zoneinfo/Australia/Queensland
/usr/share/zoneinfo/Australia/South
/usr/share/zoneinfo/Australia/Sydney
/usr/share/zoneinfo/Australia/Tasmania
/usr/share/zoneinfo/Australia/Victoria
/usr/share/zoneinfo/Australia/West
/usr/share/zoneinfo/Australia/Yancowinna
/usr/share/zoneinfo/Canada/Yukon
/usr/share/zoneinfo/Europe/Budapest
/usr/share/zoneinfo/Europe/Monaco
/usr/share/zoneinfo/Europe/Paris
/usr/share/zoneinfo/Europe/Volgograd
/usr/share/zoneinfo/Indian/Antananarivo
/usr/share/zoneinfo/Indian/Comoro
/usr/share/zoneinfo/Indian/Mahe
/usr/share/zoneinfo/Indian/Mayotte
/usr/share/zoneinfo/Israel
/usr/share/zoneinfo/Pacific/Efate
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/zone.tab
/usr/share/zoneinfo/zone1970.tab
Installing updates...Scanning //usr/share/certs/blacklisted for certificates...
Scanning //usr/share/certs/trusted for certificates...
 done.
=====>  Stop the pot nginx-nomad-amd64-12_2
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/dev
=====>  Flavour: nginx-nomad
=====>  Executing nginx-nomad pot commands on nginx-nomad-amd64-12_2
=====>  Starting nginx-nomad-amd64-12_2 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
===>  Starting the pot nginx-nomad-amd64-12_2
add net default: gateway 10.192.0.1
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:8b:fe:7f:b8:0b
	inet 10.192.0.4 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.

Tue May 11 12:25:44 UTC 2021
/usr/local/etc/pot/flavours/nginx-nomad.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp/nginx-nomad.sh
=====>  Executing nginx-nomad script on nginx-nomad-amd64-12_2
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Installing pkg-1.16.3...
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Extracting pkg-1.16.3: .......... done
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
sendmail_enable: NO -> NONE
Updating FreeBSD repository catalogue...
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Fetching meta.conf: . done
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] Fetching packagesite.txz: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 30502 packages processed.
All repositories are up to date.
Updating database digests format: . done
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nginx: 1.18.0_49,2
	pcre: 8.44

Number of packages to be installed: 2

The process will require 8 MiB more space.
2 MiB to be downloaded.
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Fetching nginx-1.18.0_49,2.txz: .......... done
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Fetching pcre-8.44.txz: .......... done
Checking integrity... done (0 conflicting)
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Installing pcre-8.44...
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [1/2] Extracting pcre-8.44: .......... done
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Installing nginx-1.18.0_49,2...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[nginx-nomad-amd64-12_2.vsf00001.cpt.za.honeyguide.net] [2/2] Extracting nginx-1.18.0_49,2: .......... done
=====
Message from nginx-1.18.0_49,2:

--
Recent version of the NGINX introduces dynamic modules support.  In
FreeBSD ports tree this feature was enabled by default with the DSO
knob.  Several vendor's and third-party modules have been converted
to dynamic modules.  Unset the DSO knob builds an NGINX without
dynamic modules support.

To load a module at runtime, include the new `load_module'
directive in the main context, specifying the path to the shared
object file for the module, enclosed in quotation marks.  When you
reload the configuration or restart NGINX, the module is loaded in.
It is possible to specify a path relative to the source directory,
or a full path, please see
https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
http://nginx.org/en/docs/ngx_core_module.html#load_module for
details.

Default path for the NGINX dynamic modules is

/usr/local/libexec/nginx.
The following package files will be deleted:
	/var/cache/pkg/nginx-1.18.0_49,2.txz
	/var/cache/pkg/nginx-1.18.0_49,2~1125bd2fec.txz
	/var/cache/pkg/pcre-8.44.txz
	/var/cache/pkg/pcre-8.44~7ffc034b09.txz
The cleanup will free 2 MiB
Deleting files: .... done
All done
=====>  Stop the pot nginx-nomad-amd64-12_2
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/dev
=====>  Flavour: nginx-nomad+1
=====>  Executing nginx-nomad+1 pot commands on nginx-nomad-amd64-12_2
=====>  No shell script available for the flavour nginx-nomad+1
=====>  Flavour: nginx-nomad+2
=====>  Executing nginx-nomad+2 pot commands on nginx-nomad-amd64-12_2
=====>  No shell script available for the flavour nginx-nomad+2
=====>  Flavour: nginx-nomad+3
=====>  Executing nginx-nomad+3 pot commands on nginx-nomad-amd64-12_2
=====>  Starting nginx-nomad-amd64-12_2 pot for the initial bootstrap
=====>  mount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
===>  Starting the pot nginx-nomad-amd64-12_2
add net default: gateway 10.192.0.1
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:94:9a:16:44:0b
	inet 10.192.0.4 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Updating /var/run/os-release done.
Starting cron.

Tue May 11 12:26:16 UTC 2021
/usr/local/etc/pot/flavours/nginx-nomad+3.sh -> /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp/nginx-nomad+3.sh
=====>  Executing nginx-nomad+3 script on nginx-nomad-amd64-12_2
=====>  Stop the pot nginx-nomad-amd64-12_2
=====>  Remove epair0[a|b] network interfaces
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/tmp
=====>  unmount /mnt/data/pot/jails/nginx-nomad-amd64-12_2/m/dev
=====>  Flavour: nginx-nomad+4
=====>  Executing nginx-nomad+4 pot commands on nginx-nomad-amd64-12_2
=====>  No shell script available for the flavour nginx-nomad+4

This site © Honeyguide Group (Pty) Ltd, all the hosted software their respective license owners 2020 - 2021 - Disclaimer