-
deimosBSD
anyone else have AVAGO MegaRAID SAS 9361-8i that causes checksum errors with zpools? the drives are all fine according to smartctl
-
deimosBSD
the controller is in jbod mode
-
ketas
MelMalik: if you want to perform lockdown in jail or are on low end flash storage, you could run everything you want ro, it gets a hassle in some cases, but you said normal eh, hard to say, first things that could be ro are things that are never written to because they lack (suid) permissions
-
MelMalik
ketas, I want to put the brakes on a hypothetical jailed customer breaking their own system, so I want to mount as many directories as possible RO.
-
ketas
MelMalik: do they manage it? then no real answer except education and system restore capabilities, maybe with fees... if they don't it could be ro and even rootless
-
ketas
i though it was security question first :p
-
ketas
what breaks is not in /tmp and /root and /home... and maybe not in part of or even full /var
-
ketas
but this is like how to still eat while not being able to put fingers into your mouth
-
MelMalik
ketas, security in the same way a seatbelt is security i suppose. prevent them from flying through the window if things go horribly sideways
-
ketas
regular things don't help?
-
MelMalik
idk
-
ketas
yeah jails have fancy option to make fs ro even for roots
-
ketas
:p
-
MelMalik
i mean, it is mostly academic
-
MelMalik
the idea is
-
ketas
i have jails where service jails have everything ro except /root where all the stuff lives in
-
ketas
a bit hassle
-
ketas
other rw's are /tmp & /var
-
ketas
one jails manages what passwd has in it and what's generally runnable on this
-
ketas
rc.conf is under /root as well :p
-
ketas
unconventional
-
MelMalik
interesege!
-
ketas
all jails share a / and /usr/local which are separate fses ro
-
ketas
s/ro/and ro/
-
ketas
one has own rw /etc since i gave shell to a friend and he insisted using PASSWORD for ssh
-
ketas
unsure why i created / structure under /root
-
ketas
was already there i guess
-
ketas
:p
-
ketas
had to patch rc to allow extra periodic.conf
-
ketas
users are numerics that are preallocated by some prefix
-
ketas
seems like mess tho
-
ketas
basically did own jail mgmt
-
ketas
base upgrades consist stopping jails, doing zfs rename and then starting them again
-
ketas
and probably host too since it's same
-
ketas
i have some directory what i tar | tar over resulting installworld
-
ketas
where my base config is
-
ketas
sad that unionfs sucks so hard
-
ketas
even after 20+y
-
ketas
that has uses too
-
ketas
right now it just makes my livecd virtially "rw"
-
ketas
if it blows up i have nothing to lose
-
MelMalik
i wonder if the union concept should be implemented at a lower level, perhaps at the vfs level rather than being a filesystem driver
-
ketas
unsure
-
ketas
hackers mailing list had someone wanting to fix it
-
ketas
but not change concept
-
DarkUranium
!
-
DarkUranium
This year's EuroBSDCon is 1hr drive from me \o/
-
DarkUranium
Never gone, but considering it's *that* close ......
-
ketas
DarkUranium: i have wondered about going there, multiple times
-
ketas
it keeps moving around so it's either more or less appealing
-
nwe
good afternoon!
-
remiliascarlet
Is there any quality control in the ports at all? I mean, I installed KDE Plasma 6 on FreeBSD, right clicking the panel crashes KDE Plasma, and pressing CTRL + C in Konsole crashes the entire PC outright.
-
morpho
:(
-
megaTherion
remiliascarlet: there are binary packages available?
-
remiliascarlet
Yes, I installed via PKG.
-
remiliascarlet
The only thing I literally compiled from source in the ports collection is Zig, this is so I can use Zig 0.14.0 instead of 0.13.0.
-
CrtxReavr
You know. . . I really feel like ports have suffered over the years.
-
CrtxReavr
Packages went from convenience to requirement.
-
CrtxReavr
So many ports won't even build anymore, outside of poudrier.
-
ivy
requiring packages makes sense since not doing that requires a bunch of code duplication to handle things like pkg-messages. but the poudriere thing i agree about, either we should require poudriere or things should work without it
-
megaTherion
CrtxReavr: well KDE was never a great thing on freebsd
-
CrtxReavr
I completely disagreet.
-
CrtxReavr
I remember having a KDE setup that rocked.
-
megaTherion
and I remember having it on freebsd many years ago and it wasnt the quality as on Linux
-
CrtxReavr
Then nVidia released their FreeBSD drivers and it only got better.
-
megaTherion
I think 5 was very late ported to freebsd kinda, but I did quit kde then eventually anyways
-
CrtxReavr
Though. . . I stull normally favored a lighter weight setup.
-
megaTherion
and no clue about 6, these days I just let the mac do what it can do best.. desktop
-
CrtxReavr
blackfox/fluxbox
-
CrtxReavr
Lightweight, but still supported gtk/gnome apps.
-
benjamino
speaking of drivers, should I not be able to pkg install drm-kmod on i386 14.2?
-
benjamino
No packages availabe to install matching 'drm-kmod' have been found in the repositories.
-
benjamino
if i want to install it from ports, do I understand the Makefile correctly that I need drm-510-kmod first?
-
ivy
benjamino: drm-kmod is supposed to create a metapackage that installs the correct version automatically, but perhaps it failed to build... i wonder how well tested it is on i386
-
benjamino
i mean xorg and lxqt work fine, do I need it at all?
-
ivy
if you have a gpu supported by the drm drivers, it will significantly improve performance, but it's not technically required
-
ivy
i would suggest trying to build it from souce and see what happens, if it fails you can open a bug
-
benjamino
ivy: i'll give it a go, thank you!
-
mtll
benjamino: somehow I doubt that if you're on i386 you have a GPU that would benefit from kmod? what hardware are you running?
-
benjamino
mtll: its an asus eee pc 1005p, intel graphics
-
morpho
nice
-
benjamino
i ran make install clean in the drm-kmod port, its still going...
-
mtll
oh interesting
-
mtll
is that with an atom n450 chip? wikipedia claims it has x86-64 "if enabled", whatever that means
-
ivy
is that one of those weird early machines with a 64-bit CPU but a 32-bit EFI firmware?
-
morpho
some cpus could do more than 4gb of ram on 32bit
-
benjamino
it is N450!
-
ivy
morpho: that's PAE though, not x86-64
-
benjamino
does this mean i could install a 64-bit freebsd?
-
mtll
benjamino: maybe, not sure
-
mtll
see if there's a bios setting for it?
-
mtll
should be called "Intel 64" or something like that
-
benjamino
ill try it as soon as make finishes, thanks, i never thought it could have 64-bit support since its so old
-
ivy
if it's 32-bit EFI (e.g. eeepc 1025C) you need
freebsd/freebsd-src #1098 and i don't know if this made it into 14
-
mtll
N450 is way more recent than x86-64
-
mtll
it's just that these atom chips were extremely stripped down
-
ivy
looks like that was only MFC'd last month so probably not in 14.2
-
remiliascarlet
CrtxReavr: Well, KDE is pretty stable on OpenBSD 7.7 (snapshot, still waiting for the actual release).
-
benjamino
dmidecode says its 64-bit capable
-
benjamino
so this might just work hehe
-
benjamino
anyway, make failed, it says that drm-510-kmod is unsupported on 14.2 and higher, ill just go and check the bios for the 64 bit option, brb
-
benjamino
no option to activate 64-bit in BIOS, ill just try to install the 64-bit OS and see what happens
-
mtll
I assume if you live boot some 64bit thing it'll shit itself well before being able to install something, if there is no 64bit support
-
hodapp
Is there a good process for migrating a normal UFS installation over to root on ZFS? I'd be doing it on a separate drive too, but wanted to avoid doing a full installation and then migrating everything over manually
-
ivy
hodapp: you can pretty much just boot from an installer/rescue system and copy it over with tar. you'll need to look up how to create the correct zfs layout, i think this is on the wiki somewhere
-
mtll
make sure you preserve permissions when you copy stuff over or you could have a very bad time of it
-
hodapp
'copy it over' = copy the existing root FS over?
-
ivy
yes
-
mtll
I'd assume you'd have to change some bootloader config and stuff too? not too familiar with loader.conf
-
hodapp
hm, yeah, would expect those might need some manual patching up
-
mtll
and yeah, preserver permissions and ownership and all those things
-
mtll
consult the cp/tar manpages I guess
-
ivy
for loader.conf you just need to load zfs.ko (if you didn't compile it into kernel), it should pick up the root fs correctly as long as bootfs is set
-
hodapp
maybe I should do a very barebones installation to new drive, verify that it at least boots, and get back to intaller/rescue to clone things from existing root
-
benjamino
mtll: in case you want to know, 64-bit version is installed and works just fine, haha, i don't know why i didnt try this in the first place, anyway, pkg install drm-kmod works now, great, i can keep this baby for years to come :D
-
nwe
I trying to install linux in bhyve va vm-bhyve show should I get so my virtual machine bootin from debian.iso file?
-
rtprio
vm install mydebian debian.iso
-
rtprio
yep
-
nwe
rtprio: but should loader="uefi" or?
-
rtprio
it uses the template when you created it
-
rtprio
if you want it to use uefi, update the template, or use a different template
-
mzar
# pkg clean
-
mzar
pkg: No package database installed. Nothing to do!
-
rtprio
mine are all grub, i haven't been bothered to change it
-
mzar
...odd
-
mzar
nwe: perhaps you want to deploy open-stack debian image wiht vm-bhyve ?
-
mzar
it's seamless
-
nwe
rtprio: because after I have fetch debian-12.10.0-amd64-netinst.iso and create vm create myguest and trying to boot it looks it cant boot from iso
-
nwe
Im just entering uefi shell
-
mzar
no need to install anything, just provision with ssh keys
-
rtprio
mzar: hush, for now
-
rtprio
nwe: which template did you use to create myguest?
-
nwe
rtprio:
pastebin.com/4Ha1rG72 found one example on internet :P
-
rtprio
... uh
-
rtprio
you know that vm create will use templates in /$VMDIR/.templates
-
rtprio
the debian one, last i checked, uses grub
-
nwe
rtprio: yes but doesnt I need to create the template by myself and put it in VMDIR/.templates?
-
rtprio
iirc when you run `vm init` it copies the templates packaged with it into the templates directory
-
rtprio
you did do that, right?
-
nwe
yes but I only have one default.conf
-
rtprio
-
rtprio
i set mine up a long time ago and haven't thought about it since
-
nwe
rtprio: I will try with this template :)
-
nwe
-
nwe
does that mean zpool/dataset?
-
rtprio
yeah, a zvol. just a chunk of space on the zpool, without a 'zfs' filesystem
-
nwe
rtprio: what do you suggest use zfs-vol or disk0.img ?
-
rtprio
if you're using zfs, zfs-vol would have some advantages, easier/better snapshots
-
nwe
rtprio: another stupid question :) if my rc.conf looks like this vm_dir="zfs:tank/bhyve" so bhyve using zfs then I should just add what the new volume would be named in the template and it will be created?
-
rtprio
you should really read the docs, but as i recall you set the things in rc.conf and then run `vm init` that will set it up
-
rtprio
and vm create _should_ create the zvol but i haven't used it
-
» rtprio is stuck on a machine with a hardware raid
-
nwe
will read the docs more :) and thanks for the help rtprio :)
-
mzar
nwe: you can create zvol, and just change disk0 in machine config file before installation
-
nwe
mzar: I will try it out, thats the best way to learn :) read and try things out :)
-
mzar
OK, have a splendid and playful install nwe
-
vxwarlock
Cloudflare Zero Trust Tunnel FreeBSD can you share the document for the construction?
-
nwe
mzar: thanks :)
-
rtprio
vxwarlock: wasn't aware freebsd was a supported platform
-
vxwarlock
Thanks for answering rtprio
-
rtprio
also why do you want cloudflare on your local network
-
vxwarlock
A great loss
-
rtprio
yeah, i disagree
-
vxwarlock
rtprio > vps install freebsd > tunnel cloudflare and domain to tunnel interfaces
-
rtprio
yeah, sure, but what problem does it solve
-
mzar
"Where it is not optimal or possible to install software agents, networks can also be connected to Cloudflare using existing network equipment, such as routers and network firewalls. To do this, organizations create IPsec or GRE tunnels that connect to Cloudflare's cloud-native Magic WAN ↗ service."
-
mzar
so at least this method looks feasible
-
vxwarlock
To distribute tunnel services between VPSs | and maybe a little more security
-
nwe
z
-
vxwarlock
Thanks mzar
-
rtprio
well you don't run the router in a vps so that's not feasible
-
rtprio
just use a wireguard tunnel like a normal person
-
mzar
-
CrtxReavr
Snapdragon is ARMv7?
-
vxwarlock
mzar > you read very fast;) I have to examine this document. Thank you for my sharing.
-
Yaazkal
OpenZFS documentation says to use 32k recordsize for postgresql. Anyone with another opinion? (I'm using 32k at the moment because ot that documentation)
openzfs.github.io/openzfs-docs/Perf…g/Workload%20Tuning.html#postgresql
-
mzar
why don't you trust the documentation Yaazkal ?
-
Yaazkal
mzar I trust it, that's why I'm using 32k. Wonder what are the othe opinions, many blockes suggesting 8k and others 16k but no one mentioning that documentation hehe
-
Yaazkal
s/blockes/blogs
-
mzar
hm.. I have 128k for postgres, it looks like neglected setup :-/
-
Yaazkal
-
Yaazkal
so different opinions
-
mzar
but for MariaDB 16K is set
-
» Yaazkal TIL that NVMe should be formatted to 4096-byte sectors without metadata before using them on ZFS
-
rodolfo
Hello. Are there any script like "localepurge" to be used in a FreeBSD environment?
-
rtprio
you mean like "rm /var/db/locate.database" ?
-
rodolfo
rtprio: no, it's not about "find".
-
rodolfo
rtprio: it's about localization files like man pages, docs, etc
-
rodolfo
rtprio: directories like "du -hsc /usr/local/share/locale /usr/share/locale"
-
rtprio
fuck my font, oops
-
rtprio
no, none that i'm aware of
-
mzar
rodolfo: you can do it per user, software from ports usually respects locale(1), and plese take a look at login.conf(5), also notice ~/.login_conf file
-
mzar
manuals are not traslated, but kept up to date
-
benjamino
/quit
-
» benjamino facepalms
-
thedaemonAtWork
lol