u/cometomypartyyy

🔥 Hot ▲ 96 r/Gentoo

Will we ever get an -ai use flag?

I think this would be a good idea, especially since more software seems to be jumping in on the AI trend, and forcing it quite aggressively. It's always nice to have choice, so being able to set "-ai" in make.conf would be neat.

My first thought is for Firefox, and yes I know that browser.ml.enable exists, but that can be taken away at any moment. It's better to compile with or without ai features imo.

reddit.com
u/cometomypartyyy — 4 days ago
▲ 5 r/Gentoo

Browser containerization, what are my options?

I'm looking to try and containerize my web browsers from the rest of the system, mainly because the web browser is the biggest attack vector for most people, especially since there seems to be lots of browser vulnerabilities being discovered every day.

Right now I use www-client/chromium compiled with a few patches, and www-client/firefox. I don't really want to use Flatpak, mainly because I compile my web browsers with the /etc/portage/patches feature.

Would something like bubblewrap work? I want to restrict my web browser to only access the GPU and ~/Downloads, kinda like how it works on OpenBSD.

reddit.com
u/cometomypartyyy — 5 days ago
▲ 20 r/freebsd

Considering trying out FreeBSD from Gentoo Linux.

Hey everyone,

I've been thinking about trying out FreeBSD on my desktop, mainly to try something new. I have a couple questions about how FreeBSD works, mainly the packaging system.

Firstly, is there an equivalent to USE flags on FreeBSD? On Gentoo, I'd have a /etc/portage/make.conf, which has the USE flag setting. I understand that Gentoo's portage is inspired by FreeBSD's ports, but I'd like to know if that feature is still there.

Secondly, is there an easy way to patch packages built with ports? I use Chromium on Gentoo Linux, but I manually put a .patch in /etc/portage/patches/www-client/chromium/ so I can use Manifest V2 extensions, without losing Google features like page translation and sync. Portage automatically applies this patch on every recompile and package upgrade.

Thirdly, I'd like to ask how is gaming on FreeBSD. This subreddit probably gets bombarded with this question over and over again, and so I apologize, but I'm curious. I am okay with using something like the Linux ABI compatibility layer, or WINE/Proton. I did hear that I'd need to configure the kernel to use COMPAT_FREEBSD32, is that still true?

Thank you for taking the time to read this, and I hope I can try out FreeBSD soon!

reddit.com
u/cometomypartyyy — 6 days ago
▲ 22 r/freebsd

Curious about jails, pledge(2), and unveil(2)

Hey everyone,

I've been thinking about trying out FreeBSD on the desktop, and right now I'm on Gentoo Linux. After doing some research and asking a few questions, I discovered you can use jails to containerize programs on your system.

I'm curious to see how you use jails on a FreeBSD desktop. I heard about people using jails to seperate their web browser from the rest of the system, which is something I'm interested in.

I'd also like to ask, does Chromium (or firefox) on FreeBSD make use of pledge(2) and unveil(2)? I saw this neat little video about how OpenBSD patches chromium, and I'm curious to see if that's the case on FreeBSD.

Thanks for reading!

reddit.com
u/cometomypartyyy — 8 days ago
▲ 20 r/zfs

OpenZFS tuning for torrents?

Hey everyone,

I've been recently thinking about migrating from btrfs to ZFS, mainly because I'd like to learn how it works, use send/recv for backups, and to improve my skills with system administration. I have a 14TB drive which I use to store personal data, documents, and linux isos.

Due to the way torrents work, it can cause fragmentation on copy-on-write mountpoints. Usually in btrfs, I'd just make a new subvolume with NODATACOW, and set it as the unfinished downloads directory in my torrent client.

I did read through the documentation for Workload Tuning, and it does mention the fragmentation issue, and it suggests the same copy method I use on btrfs. Am I able to just set chattr +C /mnt/nodatacow on my nodatacow dataset's mountpoint and call it a day?

Also, if you have any other tuning recommendations for torrents, please let me know! :) If it helps, I'm using openZFS 2.3.6 on Gentoo Linux. Thanks for reading!

..Since you've been reading this far, I'll slip in another question I've been having.

Theres a lot of debate around if single disk ZFS is worth it. Is it? I'm interested in trying ZFS but as a somewhat broke highschooler with only one 3.5 inch disk slot on my PC, I'd need to do some big upgrades to make use of mirrors and multi disk zpools.

reddit.com
u/cometomypartyyy — 19 days ago