Overview
This is a flavour containing the hugo
website builder and nginx, a webserver.
This is a minimal config with no SSL configured as this is expected to be handled by a reverse proxy.
It has been put together specifically for use by the https://potluck.honeyguide.net website, however it could be utilised for any site.
You can adjust this flavour and rebuild your own pot image if you have other requirements.
Disclaimer
It is advised to run this image behind a proxy. The directory permissions on the hugo folder are very permissive to allow a jenkins user in another pot image to do stuff. Run the hugo-nginx and jenkins pot images behind a proxy with access control.
Installation
- Create a ZFS data set on the parent system beforehand
zfs create -o mountpoint=/mnt/<sitename> zroot/jaildata_hugo
- Create your local jail from the image or the flavour files.
- Clone the local jail
- Mount in the ZFS data set you created:
pot mount-in -p <jailname> -d /mnt/<sitename> -m /mnt
- Optionally copy in jenkins user SSH public key:
pot copy-in -p <jailname> -s /path/to/jenkins/id_rsa.pub -d /root/jenkins.pub
- Optionally copy in customfile.tgz:
pot copy-in -p <jailname> -s /path/to/customfile.tgz -d /root/customfile.tgz
- Optionally export the ports after creating the jail:
pot export-ports -p <jailname> -e 80:80
- Adjust to your environment:
sudo pot set-env -p <jailname> \ -E NODENAME=name \ -E DATACENTER=datacenter \ -E CONSULSERVERS=<comma-deliminated list of consul servers> \ -E SERVERNAME=<fqdn> \ -E IP=<IP of potbuilder VM> \ -E SITENAME=<site name> \ -E GITEMAIL=<git user email> \ -E GITUSER=<git username> \ [ -E CUSTOMDIR=<custom dir inside huge sitename> ] \ [ -E CUSTOMFILE=1 -E IMPORTKEYS=1 ] \ [ -E THEMEADJUST=1 ] \ [ -E BUCKETHOST=<ip or hostname S3 host> ] \ [ -E BUCKETUSER=<s3 username> ] \ [ -E BUCKETPASS=<s3 password> ] \ [ -E BUCKETNAME=<name of bucket> ] \ [ -E BUCKETCRON=<any value enables cron sync to S3 bucket> ] \ [ -E REMOTELOG=<IP syslog-ng server> ]
The NODENAME parameter is the name of the node.
The DATACENTER parameter is the name of the datacenter. The REGION parameter is to set “east” or “west” or “global” (default).
The CONSULSERVERS parameter is a comma-deliminated list of IP addresses for the consul server or cluster. Do not include spaces!
e.g. CONSULSERVERS="10.0.0.2"
or CONSULSERVERS="10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5,10.0.0.6"
The GOSSIPKEY parameter is the gossip encryption key for consul agent.
The SERVERNAME parameter is the fully qualified domain name to configure nginx with.
The IP parameter is the IP address of the pot image.
The SITENAME parameter is the name of the hugo site and affects directory naming.
The GITEMAIL parameter is the email address to use for a git username.
The GITUSER parameter is the git username associated with the email address.
The optional CUSTOMDIR parameter is a custom directory to create inside the hugo installation in SITENAME.
The optional CUSTOMFILE parameter, if set to 1, will copy in your own customfile.tgz which will be extracted to /mnt/{SITENAME}/
. This would be a custom config.toml, static microblog posts or about.md pages and images for static dir.
The optional IMPORTKEYS parameter, if set to 1, will add the copied in pubkey to authenticated_keys. Copy in the applicable id_rsa.pub as part of the pot setup and start process.
The optional THEMEADJUST parameter, if set to 1, will make changes specific to http://potluck.honeyguide.net.
The optional parameters BUCKETHOST, BUCKETUSER, BUCKETPASS and BUCKETNAME refer to credentials for minio-client. This feature is not fully developed yet.
The optional parameter BUCKETCRON will enable a cron job to sync files to S3 bucket if set to any value.
The optional REMOTELOG parameter is for a remote syslog service, such as via the loki
or beast-of-argh
images on potluck site.
Usage
Start hugo manually (not necessary):
cd /mnt/sitename && hugo
To access hugo
:
- http://hugo-host-name
The default site is blank.
customfile.tgz
If you wish to include a custom setup for hugo, you can create a file customfile.tgz
with the following folder structure:
./config.toml
./static
./static/mylogo.png
./content/info.md
./content/micro/news.md
./content/micro/about.md
Make sure to copy-in to /root/customfile.tgz and set -E CUSTOMFILE=1
in the parameters.
Persistent storage
To use persistent storage make sure to mount-in a pre-configured data set to /mnt/(your-sitename).
Getting Started
- Image Readme
- How To Use The Ready-Made Image
- Alternatively: Create a Jail With This Flavour Yourself
- Version History
- Manual Image Download Links
- Jenkins Pot Creation Logs
How To Use The Ready-Made Image
FreeBSD 14.1:
pot import -p hugo-nginx-amd64-14_1 -t 0.20.3 -U https://potluck.honeyguide.net/hugo-nginx
With Signify Verification:
fetch https://potluck.honeyguide.net/potluck.pub; pot import -p hugo-nginx-amd64-14_1 -t 0.20.3 -C potluck.pub -U https://potluck.honeyguide.net/hugo-nginx
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 hugo-nginx-amd64-14_1 -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/hugo-nginx 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. 14.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
0.20
- Version bump for new base image
- Enable milliseconds in syslog-ng for all log timestamps
- Update syslog-ng config to use modern config options
0.19
- Version bump for new base image 14.1
- Extra steps to trim image size
- Fix issue with deprecated .Site.RSSLink
0.18
- Version bump for new base image
0.17
- Version bump for new base image
0.16
- Version bump for new base image
0.15
- Version bump for new base image
0.14
- Version bump for new base image
- Fix node_exporter zfs issue
- Add parameter to run mirrorsync script via cron
0.13
- Version bump for new base image
- FBSD14 base image
0.12
- Version bump for new base image
- Adjust minio-client client.json to config.json
- Add mirror to S3 script
- Fix typo in mkdir command
- Fix typo in local minio name myminio
- Update custom minio scripts
- Add package tmux
- Update minio scripts
- Refined minio scripts
0.11
- Version bump for new base image
- Add minio-client
0.10
- Version bump for new base image
0.9
- Version bump for new base image
0.8
- Version bump for new base image
0.7
- Version bump for new base image
- Fix syslog-ng problems for 4.2 version, remove stats_freq option
- Add local unbound and consul DNS services
- Update README with consul DNS info
- fix local_unbound dns resolution with missing parameters for access control
- Disable consul DNS option with local_unbound as is only practical in VNET jails with a localhost
0.6
- Version bump for new base image
- Rebuild to match jenkins versioning
0.5
- Version bump for new base image
- Signified
- Fix nologin shell for nodeexport user
0.4
- Version increment for new feature
- Pass in consul servers as a comma-deliminated list
0.3
- Version bump for new base image
- Update syslog-ng.conf stats_freq(0); -> stats(freq(0));
- Fix goaccess issues
0.2
- Version bump for new base image
- Fix documentation for missing parameters
- Add ports to consul config
- Adjust hugo-pre step to create new hugo site if not existing
- Fix git fatal error by moving step to add safe directory before git init step
- Adjust theme copy step
- Remove call to non-existent script configure-permissions.sh
- Bug-fixing git and hugo commands
- Fix typos in bug-fixes
- Fix goaccess config file location
- Include goaccess in pkg install
- Fix ongoing goaccess issues
0.1
- Version bump for new base image
- New changelog format
0.0.26
- Adding ‘or true’ where applicable for hugo steps
0.0.25
- Version bump for rebuild
0.0.24
- Add missing node_exporter installation
0.0.23
- Rebuild to fix consul error, fix consul.hcl for new format
0.0.22
- Version bump for rebuild to fix missing images on potluck site
0.0.21
- Version bump for p3 rebuild
- Add checklist
0.0.20
- Version bump for new base image, cook script
0.0.19
- Version bump for FreeBSD-13.1 image
0.0.18
- Adding customdir to gitignore and other tweaks
0.0.17
- Starting nginx before configuring goaccess. Setting git safedirectory
0.0.16
- Adjusting goaccess for custom goaccess.conf file
0.0.15
- Adding syslog-ng and remotelogs
0.0.14
- More permissions adjustment
0.0.13
- Permissions adjustments on mount in
0.0.12
- Addition of CUSTOMFILE parameter to extract customfile.tgz into SITENAME directory
0.0.11
- Rebuild for FreeBSD 12_3 and 13 & pot 13
0.0.10
- Fixing SSH access from jenkins or other
0.0.9
- Fixing directory permissions third time
0.0.8
- Fixing directory permissions second time
0.0.7
- Fixing directory perms on some hugo directories for remote user write access
0.0.6
- More adjustment to order of steps and removal unnecessary items
0.0.5
- Hugo site init wipes out a necessary directory creation, changing order of steps
0.0.4
- Including sample blog and microblog post generation
0.0.3
- Triggering another rebuild
0.0.2
- Triggering a rebuild
0.0.1
- First hugo-nginx pot image specific to the potluck.honeyguide.net site usage
0.0.0
- Initiate file
These images were built on Wed Nov 6 20:22:15 UTC 2024
Manual Image Download Links
hugo-nginx-amd64-14_1_0.20.3.xz (
)
hugo-nginx-amd64-14_1_0.20.3.xz.skein (
)
hugo-nginx-amd64-14_1_0.20.3.xz.skein.sig (
)
hugo-nginx-amd64-14_1_0.20.3.xz.meta (
)
Jenkins Pot Creation Logs
hugo-nginx-amd64-14_1_0.20.3:
hugo-nginx/hugo-nginx:
copy-in -s /usr/local/etc/pot/flavours/hugo-nginx.d/local -d /root/.pot_local
hugo-nginx/hugo-nginx.sh:
#!/bin/sh
# Based on POTLUCK TEMPLATE v3.0
# Altered by Michael Gmelin
#
# EDIT THE FOLLOWING FOR NEW FLAVOUR:
# 1. RUNS_IN_NOMAD - true or false
# 2. If RUNS_IN_NOMAD is false, can delete the <flavour>+4 file, else
# make sure pot create command doesn't include it
# 3. Create a matching <flavour> file with this <flavour>.sh file that
# contains the copy-in commands for the config files from <flavour>.d/
# Remember that the package directories don't exist yet, so likely copy
# to /root
# 4. Adjust package installation between BEGIN & END PACKAGE SETUP
# 5. Adjust jail configuration script generation between BEGIN & END COOK
# Configure the config files that have been copied in where necessary
# Set this to true if this jail flavour is to be created as a nomad
# (i.e. blocking) jail.
# You can then query it in the cook script generation below and the script
# is installed appropriately at the end of this script
RUNS_IN_NOMAD=false
# set the cook log path/filename
COOKLOG=/var/log/cook.log
# check if cooklog exists, create it if not
if [ ! -e $COOKLOG ]
then
echo "Creating $COOKLOG" | tee -a $COOKLOG
else
echo "WARNING $COOKLOG already exists" | tee -a $COOKLOG
fi
date >> $COOKLOG
# -------------------- COMMON ---------------
STEPCOUNT=0
step() {
STEPCOUNT=$(("$STEPCOUNT" + 1))
STEP="$*"
echo "Step $STEPCOUNT: $STEP" | tee -a $COOKLOG
}
exit_ok() {
trap - EXIT
exit 0
}
FAILED=" failed"
exit_error() {
STEP="$*"
FAILED=""
exit 1
}
set -e
trap 'echo ERROR: $STEP$FAILED | (>&2 tee -a $COOKLOG)' EXIT
# -------------- BEGIN PACKAGE SETUP -------------
step "Bootstrap package repo"
mkdir -p /usr/local/etc/pkg/repos
# only modify repo if not already done in base image
# shellcheck disable=SC2016
test -e /usr/local/etc/pkg/repos/FreeBSD.conf || \
echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly" }' \
>/usr/local/etc/pkg/repos/FreeBSD.conf
ASSUME_ALWAYS_YES=yes pkg bootstrap
step "Touch /etc/rc.conf"
touch /etc/rc.conf
# this is important, otherwise running /etc/rc from cook will
# overwrite the IP address set in tinirc
step "Remove ifconfig_epair0b from config"
# shellcheck disable=SC2015
sysrc -cq ifconfig_epair0b && sysrc -x ifconfig_epair0b || true
step "Disable sendmail"
service sendmail onedisable || true
step "Enable SSH"
service sshd enable || true
step "Create /usr/local/etc/rc.d"
mkdir -p /usr/local/etc/rc.d
step "Clean freebsd-update"
rm -rf /var/db/freebsd-update
mkdir -p /var/db/freebsd-update
# we need consul for consul agent
step "Install package consul"
pkg install -y consul
step "Install package openssl"
pkg install -y openssl
step "Install package sudo"
pkg install -y sudo
# necessary if installing curl now
step "Install package ca_root_nss"
pkg install -y ca_root_nss
step "Install package curl"
pkg install -y curl
step "Install package jq"
pkg install -y jq
step "Install package jo"
pkg install -y jo
step "Install package nano"
pkg install -y nano
step "Install package bash"
pkg install -y bash
step "Install package rsync"
pkg install -y rsync
step "Install package git"
pkg install -y git
step "Install package nginx"
pkg install -y nginx
step "Install package gohugo"
pkg install -y gohugo
step "Install package goaccess"
pkg install -y goaccess
step "Install package node_exporter"
pkg install -y node_exporter
step "Install package syslog-ng"
pkg install -y syslog-ng
step "Install package minio-client"
pkg install -y minio-client
step "Install package tmux"
pkg install -y tmux
step "Clean package installation"
pkg autoremove -y
pkg clean -ay
# -------------- END PACKAGE SETUP -------------
#
# Now generate the run command script "cook"
# It configures the system on the first run by creating the config file(s)
# On subsequent runs, it only starts sleeps (if nomad-jail) or simply exits
#
# this runs when image boots
# ----------------- BEGIN COOK ------------------
step "Clean cook artifacts"
rm -rf /usr/local/bin/cook /usr/local/share/cook
step "Install pot local"
tar -C /root/.pot_local -cf - . | tar -C /usr/local -xf -
rm -rf /root/.pot_local
step "Set file ownership on cook scripts"
chown -R root:wheel /usr/local/bin/cook /usr/local/share/cook
chmod 755 /usr/local/share/cook/bin/*
# ----------------- END COOK ------------------
# ---------- NO NEED TO EDIT BELOW ------------
step "Make cook script executable"
if [ -e /usr/local/bin/cook ]
then
echo "setting executable bit on /usr/local/bin/cook" | tee -a $COOKLOG
chmod u+x /usr/local/bin/cook
else
exit_error "there is no /usr/local/bin/cook to make executable"
fi
#
# There are two ways of running a pot jail: "Normal", non-blocking mode and
# "Nomad", i.e. blocking mode (the pot start command does not return until
# the jail is stopped).
# For the normal mode, we create a /usr/local/etc/rc.d script that starts
# the "cook" script generated above each time, for the "Nomad" mode, the cook
# script is started by pot (configuration through flavour file), therefore
# we do not need to do anything here.
#
# Create rc.d script for "normal" mode:
step "Create rc.d script to start cook"
echo "creating rc.d script to start cook" | tee -a $COOKLOG
# shellcheck disable=SC2016
echo '#!/bin/sh
#
# PROVIDE: cook
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
. /etc/rc.subr
name="cook"
rcvar="cook_enable"
load_rc_config $name
: ${cook_enable:="NO"}
: ${cook_env:=""}
command="/usr/local/bin/cook"
command_args=""
run_rc_command "$1"
' > /usr/local/etc/rc.d/cook
step "Make rc.d script to start cook executable"
if [ -e /usr/local/etc/rc.d/cook ]
then
echo "Setting executable bit on cook rc file" | tee -a $COOKLOG
chmod u+x /usr/local/etc/rc.d/cook
else
exit_error "/usr/local/etc/rc.d/cook does not exist"
fi
if [ "$RUNS_IN_NOMAD" != "true" ]
then
step "Enable cook service"
# This is a non-nomad (non-blocking) jail, so we need to make sure the script
# gets started when the jail is started:
# Otherwise, /usr/local/bin/cook will be set as start script by the pot
# flavour
echo "enabling cook" | tee -a $COOKLOG
service cook enable
fi
# -------------------- DONE ---------------
exit_ok
hugo-nginx/hugo-nginx+1:
hugo-nginx/hugo-nginx+1.sh:
hugo-nginx/hugo-nginx+2:
hugo-nginx/hugo-nginx+2.sh:
hugo-nginx/hugo-nginx+3:
hugo-nginx/hugo-nginx+3.sh:
hugo-nginx/hugo-nginx+4:
hugo-nginx/hugo-nginx+4.sh:
=====> Create conf dir (/mnt/srv/pot/jails/hugo-nginx-amd64-14_1/conf)
=====> Cloning freebsd-potluck-amd64-14_1_0_0_31 with snap
=====> clone zroot/srv/pot/jails/freebsd-potluck-amd64-14_1_0_0_31/m@1730306249 into zroot/srv/pot/jails/hugo-nginx-amd64-14_1/m
=====> Flavour: fbsd-update
=====> Starting hugo-nginx-amd64-14_1 pot for the initial bootstrap
=====> mount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===> Starting the pot hugo-nginx-amd64-14_1
=====> Pot hugo-nginx-amd64-14_1 jail params are: allow.set_hostname=false allow.raw_sockets allow.socket_af allow.chflags exec.clean mount.devfs enforce_statfs=2 sysvshm=new sysvsem=new sysvmsg=new children.max=0 devfs_ruleset=4 stop.timeout=10 name=hugo-nginx-amd64-14_1 host.hostname=hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net osrelease=14.1-RELEASE-p6 path=/mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m persist vnet vnet.interface=epair0b
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 /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:ff:95:00:17: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
Clearing /tmp (X related).
Updating /var/run/os-release done.
Creating and/or trimming log files.
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting cron.
Wed Nov 6 20:18:47 UTC 2024
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp/fbsd-update.sh
=====> Executing fbsd-update script on hugo-nginx-amd64-14_1
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 14.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
No updates needed to update system to 14.1-RELEASE-p6.
No updates are available to install.
=====> Stop the pot hugo-nginx-amd64-14_1
=====> Remove p4672bcf2597d4 epair network interfaces
=====> unmount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
=====> unmount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/dev
=====> Flavour: hugo-nginx
=====> Executing hugo-nginx pot commands on hugo-nginx-amd64-14_1
=====> mount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
=====> Source /usr/local/etc/pot/flavours/hugo-nginx.d/local copied in the pot hugo-nginx-amd64-14_1
=====> unmount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
=====> /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/dev is already unmounted
=====> Starting hugo-nginx-amd64-14_1 pot for the initial bootstrap
=====> mount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===> Starting the pot hugo-nginx-amd64-14_1
=====> Pot hugo-nginx-amd64-14_1 jail params are: allow.set_hostname=false allow.raw_sockets allow.socket_af allow.chflags exec.clean mount.devfs enforce_statfs=2 sysvshm=new sysvsem=new sysvmsg=new children.max=0 devfs_ruleset=4 stop.timeout=10 name=hugo-nginx-amd64-14_1 host.hostname=hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net osrelease=14.1-RELEASE-p6 path=/mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m persist vnet vnet.interface=epair0b
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 /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:5a:27:68:57: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
Clearing /tmp (X related).
Updating /var/run/os-release done.
Creating and/or trimming log files.
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting cron.
Wed Nov 6 20:19:20 UTC 2024
/usr/local/etc/pot/flavours/hugo-nginx.sh -> /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp/hugo-nginx.sh
=====> Executing hugo-nginx script on hugo-nginx-amd64-14_1
WARNING /var/log/cook.log already exists
Step 1: Bootstrap package repo
pkg already bootstrapped at /usr/local/sbin/pkg
Step 2: Touch /etc/rc.conf
Step 3: Remove ifconfig_epair0b from config
Step 4: Disable sendmail
sendmail disabled in /etc/rc.conf
sendmail_submit disabled in /etc/rc.conf
sendmail_msp_queue disabled in /etc/rc.conf
Step 5: Enable SSH
sshd enabled in /etc/rc.conf
Step 6: Create /usr/local/etc/rc.d
Step 7: Clean freebsd-update
Step 8: Install package consul
Updating FreeBSD repository catalogue...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] Fetching data.pkg: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 35518 packages processed.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
consul: 1.19.2
Number of packages to be installed: 1
The process will require 124 MiB more space.
24 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Fetching consul-1.19.2.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Installing consul-1.19.2...
===> Creating groups
Creating group 'consul' with gid '469'
===> Creating users
Creating user 'consul' with uid '469'
===> Creating homedir(s)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Extracting consul-1.19.2: ..... done
Step 9: Install package openssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 10: Install package sudo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 11: Install package ca_root_nss
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 12: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 13: Install package jq
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 14: Install package jo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 15: Install package nano
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 16: Install package bash
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 17: Install package rsync
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 18: Install package git
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 26 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
expat: 2.6.3
git: 2.46.2
libffi: 3.4.6
mpdecimal: 4.0.0
p5-Authen-SASL: 2.17
p5-CGI: 4.66
p5-Clone: 0.47
p5-Digest-HMAC: 1.04
p5-Encode-Locale: 1.05
p5-Error: 0.17029
p5-GSSAPI: 0.28_2
p5-HTML-Parser: 3.83
p5-HTML-Tagset: 3.24
p5-HTTP-Date: 6.06
p5-HTTP-Message: 6.46
p5-IO-HTML: 1.004
p5-IO-Socket-IP: 0.42
p5-IO-Socket-SSL: 2.089
p5-LWP-MediaTypes: 6.04
p5-Mozilla-CA: 20240924
p5-Net-SSLeay: 1.94
p5-TimeDate: 2.33,1
p5-URI: 5.29
pcre2: 10.43
perl5: 5.36.3_2
python311: 3.11.10
Number of packages to be installed: 26
The process will require 311 MiB more space.
52 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/26] Fetching p5-Net-SSLeay-1.94.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/26] Fetching p5-IO-Socket-SSL-2.089.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/26] Fetching p5-HTTP-Date-6.06.pkg: .. done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/26] Fetching mpdecimal-4.0.0.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/26] Fetching p5-GSSAPI-0.28_2.pkg: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/26] Fetching p5-IO-Socket-IP-0.42.pkg: ...... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/26] Fetching p5-URI-5.29.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/26] Fetching p5-CGI-4.66.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/26] Fetching p5-Encode-Locale-1.05.pkg: .... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/26] Fetching perl5-5.36.3_2.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [11/26] Fetching p5-HTML-Parser-3.83.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [12/26] Fetching p5-Mozilla-CA-20240924.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [13/26] Fetching p5-LWP-MediaTypes-6.04.pkg: ... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [14/26] Fetching pcre2-10.43.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [15/26] Fetching libffi-3.4.6.pkg: ........ done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [16/26] Fetching p5-TimeDate-2.33,1.pkg: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [17/26] Fetching p5-IO-HTML-1.004.pkg: .. done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [18/26] Fetching p5-Clone-0.47.pkg: .. done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [19/26] Fetching p5-Digest-HMAC-1.04.pkg: ... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [20/26] Fetching p5-Error-0.17029.pkg: .... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [21/26] Fetching p5-HTML-Tagset-3.24.pkg: .. done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [22/26] Fetching expat-2.6.3.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [23/26] Fetching p5-HTTP-Message-6.46.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [24/26] Fetching git-2.46.2.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [25/26] Fetching python311-3.11.10.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [26/26] Fetching p5-Authen-SASL-2.17.pkg: ......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/26] Installing perl5-5.36.3_2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/26] Extracting perl5-5.36.3_2: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/26] Installing p5-TimeDate-2.33,1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/26] Extracting p5-TimeDate-2.33,1: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/26] Installing p5-HTTP-Date-6.06...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/26] Extracting p5-HTTP-Date-6.06: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/26] Installing p5-URI-5.29...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/26] Extracting p5-URI-5.29: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/26] Installing p5-Encode-Locale-1.05...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/26] Extracting p5-Encode-Locale-1.05: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/26] Installing p5-LWP-MediaTypes-6.04...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/26] Extracting p5-LWP-MediaTypes-6.04: ........ done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/26] Installing p5-IO-HTML-1.004...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/26] Extracting p5-IO-HTML-1.004: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/26] Installing p5-Clone-0.47...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/26] Extracting p5-Clone-0.47: ......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/26] Installing p5-HTML-Tagset-3.24...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/26] Extracting p5-HTML-Tagset-3.24: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/26] Installing p5-HTTP-Message-6.46...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/26] Extracting p5-HTTP-Message-6.46: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [11/26] Installing p5-Net-SSLeay-1.94...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [11/26] Extracting p5-Net-SSLeay-1.94: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [12/26] Installing mpdecimal-4.0.0...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [12/26] Extracting mpdecimal-4.0.0: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [13/26] Installing p5-GSSAPI-0.28_2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [13/26] Extracting p5-GSSAPI-0.28_2: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [14/26] Installing p5-IO-Socket-IP-0.42...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [14/26] Extracting p5-IO-Socket-IP-0.42: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [15/26] Installing p5-HTML-Parser-3.83...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [15/26] Extracting p5-HTML-Parser-3.83: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [16/26] Installing p5-Mozilla-CA-20240924...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [16/26] Extracting p5-Mozilla-CA-20240924: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [17/26] Installing libffi-3.4.6...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [17/26] Extracting libffi-3.4.6: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [18/26] Installing p5-Digest-HMAC-1.04...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [18/26] Extracting p5-Digest-HMAC-1.04: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [19/26] Installing p5-IO-Socket-SSL-2.089...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [19/26] Extracting p5-IO-Socket-SSL-2.089: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [20/26] Installing p5-CGI-4.66...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [20/26] Extracting p5-CGI-4.66: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [21/26] Installing pcre2-10.43...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [21/26] Extracting pcre2-10.43: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [22/26] Installing p5-Error-0.17029...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [22/26] Extracting p5-Error-0.17029: ......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [23/26] Installing expat-2.6.3...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [23/26] Extracting expat-2.6.3: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [24/26] Installing python311-3.11.10...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [24/26] Extracting python311-3.11.10: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [25/26] Installing p5-Authen-SASL-2.17...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [25/26] Extracting p5-Authen-SASL-2.17: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [26/26] Installing git-2.46.2...
===> Creating groups
Creating group 'git_daemon' with gid '964'
===> Creating users
Creating user 'git_daemon' with uid '964'
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [26/26] Extracting git-2.46.2: .......... done
=====
Message from python311-3.11.10:
--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
py311-gdbm databases/py-gdbm@py311
py311-sqlite3 databases/py-sqlite3@py311
py311-tkinter x11-toolkits/py-tkinter@py311
=====
Message from git-2.46.2:
--
If you installed the GITWEB option please follow these instructions:
In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.
All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
/usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
/usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.
If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
Step 19: Install package nginx
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
nginx: 1.26.2_5,3
Number of packages to be installed: 1
The process will require 2 MiB more space.
558 KiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Fetching nginx-1.26.2_5,3.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Installing nginx-1.26.2_5,3...
===> Creating groups
Using existing group 'www'
===> Creating users
Using existing user 'www'
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Extracting nginx-1.26.2_5,3: .......... done
=====
Message from nginx-1.26.2_5,3:
--
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.
Step 20: Install package gohugo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 10 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
giflib: 5.2.2
gohugo: 0.135.0,1
jbigkit: 2.1_3
jpeg-turbo: 3.0.4
lerc: 4.0.0
libdeflate: 1.22
libsass: 3.6.6
png: 1.6.44
tiff: 4.6.0
webp: 1.4.0_1
Number of packages to be installed: 10
The process will require 103 MiB more space.
21 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/10] Fetching png-1.6.44.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/10] Fetching jpeg-turbo-3.0.4.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/10] Fetching gohugo-0.135.0,1.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/10] Fetching giflib-5.2.2.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/10] Fetching jbigkit-2.1_3.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/10] Fetching webp-1.4.0_1.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/10] Fetching libsass-3.6.6.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/10] Fetching tiff-4.6.0.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/10] Fetching libdeflate-1.22.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/10] Fetching lerc-4.0.0.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/10] Installing jpeg-turbo-3.0.4...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/10] Extracting jpeg-turbo-3.0.4: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/10] Installing jbigkit-2.1_3...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/10] Extracting jbigkit-2.1_3: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/10] Installing libdeflate-1.22...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/10] Extracting libdeflate-1.22: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/10] Installing lerc-4.0.0...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/10] Extracting lerc-4.0.0: ........ done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/10] Installing png-1.6.44...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/10] Extracting png-1.6.44: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/10] Installing giflib-5.2.2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/10] Extracting giflib-5.2.2: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/10] Installing tiff-4.6.0...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [7/10] Extracting tiff-4.6.0: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/10] Installing webp-1.4.0_1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [8/10] Extracting webp-1.4.0_1: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/10] Installing libsass-3.6.6...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [9/10] Extracting libsass-3.6.6: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/10] Installing gohugo-0.135.0,1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [10/10] Extracting gohugo-0.135.0,1: .......... done
Step 21: Install package goaccess
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
goaccess: 1.9.3
libmaxminddb: 1.11.0
Number of packages to be installed: 2
The process will require 2 MiB more space.
471 KiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/2] Fetching libmaxminddb-1.11.0.pkg: ........ done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/2] Fetching goaccess-1.9.3.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/2] Installing libmaxminddb-1.11.0...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/2] Extracting libmaxminddb-1.11.0: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/2] Installing goaccess-1.9.3...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/2] Extracting goaccess-1.9.3: .......... done
Step 22: Install package node_exporter
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
node_exporter: 1.8.2
Number of packages to be installed: 1
The process will require 11 MiB more space.
4 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Fetching node_exporter-1.8.2.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Installing node_exporter-1.8.2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Extracting node_exporter-1.8.2: .......... done
=====
Message from node_exporter-1.8.2:
--
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.
Step 23: Install package syslog-ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 6 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
e2fsprogs-libuuid: 1.47.1
glib: 2.80.5,2
ivykis: 0.43.2
json-c: 0.18
py311-packaging: 24.1
syslog-ng: 4.8.0_2
Number of packages to be installed: 6
The process will require 32 MiB more space.
6 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/6] Fetching ivykis-0.43.2.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/6] Fetching json-c-0.18.pkg: ......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/6] Fetching e2fsprogs-libuuid-1.47.1.pkg: ....... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/6] Fetching py311-packaging-24.1.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/6] Fetching glib-2.80.5,2.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/6] Fetching syslog-ng-4.8.0_2.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/6] Installing py311-packaging-24.1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/6] Extracting py311-packaging-24.1: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/6] Installing ivykis-0.43.2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/6] Extracting ivykis-0.43.2: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/6] Installing json-c-0.18...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/6] Extracting json-c-0.18: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/6] Installing e2fsprogs-libuuid-1.47.1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [4/6] Extracting e2fsprogs-libuuid-1.47.1: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/6] Installing glib-2.80.5,2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [5/6] Extracting glib-2.80.5,2: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/6] Installing syslog-ng-4.8.0_2...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [6/6] Extracting syslog-ng-4.8.0_2: .......... done
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
=====
Message from syslog-ng-4.8.0_2:
--
syslog-ng is now installed! To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:
1. Create a configuration file named /usr/local/etc/syslog-ng.conf
(a sample named syslog-ng.conf.sample has been included in
/usr/local/etc). Note that this is a change in 2.0.2
version, previous ones put the config file in
/usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
move that file in the right place
2. Configure syslog-ng to start automatically by adding the following
to /etc/rc.conf:
syslog_ng_enable="YES"
3. Prevent the standard FreeBSD syslogd from starting automatically by
adding a line to the end of your /etc/rc.conf file that reads:
syslogd_enable="NO"
4. Shut down the standard FreeBSD syslogd:
kill `cat /var/run/syslog.pid`
5. Start syslog-ng:
/usr/local/etc/rc.d/syslog-ng start
Step 24: Install package minio-client
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
minio-client: 2024.01.31.08.59.40_1
Number of packages to be installed: 1
The process will require 26 MiB more space.
8 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Fetching minio-client-2024.01.31.08.59.40_1.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Installing minio-client-2024.01.31.08.59.40_1...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/1] Extracting minio-client-2024.01.31.08.59.40_1: .... done
Step 25: Install package tmux
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
libevent: 2.1.12
ncurses: 6.5
tmux: 3.3a_3
Number of packages to be installed: 3
The process will require 7 MiB more space.
2 MiB to be downloaded.
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/3] Fetching ncurses-6.5.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/3] Fetching libevent-2.1.12.pkg: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/3] Fetching tmux-3.3a_3.pkg: .......... done
Checking integrity... done (0 conflicting)
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/3] Installing ncurses-6.5...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [1/3] Extracting ncurses-6.5: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/3] Installing libevent-2.1.12...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [2/3] Extracting libevent-2.1.12: .......... done
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/3] Installing tmux-3.3a_3...
[hugo-nginx-amd64-14_1.vsf00002.cpt.za.honeyguide.net] [3/3] Extracting tmux-3.3a_3: .......... done
=====
Message from ncurses-6.5:
--
To get the terminfo database please install the terminfo-db package:
pkg install terminfo-db
Step 26: Clean package installation
Checking integrity... done (0 conflicting)
Nothing to do.
The following package files will be deleted:
/var/cache/pkg/perl5-5.36.3_2~43d0635243.pkg
/var/cache/pkg/giflib-5.2.2.pkg
/var/cache/pkg/p5-Encode-Locale-1.05.pkg
/var/cache/pkg/p5-Mozilla-CA-20240924~40cbcfafef.pkg
/var/cache/pkg/e2fsprogs-libuuid-1.47.1~362f74ac69.pkg
/var/cache/pkg/p5-Clone-0.47~f797e6f09a.pkg
/var/cache/pkg/p5-IO-Socket-SSL-2.089.pkg
/var/cache/pkg/jbigkit-2.1_3.pkg
/var/cache/pkg/p5-URI-5.29~6eb123a53e.pkg
/var/cache/pkg/consul-1.19.2.pkg
/var/cache/pkg/minio-client-2024.01.31.08.59.40_1~0336319d2b.pkg
/var/cache/pkg/p5-Digest-HMAC-1.04~45485334d1.pkg
/var/cache/pkg/p5-HTTP-Date-6.06.pkg
/var/cache/pkg/libmaxminddb-1.11.0~d8c4c024fa.pkg
/var/cache/pkg/p5-GSSAPI-0.28_2~8e031004bd.pkg
/var/cache/pkg/py311-packaging-24.1.pkg
/var/cache/pkg/python311-3.11.10~286ca605ff.pkg
/var/cache/pkg/mpdecimal-4.0.0~355dbb0218.pkg
/var/cache/pkg/syslog-ng-4.8.0_2~cf5f9ee289.pkg
/var/cache/pkg/tiff-4.6.0~9b1d6e8ef0.pkg
/var/cache/pkg/p5-Encode-Locale-1.05~e24c77aa28.pkg
/var/cache/pkg/libdeflate-1.22.pkg
/var/cache/pkg/libsass-3.6.6.pkg
/var/cache/pkg/png-1.6.44~a626e09ec4.pkg
/var/cache/pkg/p5-IO-Socket-IP-0.42~4cd448dcfe.pkg
/var/cache/pkg/p5-TimeDate-2.33,1~3d6754b570.pkg
/var/cache/pkg/perl5-5.36.3_2.pkg
/var/cache/pkg/pcre2-10.43.pkg
/var/cache/pkg/p5-HTTP-Date-6.06~1955c3a50e.pkg
/var/cache/pkg/expat-2.6.3.pkg
/var/cache/pkg/p5-HTML-Tagset-3.24~f94b5838a6.pkg
/var/cache/pkg/p5-CGI-4.66~1bb30e60cf.pkg
/var/cache/pkg/tiff-4.6.0.pkg
/var/cache/pkg/json-c-0.18.pkg
/var/cache/pkg/glib-2.80.5,2.pkg
/var/cache/pkg/node_exporter-1.8.2.pkg
/var/cache/pkg/p5-Net-SSLeay-1.94~e3e13f37f2.pkg
/var/cache/pkg/nginx-1.26.2_5,3~339c37ca93.pkg
/var/cache/pkg/p5-Digest-HMAC-1.04.pkg
/var/cache/pkg/p5-HTML-Tagset-3.24.pkg
/var/cache/pkg/syslog-ng-4.8.0_2.pkg
/var/cache/pkg/p5-URI-5.29.pkg
/var/cache/pkg/json-c-0.18~4c2b04b9f9.pkg
/var/cache/pkg/p5-Clone-0.47.pkg
/var/cache/pkg/p5-LWP-MediaTypes-6.04~1bb1b30f28.pkg
/var/cache/pkg/png-1.6.44.pkg
/var/cache/pkg/p5-GSSAPI-0.28_2.pkg
/var/cache/pkg/p5-CGI-4.66.pkg
/var/cache/pkg/goaccess-1.9.3~fdf89362f9.pkg
/var/cache/pkg/expat-2.6.3~3f4ec0c272.pkg
/var/cache/pkg/webp-1.4.0_1.pkg
/var/cache/pkg/tmux-3.3a_3~c88436ebd5.pkg
/var/cache/pkg/p5-LWP-MediaTypes-6.04.pkg
/var/cache/pkg/p5-Mozilla-CA-20240924.pkg
/var/cache/pkg/p5-IO-HTML-1.004~59e4c4e9db.pkg
/var/cache/pkg/p5-HTML-Parser-3.83.pkg
/var/cache/pkg/libevent-2.1.12~994075731e.pkg
/var/cache/pkg/e2fsprogs-libuuid-1.47.1.pkg
/var/cache/pkg/p5-HTML-Parser-3.83~219e67fbbc.pkg
/var/cache/pkg/pcre2-10.43~d476f63222.pkg
/var/cache/pkg/giflib-5.2.2~1b9d82c5b4.pkg
/var/cache/pkg/p5-Error-0.17029.pkg
/var/cache/pkg/python311-3.11.10.pkg
/var/cache/pkg/jpeg-turbo-3.0.4.pkg
/var/cache/pkg/p5-IO-Socket-SSL-2.089~6a5ad1a615.pkg
/var/cache/pkg/p5-HTTP-Message-6.46~860729a263.pkg
/var/cache/pkg/ivykis-0.43.2.pkg
/var/cache/pkg/webp-1.4.0_1~92b22f6c56.pkg
/var/cache/pkg/lerc-4.0.0.pkg
/var/cache/pkg/lerc-4.0.0~48ff323b58.pkg
/var/cache/pkg/goaccess-1.9.3.pkg
/var/cache/pkg/p5-IO-Socket-IP-0.42.pkg
/var/cache/pkg/tmux-3.3a_3.pkg
/var/cache/pkg/git-2.46.2.pkg
/var/cache/pkg/glib-2.80.5,2~909ca79520.pkg
/var/cache/pkg/ivykis-0.43.2~07934ae53e.pkg
/var/cache/pkg/p5-Authen-SASL-2.17.pkg
/var/cache/pkg/p5-Authen-SASL-2.17~3c90eaf737.pkg
/var/cache/pkg/p5-Error-0.17029~9d53ef9039.pkg
/var/cache/pkg/jbigkit-2.1_3~44a5669171.pkg
/var/cache/pkg/node_exporter-1.8.2~d3c8df78fe.pkg
/var/cache/pkg/libffi-3.4.6~e038c4b1cf.pkg
/var/cache/pkg/mpdecimal-4.0.0.pkg
/var/cache/pkg/p5-HTTP-Message-6.46.pkg
/var/cache/pkg/minio-client-2024.01.31.08.59.40_1.pkg
/var/cache/pkg/nginx-1.26.2_5,3.pkg
/var/cache/pkg/py311-packaging-24.1~b3b408ec53.pkg
/var/cache/pkg/p5-IO-HTML-1.004.pkg
/var/cache/pkg/gohugo-0.135.0,1~99e3a2d6d6.pkg
/var/cache/pkg/libsass-3.6.6~35f125e408.pkg
/var/cache/pkg/p5-Net-SSLeay-1.94.pkg
/var/cache/pkg/ncurses-6.5.pkg
/var/cache/pkg/ncurses-6.5~be23239fbf.pkg
/var/cache/pkg/jpeg-turbo-3.0.4~a49da1265b.pkg
/var/cache/pkg/git-2.46.2~8e135a20d3.pkg
/var/cache/pkg/libffi-3.4.6.pkg
/var/cache/pkg/libdeflate-1.22~a5d1b47c00.pkg
/var/cache/pkg/libevent-2.1.12.pkg
/var/cache/pkg/consul-1.19.2~ffcc2d4893.pkg
/var/cache/pkg/p5-TimeDate-2.33,1.pkg
/var/cache/pkg/gohugo-0.135.0,1.pkg
/var/cache/pkg/libmaxminddb-1.11.0.pkg
The cleanup will free 116 MiB
Deleting files: .......... done
Step 27: Clean cook artifacts
Step 28: Install pot local
Step 29: Set file ownership on cook scripts
Step 30: Make cook script executable
setting executable bit on /usr/local/bin/cook
Step 31: Create rc.d script to start cook
creating rc.d script to start cook
Step 32: Make rc.d script to start cook executable
Setting executable bit on cook rc file
Step 33: Enable cook service
enabling cook
cook enabled in /etc/rc.conf
=====> Stop the pot hugo-nginx-amd64-14_1
=====> Remove p4672bcf4797d4 epair network interfaces
=====> unmount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/tmp
=====> unmount /mnt/srv/pot/jails/hugo-nginx-amd64-14_1/m/dev
===> exporting hugo-nginx-amd64-14_1 @ 1730924436 to /tmp/hugo-nginx-amd64-14_1_0.20.3.xz