this post was submitted on 17 Apr 2025
2 points (100.0% liked)

Programming

0 readers
2 users here now

A magazine created for the discussion of computer programming-related topics.

Rules

Please keep submissions on topic and of high quality. No image posts, no memes, no politics. Keep the magazine focused on programming topics not general computing topics. Direct links to app demos (unrelated to programming) will be removed. No surveys.

founded 2 years ago
MODERATORS
 

💡 Idea for a debugging script 💡

This might already exist for FreeBSD, and if so.. let me know!

    1. keeps record of OS core/default settings: loader.conf, rc.conf, sysctl.conf, devfs.rules, login.conf etc
    1. keeps record of file checksum on those OS core files (similar to the app, tripwire)
    1. mode which shows divergence on current state vs known-default state in configs (1) and checksums (2)
      -4) mode which tracks the files and their change-sets over time, similar to a zfs snapshot but at a single file-level

#freebsd #scripting #programming

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 weeks ago (7 children)

@[email protected] I think 1-3 are covered by freebsd-update IDS. 4 would be nice to add.

In my ideal world, we'd separate out the bits in /etc that users touch from the ones that are provided by the system and allow /etc to be a separate ZFS dataset. Unfortunately, the lack of this separation means /etc doesn't get mounted if you try because the scripts that mount all of the non-root ZFS datasets are in /etc.

load more comments (5 replies)