Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

BSD Now

BSD Now artwork

367: Changing jail datasets

Sep 10, 202045 minAudio
ShareXLinkedInFacebookWhatsAppEmail

A 35 Year Old Bug in Patch, Sandbox for FreeBSD, Changing from one dataset to another within a jail, You don’t need tmux or screen for ZFS, HardenedBSD August 2020 Status Report and Call for Donations, and more. NOTES This episode of BSDNow is brought to you by Tarsnap Headlines A 35 Year Old Bug in Patch Larry Wall posted patch 1.3 to mod.sources on May 8, 1985. A number of versions followed over the years. It's been a faithful alley for a long, long time. I've never had a problem with patch until I embarked on the 2.11BSD restoration project. In going over the logs very carefully, I've discovered a bug that bites this effort twice. It's quite interesting to use 27 year old patches to find this bug while restoring a 29 year old OS... Sandbox for FreeBSD A sandbox is a software which artificially limits access to the specific resources on the target according to the assigned policy. The sandbox installs hooks to the kernel syscalls and other sub-systems in order to interrupt the events triggered by the application. From the application point of view, application working as usual, but when it wants to access, for instance, /dev/kmem the sandbox software decides against the assigned sandbox scheme whether to grant or deny access. In our case, the sandbox is a kernel module which uses MAC (Mandatory Access Control) Framework developed by the TrustedBSD team. All necessary hooks were introduced to the FreeBSD kernel. Source Code Documentation News Roundup Changing from one dataset to another within a jail ZFS has a the ability to share itself within a jail. That gives the jail some autonomy, and I like that. I’ve written briefly about that, specifically for iocage. More recently, I started using a zfs snapshot for caching clearing. The purpose of this post is to document the existing configuration of the production FreshPorts webserver and outline the plan on how to modify it for more zfs-snapshot-based cache clearing. You don’t need tmux or screen for ZFS Back in January I mentioned how to add redundancy to a ZFS pool by adding a mirrored drive. Someone with a private account on Twitter asked me why FreeBSD - and NetBSD! - doesn’t ship with a tmux or screen equivilent in base in order to daemonise the process and let them run in the background. ZFS already does this for its internal commands. HardenedBSD August 2020 Status Report and Call for Donations This last month has largely been a quiet one. I've restarted work on porting five-year-old work from the Code Pointer Integrity (CPI) project into HardenedBSD. Chiefly, I've started forward-porting the libc and rtld bits from the CPI project and now need to look at llvm compiler/linker enhancements. We need to be able to apply SafeStack to shared objects, not just application binaries. This forward-porting work I'm doing is to support that effort. The infrastructure has settled and is now churning normally and happily. We're still working out bandwidth issues. We hope to have a new fiber line ran by the end of September. As part of this status report, I'm issuing a formal call for donations. I'm aiming for $4,000.00 USD for a newer self-hosted Gitea server. I hope to purchase the new server before the end of 2020. Important parts of Unix's history happened before readline support was common Unix and things that run on Unix have been around for a long time now. In particular, GNU Readline was first released in 1989 (as was Bash), which is long enough ago for it (or lookalikes) to become pretty much pervasive, especially in Unix shells. Today it's easy to think of readline support as something that's always been there. But of course this isn't the case. Unix in its modern form dates from V7 in 1979 and 4.2 BSD in 1983, so a lot of Unix was developed before readline and was to some degree shaped by the lack of it. Tarsnap This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups. Feedback/Questions Mason - mailserver casey - freebsd on decline denis - postgres *** Send questions, comments, show ideas/topics, or stories you want mentioned on the show to feedback@bsdnow.tv ***

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Hosts

  • Allan Jude Host Feed-stated
  • Benedict Reuschling Host Feed-stated

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 690: 64K, no more, no less

    Nov 19, 20261 hr 7 minAudio

    NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines The invention of the MMO FreeBSD's Base Comes From One Team News Roundup The indigoparadox Web Zone The Editor Wars How to setup...

    Credit the people on this episode

  2. 689: Start, restart, stop

    Nov 12, 20261 hr 16 minAudio

    Biggest ZFS Misconfigurations, FreeBSD rc.d explained, ATX Power and how it works, GEFS and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines Biggest ZFS...

    Credit the people on this episode

  3. 688: Eighty

    Nov 5, 202650 minAudio

    OpenBSD 8.0, vmd(8), WebZFS has reached BETA3, HardenedBSD updates and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines Biggest ZFS Misconfigurations and How to Fix...

    Credit the people on this episode

  4. 687: Long Term Support

    Oct 29, 202657 minAudio

    NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines FreeBSD Release Cycles and Enterprise Requirements: Why LTS Matters August/September Newsletter News Roundup All About the...

    Credit the people on this episode

  5. 686: Yell in your Shell

    Oct 22, 202641 minAudio

    ! marks in shell, learning at scale, Thinkcenters and BSD, and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines A shell exclamation mark is not for yelling. Be lazy....

    Credit the people on this episode