Skip to content

Instantly share code, notes, and snippets.

View lattera's full-sized avatar

Shawn Webb lattera

View GitHub Profile
$ ./hbsd-update -C -m
{
"schemaver": 1,
"local": {
"fullstr": "hbsd-v1300061-63378ae429b5495cea76432e5f49c13031e90914",
"src_ver": "63378ae429b5495cea76432e5f49c13031e90914",
"hbsd_ver": "v1300061"
},
"remote": {
"fullstr": "hbsd-v1300061-f4e6c057640bcde3d218340110126c921ec97249",
APP_NAME = HardenedBSD git master
RUN_USER = git
RUN_MODE = prod
[oauth2]
JWT_SECRET = [sanitized]
[security]
INTERNAL_TOKEN = [sanitized]
INSTALL_LOCK = true
git-host-01[shawn]:/home/shawn $ sudo top -j -b -d 1 [15:14:47]
Password:
last pid: 39792; load averages: 0.10, 0.27, 0.25 up 2+06:01:48 15:15:27
42 processes: 1 running, 41 sleeping
CPU: 1.9% user, 0.0% nice, 1.9% system, 0.0% interrupt, 96.2% idle
Mem: 174M Active, 16G Inact, 21G Wired, 102G Free
ARC: 17G Total, 9844M MFU, 7068M MRU, 400K Anon, 95M Header, 629M Other
16G Compressed, 18G Uncompressed, 1.12:1 Ratio
Swap: 64G Total, 64G Free
@lattera
lattera / core.txt.0
Last active September 21, 2020 00:49
hbsd-laptop-02 dumped core - see /var/crash/vmcore.0
Sun Sep 20 19:24:59 EDT 2020
FreeBSD hbsd-laptop-02 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD #0 502c6f771f4-c282126(hardened/current/master): Sun Sep 20 19:05:29 EDT 2020 shawn@hbsd-laptop-02:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD amd64
panic: sleepq_add: td 0xfffffe0154975ac0 to sleep on wchan 0xfffff800041fa978 with sleeping prohibited
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
Started by user Administrator
Running as SYSTEM
Building in workspace /usr/local/jenkins/workspace/HardenedBSD 13-CURRENT package build
[HardenedBSD 13-CURRENT package build] $ /bin/sh -xe /tmp/jenkins3021525929002987689.sh
+ /usr/local/bin/sudo /usr/local/bin/zsh -c '/src/scripts/automation/jenkins.zsh -c /src/scripts/automation/config/hardenedbsd.config.json -r /src/scripts/automation/config/hbsd-13-current.repo.json'
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:
git config pull.rebase false # merge (the default strategy)
diff --git a/libpkg/Makefile.autosetup b/libpkg/Makefile.autosetup
index ae722976..77854f16 100644
--- a/libpkg/Makefile.autosetup
+++ b/libpkg/Makefile.autosetup
@@ -42,7 +42,8 @@ SRCS= backup.c \
pkg_repo_create.c \
pkg_version.c \
rcscripts.c \
- flags.c
+ flags.c \
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 1903c44e7b63..2de8869a2113 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5337,7 +5337,7 @@ _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \
200:apply-slist 300:pre-install \
400:generate-plist 450:pre-su-install 475:create-users-groups \
500:do-install 550:kmod-post-install 600:fixup-lib-pkgconfig 700:post-install \
- 750:post-install-script 800:post-stage 850:compress-man \
+ 750:post-install-script 800:post-stage 825:fixup-mitigations 850:compress-man \
===> git-2.26.2 depends on executable: cvsps - found
===> Returning to build of git-2.26.2
===> git-2.26.2 depends on package: p5-Error>=0 - found
===> git-2.26.2 depends on file: /usr/local/lib/libcrypto.so.11 - found
===> git-2.26.2 depends on file: /usr/local/bin/python3.7 - found
===> git-2.26.2 depends on package: perl5>=5.30.r1<5.31 - found
[20200513105351] ===> Generating temporary packing list
[20200513105351] ===> Creating groups.
[20200513105351] ===> Creating users
[20200513105353] ===> Installing contributed scripts
#!/usr/local/bin/zsh
HBSDCTRL="/usr/sbin/hbsdcontrol"
dir=""
while getopts "d:" o; do
case "${o}" in
d)
dir="${OPTARG}"
hardenedbsd[shawn]:/home/shawn $ nc -4vv git-01.md.hardenedbsd.org 22 [17:12:19]
Connection to git-01.md.hardenedbsd.org 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_7.8 HardenedBSD 12-STABLE
^C
hardenedbsd[shawn]:/home/shawn (130) $ nc -6vv git-01.md.hardenedbsd.org 22 [17:12:31]
Connection to git-01.md.hardenedbsd.org 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_7.8 HardenedBSD 12-STABLE