Hacker Newsnew | past | comments | ask | show | jobs | submit | soupbowl's commentslogin

It already is, if you use most jail managers, this post is a manual approach.


I really don’t like jail managers because I need to learn a non-standard way to operate jails when I already know the manual approach. I just wouldn’t miss the boilerplate. Also, OCI containers > jail managers.


This is more like making an immutable linux container using only OS base tools. Docker is a whole stack doing the work for you.


I have to imagine systemd’s nspawn with btrfs integration took much inspiration. Combined with systemd’s service configuration it really makes a wonderful way of running distroless, immutable containers.


I second systemd-nspawn being a hidden gem for this usecase. I use git post-recieve hooks that target it for much of my ci/cd pipelines.

I also find myself using nspawn just to isolate apps like firefox, etc.


For those unfamiliar with FreeBSD, this is using base OS tools to manually create this type of immutable jail/container. This can be done with 'less effort' by using a jail manager.


Jail managers come and go. Base OS tools stay and are getting better and better. I would definitely stay away from ezjail as it us quite old, active development or even maintenance has stopped long time ago.

Author of the article seem to know what they are doing so I'm puzzled why they don't use `bsdinstall jail /path/to/jail` to implement basejail instead of manually unpacking archives.

No need for separate custom rc script to start `lo1`, it can be done with `cloned_interfaces` directive in rc.conf.

Updating and upgrading jails by passing `-b /path/to/jail` to `freebsd-update` works, but new recommended way has lately been `-j <jailname>`.

Cool article overall, the beauty of FreeBSD is also in possibility to do things in many different ways.


This is a very cool project! I had never heard of SystemVerilog until today.


During a major update it will be reinstalled.


Along with Teams if you have Microsoft 365 for Business.

Bejeweled and friends tend to show back up again on consumer machines too, I've noticed.

Absolute headache...


Nuts. Is this still true? I just setup a Win11 Pro machine for a very non-technical person. Uninstalled OneDrive, hoping to minimize future pain when 90% of the needs are just a web browser and storing camera pictures.

(No, Linux was not an option)


I have absolutely seen them reinstall components like that, force their AV back on, force Windows Update back on, etc. It's probably actually good imo for the users I've seen, but admittedly "computer says no" is infuriating if you're sure of what you want.

Try using Group Policy to disable it. I think Applocker is on Win 11 Pro now - if it is, you can block the execution of whatever programs and DLLs you want. I've used that to block Windows Update.


Not just in Win11, AppLocker can be used in Win10 too.

AppLocker is included with all editions of Windows except Windows 10 version 1809 or earlier.

Applocker can help prevent users from running unwanted software (including DLLs and scripts).

However, AppLocker requires Local Security Policy, which isn't available in Home edition of Windows, but it can be installed easily for free.

https://www.thewindowsclub.com/local-security-policy-missing...

Here's how to use AppLocker to block an unwanted app:

https://www.tenforums.com/tutorials/124008-use-applocker-all...


Well, I will at least throw in the Group Policy tweak when I have the chance. Thanks for the tip.


There is almost certainly a registry key you can set as well. 5 ways to do something, none documented officially.


Yeah for myself Pro licensing and domain is the way to go so I can configure Windows similar to my work network at home. But for people who have Home licenses I just set the registry keys. Windows Home doesn't have a UI to set policy, but it does obey it if the keys are there.

(This is a must-have to turn off web browser antifeatures as well, you can't block extension install from the browser settings for any browser but you can by policy.)


OneDrive has yet to reappear on my Windows machines, but I mostly only use 10 still, 11 could be that shitty


> Nuts. Is this still true?

Yes. Microsoft wants to protect you. /s


That's about as close to forever as you can get with Microsoft.


The kid wasn't 'MAGA' though.


People that don't like Charlie don't need to have sympathy for him, but not having sympathy and being douche bags in mass is something totally different.

"I can't stand the word empathy, actually," he continued. "I think empathy is a made-up, new age term that — it does a lot of damage. But, it is very effective when it comes to politics. Sympathy, I prefer more than empathy. That's a separate topic for a different time."


How can you not be a douche bag to someone who wants to kill you? How are homosexuals supposed to feel about this guy?


Ah yes... he wanted all homosexuals murdered[citation needed]. Good thing the good guys killed him eh?


Uhh, last night mastadon and bluesky were full of cheering after his death. You did not look very hard, the rest of the internet is taking screenshots and naming people doing it, you can easily find this with minor effort.


That's not coverage, that's random people on the internet, often hiding behind anonymity. How much of society actually gets their information by seeing what randos on mastadon and bluesky are saying?


TFA is about what people on Bluesky were or were not supposedly doing.


you can go on every platform and find despicable people posting despicable things. spend 10 minutes on “X” on a random day…


Since switching to the debian version, I have learned to dread every update.


What issues are you facing in the transition of TrueNAS from FreeBSD to Debian?


I've been on Debian since the switch and had no issues when OS updates. The kubernetes to docker transition was a little bumpy however.


It was rude and HN would be better off if you just stopped commenting if your level of effort is this low.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: