All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login
's Avatar

dch

Joined 1741212113

Recently created
Least recently created
Recently updated
Least recently updated
All gists 21
dch's Avatar

dch / neuromancer upgrade

0 likes
0 forks
4 files
Last active 1756239625

this seems to work ok, but fails on reboot:

  • switch to /bin/sh first
  • pkg-static upgrade -r FreeBSD (now they're upgraded)
  • pkg-static upgrade -r pkg-base
  • check tools listed above
  • check password file specifically
Starting syslogd.
dch's Avatar

dch / oci.fail

0 likes
0 forks
1 files
Last active 1751458653
1 dch@wintermute ~> oci-launch-zfs-arm64 audacious-aardvark
2
3 DEBUG:oci_cli.cli_metrics: 2025-07-02 12:12:31.234731: Metrics is not enabled
4 FreeBSD-15.0-CURRENT-amd64-64bit-ELF
5 System name: FreeBSD
6 System release : 15.0-CURRENT
7 System version: FreeBSD 15.0-CURRENT main-n277972-c2834a53b919 GENERIC-NODEBUG
8
9 env OCI_PYTHON_SDK_NO_SERVICE_IMPORTS is set
10 DEBUG:oci_cli.cli_util:Config File: dict_keys(['log_requests', 'additional_user_agent', 'pass_phrase', 'fingerprint', 'key_file', 'user', 'tenancy', 'region', 'availability'])
dch's Avatar

dch / jackett

0 likes
0 forks
1 files
Last active 1751183121
1 =>> Building net-p2p/jackett
2 build started at 2025-06-29T01:26:41+00:00
3 port directory: /usr/ports/net-p2p/jackett
4 package name: jackett-0.22.2075
5 building for: FreeBSD pkg.skunkwerks.at 14.3-RELEASE FreeBSD 14.3-RELEASE arm64
6 maintained by: tremere@cainites.net
7 port version: 0.22.2075
8 port revision: 0
9 Makefile datestamp: -rw-r--r-- 1 dch wheel 1536 Jun 28 23:49 /usr/ports/net-p2p/jackett/Makefile
10 Poudriere version: poudriere-git-3.4.99.20250601
dch's Avatar

dch / jr.fish

0 likes
0 forks
4 files
Last active 1751058965
a set of tools for interactively deploying jails for ephemeral usage
jails
1 function jc
2 # see https://git.io/JfHOu
3 set local
4 set MACH (sysctl -n hw.machine)
5 set ARCH (sysctl -n hw.machine_arch)
6 set DOMAIN skunkwerks.at
7 set RELEASE 14.0-RELEASE
8 set RELDATE 1400097
9 set FLAVOUR $RELEASE-$MACH-$ARCH
10 # grab the name
dch's Avatar

dch / environment

0 likes
0 forks
2 files
Last active 1746278176
1 #!/bin/sh
2 log() { printf '\n\033[m\033[38;5;11m~~~ %s %s ~~~\033[m\n' $1 $2; }
3
4 log "deploy environment"
5
6 # obvious stuff
7 export PATH=${PATH}:/usr/local/bin
8 export SHELL=/bin/sh
9 # a righteous secure umask
10 umask 027
dch's Avatar

dch / Containerfile

0 likes
0 forks
2 files
Last active 1762701050
1 FROM docker.io/freebsd/freebsd-runtime:14.3
2 RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -qr FreeBSD
3 RUN pkg update -q
4 RUN pkg install -qy FreeBSD-openssl
5 RUN pkg upgrade -qy
6 RUN pkg install -qy lang/python3
7 entrypoint /usr/local/bin/python3 -m http.server
dch's Avatar

dch / io-histogram.d

0 likes
0 forks
2 files
Last active 1745319742
1 #!/usr/sbin/dtrace -s
2 #pragma D option quiet
3 #pragma D option aggsize=20m
4
5 syscall::read:return,syscall::write:return
6 /execname == "firefox" /
7 { @[probefunc] = quantize(arg1); }
dch's Avatar

dch / jail_set_iovec.md

0 likes
0 forks
1 files
Last active 1742648542
	/* clang-format off */
	struct iovec iov[] = {
		{ .iov_base = "path"         , .iov_len = sizeof("path")          },
		{ .iov_base = jail_path      , .iov_len = sizeof(jail_path)       },

		{ .iov_base = "name"         , .iov_len = sizeof("name")          },
		{ .iov_base = jail_name      , .iov_len = sizeof(jail_name)       },
dch's Avatar

dch / chelsio-100g.md

0 likes
0 forks
1 files
Last active 1742647057

overview

  • 2 hosts, 100G Chelsio T62100-LP-CR NICs
  • direct cabled

straylight

# ifconfig cc0
cc0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
dch's Avatar

dch / jails-topics.md

0 likes
0 forks
1 files
Last active 1742328585
List of raised items in the jails 2.0 survey & spreadshet from ~ 2 years ago

Topics taken from our jails 2.0 spreadsheet for ranked choice voting:

5	have a userland jail daemon similar in concept to docker/podman daemon
7	teach jail(8) to export jail.conf params & vars as env vars into exec hooks
8	extend ucl support to more jail tools
9	allow user-managed rootless jails, similar to rootless podman on linux
11	kernel-managed state machines for jails, to allow operators to *know* what is blocking a jail from dying/restarting
12	teach ifconfig to auto-create epairs for vnet jails
13	associate mountpoints with jails, to allow better cleanup
Newer Older

Powered by Opengist ⋅ Load: 751ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano Polski Português Русский Türkçe Українська 中文 繁體中文