Skip to content

Instantly share code, notes, and snippets.

View matthewpi's full-sized avatar

Matthew Penner matthewpi

View GitHub Profile
@matthewpi
matthewpi / cri-o.log
Created January 18, 2024 17:45
CRI-O negative WaitGroup counter panic
Jan 18 17:39:07 cp002 crio[2238]: panic: sync: negative WaitGroup counter
Jan 18 17:39:07 cp002 crio[2238]: panic: sync: negative WaitGroup counter
Jan 18 17:39:07 cp002 crio[2238]: goroutine 293 [running]:
Jan 18 17:39:07 cp002 crio[2238]: sync.(*WaitGroup).Add(0xc000991c58?, 0x1?)
Jan 18 17:39:07 cp002 crio[2238]: sync/waitgroup.go:62 +0xd8
Jan 18 17:39:07 cp002 crio[2238]: sync.(*WaitGroup).Done(...)
Jan 18 17:39:07 cp002 crio[2238]: sync/waitgroup.go:87
Jan 18 17:39:07 cp002 crio[2238]: github.com/cri-o/cri-o/server.(*Server).broadcastEvents.func1({0x1b699b3?, 0x2e85aa0?}, {0x26e4e80?, 0xc0004b0180?})
Jan 18 17:39:07 cp002 crio[2238]: github.com/cri-o/cri-o/server/container_events.go:47 +0x36
Jan 18 17:39:07 cp002 crio[2238]: sync.(*Map).Range(0xc0002b96e8, 0x2c459b8)
@matthewpi
matthewpi / mangohud.log
Last active April 13, 2023 23:15
9r4vwggxggpnq1vb11vli3h9yil4qdyn-mangohud-0.6.8.drv and qz4qp88qhfhd0ksvn6sf17r8cq216cf6-rocm-thunk-5.4.4.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/fsgkfs3l6qmvnkxg4xlx8l07iw10k0f9-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/qj2ba0dh1mr8n94sdsw55vdibpzq89a1-hardcode-dependencies.patch
patching file src/dbus.cpp
patching file src/loaders/loader_x11.cpp
patching file src/logging.cpp
@matthewpi
matthewpi / log.txt
Created February 3, 2023 04:26
rpm-ostree upgrade strange error
~
❯ rpm-ostree upgrade
Enabled rpm-md repositories: fedora-cisco-openh264 rawhide-modular rawhide rpmfusion-free-rawhide rpmfusion-nonfree-rawhide 1password-beta vscode tailscale-unstable
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-10-06T10:49:41Z solvables: 4
rpm-md repo 'rawhide-modular' (cached); generated: 2023-02-01T07:35:25Z solvables: 1077
rpm-md repo 'rawhide' (cached); generated: 2023-02-02T07:41:54Z solvables: 68356
rpm-md repo 'rpmfusion-free-rawhide' (cached); generated: 2023-02-01T23:39:49Z solvables: 477
rpm-md repo 'rpmfusion-nonfree-rawhide' (cached); generated: 2023-01-31T09:26:50Z solvables: 219
rpm-md repo '1password-beta' (cached); generated: 2023-01-25T19:15:35Z solvables: 2
@matthewpi
matthewpi / README.md
Last active May 6, 2024 14:16
Nix on Fedora

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue

@matthewpi
matthewpi / matthewpi.yaml
Created March 14, 2021 19:13
k3os/config.yaml
ssh_authorized_keys:
- github:matthewpi
@matthewpi
matthewpi / cloudflare.sh
Created November 8, 2020 19:13
firewalld Rules for Cloudflare (HTTP and HTTPS)
#!/bin/bash
firewall-cmd --new-zone=cloudflare
firewall-cmd --zone=cloudflare --add-source=173.245.48.0/20
firewall-cmd --zone=cloudflare --add-source=103.21.244.0/22
firewall-cmd --zone=cloudflare --add-source=103.22.200.0/22
firewall-cmd --zone=cloudflare --add-source=103.31.4.0/22
firewall-cmd --zone=cloudflare --add-source=141.101.64.0/18
firewall-cmd --zone=cloudflare --add-source=108.162.192.0/18
firewall-cmd --zone=cloudflare --add-source=190.93.240.0/20

Keybase proof

I hereby claim:

  • I am matthewpi on github.
  • I am matthewpi (https://keybase.io/matthewpi) on keybase.
  • I have a public key ASBERQ7k0p0lHY2F0iY8YBc3tLJRD3ZD46v9xboRwsU-Bwo

To claim this, I am signing this object: