-
kerneldove
how can i see if the default sendmail is running?
-
kerneldove
the thing that the hardening option is supposed to disable. just wanna confirm it worked
-
kerneldove
14.4 fwiw
-
sig`
sockstat -4 -6 | grep sendmail
-
kerneldove
tyvm sig`
-
kerneldove
i see /etc/hosts doesn't get populated with the hostname we set during install, why is that?
-
kerneldove
is there any benefit to putting the public ip and hostname of the current machine in its /etc/hosts?
-
kerneldove
sorry i got d/c
-
kerneldove
is there a vm-bhyve but for jail containers?
-
kerneldove
i used to use bhyve manually but vm-bhyve is a really nice wrapper so i switched to it
-
kerneldove
super minimal, basic abstraction
-
adavis07942
Has anyone seen some strange output from the latest update using `freebsd-update install`?
-
adavis07942
[03:34] andrew@apu ~ [1]> sudo freebsd-update install
-
adavis07942
src component not installed, skipped
-
adavis07942
Creating snapshot of existing boot environment... done.
-
adavis07942
Installing updates...install: ///usr/lib/debug/boot/kernel: No such file or directory
-
adavis07942
install: ///usr/lib/debug/boot/kernel: No such file or directory
-
adavis07942
[...]
-
adavis07942
-
kerneldove
i'm working on setting up a vnet jail. i'm supposed to use an $id in the config the handbook says, and it represents the last octet of the ip. but what if the box has a class b assigned to it, so there are 2 usable ips with the same octet? like 10.10.10.200 and 10.10.11.200
-
kerneldove
tyvm
-
kerneldove
back got d/c
-
joemie
the last octet is in this case the 200.
-
kerneldove
ya
-
kerneldove
but how can that be $id, and $id be unique, when there will be another jail with 200?
-
mzar
kerneldove: why do you need vnet jail ?
-
joemie
there's nothing that binds you to use that $id: not sure of the handbook, but my setup uses the last octet to also set the epair
-
mzar
jails without inet perform better
-
mzar
s/inet/vnet
-
mzar
btw, running it without inet is also fun, if you have inet6 deployed correctly
-
joemie
I always found the non-vnets a hassle, adding aliases to the host nic and the meddling with 127.0.0.2
-
mzar
but they are just better with regard to network access
-
joemie
I'm running 15 vnets and not having any problems whatsoever. several bridges are connected to different vlans
-
kerneldove
better how?
-
joemie
wondering as well
-
kerneldove
joemie do any of your vnet jails do production traffic levels?
-
joemie
yes
-
kerneldove
nice
-
joemie
maybe mzar wants to elaborate on his claim?
-
mzar
not at all
-
mzar
just less overhead
-
mzar
not convinced ? connect your jail to at least 10G network with/without vnet and run iperf
-
kerneldove
that would be a good test. joemie you done that?
-
kerneldove
mzar so you're saying the overhead is low enough you need to push around 10gbps for it to show up?
-
joemie
nah, I'm happy as I am
-
mzar
nope, it will show up on 1G too
-
mzar
OK
-
joemie
btw, I do not refute what you're writing, always willing to learn
-
kerneldove
how much % overhead did you see on 1G mzar?
-
mzar
kerneldove: I see no overhead since I am almost no using vnet jails, if so, then only in places where network performance is not that important
-
kerneldove
lol k
-
mzar
kerneldove: if you want to benchmark it and share results, please let us know
-
kerneldove
why didn't you do that mzar?
-
mzar
I am not much interested in obtaining any detailed results
-
kerneldove
just seems kinda selfish that's all
-
kerneldove
if you collected and reported the data when you found it maybe the devs coulda fixed it?
-
mzar
hhe...
-
joemie
just did an iperf3 from the host and a jail, both towards my firewall, and there wasn't any noticable difference.
-
joemie
as a test I did the same from one of my linux hosts.. same
-
joemie
disclaimer: I'm on a 1Gb network, not 10Gb
-
kerneldove
joemie thx for putting in the effort to test that. really appreciate ppl care enough about the project to put the time in
-
mzar
overhead ≠ regression, so it's nothing to report here
-
mzar
and this is well known fact
-
kerneldove
sounds like excuses but ok
-
joemie
mzar: you told me to test with iperf, and so I did. What exactly are you blaming vnets now from?
-
joemie
I cannot help it if the results do not fit your earlier claim
-
mzar
joemie: I am not blaming anyone
-
mzar
overhead is overhead, if you drive a car with/without a trailer you know what I am typing about
-
joemie
okay
-
mzar
TBH this Bumsrakete CVE is very nice, works also in jail
-
yourfate
ye its wild. I just patched.
-
Demosthenex
anyone know about java classifiers? trying to get a clojure project running on freebsd and it keeps trying to use linux libraries
-
JurassCZ
Hi, I have a question related to ZFS snasphots. I have send snapshot to my usb flash disk. Now I want to do restore so I can rollback to this flash disk snapshot, but it desn't work:
-
JurassCZ
root@bsdlatitude:~ # zfs receive -F zroot/ROOT/default@backup-2026-06-12 < /mnt/usb-flash/zroot--root--default--backup-2026-06-12.zfs
-
JurassCZ
cannot unmount '/': unmount failed
-
JurassCZ
--- It looks to me like I will be not able to do it from live system. Or is there a workaround?
-
JurassCZ
Nothing written about this in Handboook, even in Absolute FreeBSD book is this part missing
-
mzar
JurassCZ: you need to boot from USB stick, PXE, etc then recover - it will not overwrite working system
-
mzar
you can rollback it, but not overwrite
-
JurassCZ
mzar: Ok thanks
-
mzar
perhaps it will be possible to overwrite / but I don't recommend such an approach
-
mzar
s/possible/feasible
-
OpenSource
Hello. I have installed FreeBSD inside a virtualbox VM in linux host. I have given it ICH AC97 audio driver. The audio seems to be playing in volume levels which I can see fluctuate, but I don't actually hear anything. The speakers are on and host can make sound, but VM can't. I am not sure what to do at this point. Any guidance?
-
OpenSource
I am now testing the HD Intel audio virtual hardware, maybe that will work. I don't know yet
-
OpenSource
Still no luck
-
leah2
how do secure ttys work? doesn't getty (or login) check /etc/ttys against the current ctty?
-
leah2
oh i'm dumb, i uncommented the line :D
-
cullum
is it possible to blank the screen using the new vt console? I think the answer is no
-
mzar
no
-
mzar
and yes
-
mzar
if you load proper graphics driver
-
mzar
but not like the old sc console with saver_green
-
cullum
thanks mzar. reason i ask is because wayland sessions only work with console login currently, and if no one is logged in, the screen never turns off.
-
cullum
-
mzar
I am still using X11/xorg, so can't help much
-
JurassCZ
I;m disappointed from that guy named Michael W. Lucas, who wrote Absolute FreeBSD book. I suspect he also wrote Handbook for FreeBSD. Both, the Handbook and the Absolute Freebsd has not covered very important ZFS use case "I have ZFS snaphot backup on external media and now i want to do receive that snapshot and rollback changes to it." That
-
JurassCZ
Michael Lucas is sayig in his book "Use ZFS, it's more modern that UFS", but in a meantime, his book don't have any single one occurence of the string "zfs receive". Also, in a meantime, this guy has wrote book named FreeBSD ZFS Mastert, so he obviously very much know, how to do the above thing. And so in summary, I suspect this person
-
JurassCZ
intentionally is not telling this, because he want you to buy his Absolute FreeBSD book, and then to buy a second book about ZFS he wrote. I have big doubts this is not intentional.
-
JurassCZ
The ZFS for ordinary FreeBSD user is suppose to be a major backup solution. And of course this means to do backups on external media. And of course this means there must be also a solution to do recovery. But it's missing in his books.
-
V_PauAmma_V
Have you checked the ZFS chapter in the online FreeBSD handbook? (
docs.freebsd.org/en/books/handbook/zfs/#zfs-zfs-send )
-
mzar
JurassCZ: this chapter in handbook is very good writeup for ZFS beginners
docs.freebsd.org/en/books/handbook/zfs
-
JurassCZ
Yes I have. I know it's there. There is covered zfs receive, however there is not covered how to place this new snapshot to default zpool. So you can't rollback to it.
-
JurassCZ
This very part is, however, partially covered in the Absolute FreeBSD book. i suspect I have to buy the ZFS Mastery book of the same author, who wrote the Absolute FreeBSD and The hanbook, so I will have full picture.
-
voy4g3r2
-
JurassCZ
voy4g3r2: Not really, I know how to do rollback. You can't do however rollback to your snapshot from external drive. You rist has to mount its pool as "/", but this can't be done on currently running live system.
-
voy4g3r2
hrm..i have done snapshot rollback using external devices.. zfs send / zfs recv
-
voy4g3r2
maybe someone smarter than me knows your situation.. but it has worked with other datasets.. i also have snapshots both local to the server and replicated to a remote one.
-
voy4g3r2
are you deleting the snapshots ON the machine? after a backup to remote machine?
-
JurassCZ
voy4g3r2: then it wasn't a root "/" filesystem but only e.g. /usr/local, maybe that's possible.
-
JurassCZ
voy4g3r2: yes I tried to destroy snasphot in the default pool. You can't unmount default pool when your system is running. THat's the reason you can't rollback to snapshot received from the external drive.
-
JurassCZ
This will backup entire "/":
-
JurassCZ
root@bsdlatitude:~ # zfs send zroot/ROOT/default@backup-2026-06-12 > /mnt/usb-flash/zroot--root--default--backup-2026-06-12.zfs
-
JurassCZ
Then, it is not possible to do this on live system:
-
JurassCZ
zfs receive zroot/ROOT/default < /mnt/usb-flash/zroot--root--default--backup-2026-06-12.zfs
-
scoobybejesus
I haven't tried something like this, but I've seen folks talk about it, where you would zfs receive to some dataset from the USB, and then perhaps set that dataset to mount as "/" on the next reboot, like via bectl or something. I guess i'm kinda thinking out loud
-
mzar
JurassCZ: send/recieve works. you have to practice, that's all - you can create a pool from files attached to geom with mdconfig(8) and start this way
-
JurassCZ
mzar: yes, I'm not saying that send receive doesn't work. I can receive the snapshot to pool. But the pool can't be the "default", it must be eg. "default-2". And you can't rollback to default-2, because it's not mounted to "/".
-
JurassCZ
So now I have to go and try to somewhat mount it in Live CD and hopefully, I will be able to make it working. But it's not covered in Handbook and in neither in Abslute FreeBSD.
-
mzar
OK - it's something for ZFS users to figure out on their own
-
mzar
if you are long-standing FreeBSD and ZFS user you actually like it
-
JurassCZ
If you have UFS, you know you will use dump/restore. And you know what to do. But everybody is still saying you "you should be using ZFS, because UFS is old". And so I have ZFS and obviously, the entire backup procedure from external drive (of the entire "/" system) is not covered in any books.
-
mzar
UFS is not as handy as ZFS
-
mzar
if you get spoiled by ZFS once, you'll rather no longer want UFS
-
JurassCZ
Well, I can create UFS easily with GPart, and I don't need pescial knowledge to learn how to do full "/" backup from external drive.
-
mzar
OK
-
mzar
but you will miss BE (boot environments) - it's IMHO great loss
-
voy4g3r2
oh yes.. i have had to rollback the BE
-
voy4g3r2
it is great
-
scoobybejesus
quick research suggests receiving the snapshot to a different dataset, double checking the properties of mountpoint and canmount, and running bectl list to confirm it is seen as a legitimate boot environment
-
scoobybejesus
and go from there
-
moof
are the 15.1-RELEASE builds still tentatively scheduled for tomorrow (2026-jun-13)?
-
OpenSource
Ok so I figured out the sound issue. It was to select Intel HD Audio in virtualbox for the FreeBSD VM, and selecting pulseaudio as the driver. I got sound now and a nice FreeBSD Desktop with KDE plasma. Very nice
-
ant-x
Hello, all. What shall I define for a C project to get available SIGWINCH from signal.h in a portable manner? -- <
pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html>
-
ant-x
Looks like varous runtimes define their own FTMs... For example, glivc has _DEFAULT_SOURCE .
-
rwp
ant-x, I don't think you need to define anything. I think it will be defined by default when that file is included.
-
ant-x
rwp, with -std=c89 -D_POSIX_C_SOURCE=200809L , SIGWINCH is not there.
-
supaplex
github.com/supaplextor/tech-bucket/blob/main/FreeBSD-15/mountroot.md stuck booting. This is after using nearly identicial kernel config to generic, with 'sa' module support. (tape seq. access)
-
supaplex
this is from the ip kvm (no relation to qemu)
-
supaplex
I figured out booting the old kernel...