-
rwp
ant-x, Firewalls are a big umbrella protection. I always install a local caching nameserver such as bind or unbound but I don't want it to be publicly available as a resolver. Does it bind to the loopback or to the public network? With a firewall in place it does not matter.
-
rwp
Also I use fail2ban to reduce the log file size and noise and that works with the local firewall.
-
tm512
I'm still dealing with this weird pkgbase issue. for some reason, pkg fails to ever upgrade FreeBSD-src and FreeBSD-src-sys
-
tm512
I can remove the packages and completely nuke /usr/src, reinstall the packages which successfully brings that directory tree up-to-date, but as soon as I upgrade the base system, /usr/src falls out of date and fails pkg check
-
rtprio
tm512: what's the error
-
tm512
pkg check gives an abundance of "checksum mismatch" and "missing file" errors, because what's in /usr/src and /usr/src/sys is from an older version of the packages
-
tm512
mostly unrelated to that, but I am curious to try something on stable/15, whereas I'm still on stable/14. wondering if the less painful route of migration is to go from my latest 14 boot environment up to 15, or dust off this 15 boot environment from early september and upgrade that to the latest
-
tm512
not sure if the 14 -> 15 migration via pkgbase is any less annoying than it was back in september, and I don't think I'm losing any configuration changes by rolling back 5 months. I guess upgrading my 15 BE is best as long as upgrading from ~15-ALPHA1 through pkgsrc isn't too big of a jump
-
tm512
er, s/pkgsrc/pkgbase
-
PaddyMac
If Synth aborts while regenerating the flavor index because it encountered an error in a Makefile, is there anything I can do to resolve the issue, or is that an upstream issue that needs to be resolved? I just updated the ports tree before trying to install a port, and I got that error about lang/python-doc-pdf-a4
-
V_PauAmma_V
Not sure without seeing more of the actual error output, but was the port very recently updated? This smells like it may be someone forgetting about
docs.freebsd.org/en/books/porters-handbook/testing/#make-describe
-
PaddyMac
Regenerating flavor index: this may take a while ...
-
PaddyMac
Scanning entire ports tree.
-
PaddyMac
progress: 47.64%
-
PaddyMac
culprit: lang/python-doc-pdf-a4
-
PaddyMac
Scan aborted because 'make' encounted an error in the Makefile.
-
PaddyMac
lang/python-doc-pdf-a4 (check /tmp/synth.scanner.35.out)
-
PaddyMac
Flavor index generation failed: ports scan
-
PaddyMac
That was the entire thing. But the .out file it mentioned doesn't exist,
-
V_PauAmma_V
Looks like that port was removed in
cgit.freebsd.org/ports/commit?id=5e…90f3a2307b70e48a2aab08c021b417eedd0 (less than 2 days ago). You may want tor trtry after refreshing your ports tree.
-
V_PauAmma_V
s/tor trtry/to retry/
-
PaddyMac
I don't get it. I do not have that port installed, and that directory does not exist in my ports tree. But Synth still aborts when it reaches that port in its scan. No idea where it is getting that from.
-
PaddyMac
I'm using the git ports tree.
-
PaddyMac
Ah. Apparently even if the port was deleted, python-doc-pdf-a4 still exists in the /usr/ports/lang/Makefile
-
fnix
Getting chrome for linux/widevine running on freebsd is so easy now
-
fnix
A few years ago you'd have to jump through hoops
-
PaddyMac
fnix It is pretty awesome.
-
V_PauAmma_V
PaddyMac, that might be it, then. If you have a FreeBSD Bugzilla account, you should file a ports bug about that.
-
V_PauAmma_V
s/might be/probably is/
-
PaddyMac
I even reset my git tree. So yeah, I guess this does wrrant abug report.
-
V_PauAmma_V
(If you don't have a Bugzilla account, ask in #freebsd-ports for a committer to fix that, linking to the removal URL.
-
V_PauAmma_V
)
-
tm512
wondering if my /usr/src pkgbase issue has anything to do with boot environments. is /usr/src excluded from boot environments created with bectl?
-
tm512
my current method for upgrading my system is to create and mount a new BE, then upgrade the BE using pkg -c, activate the BE, then reboot
-
PaddyMac
Even if a commiter fixes the issue, it seems like Synth itself should be able to not choke on something like that.
-
tm512
though I think this issue with /usr/src never getting updated was happening even back when my upgrade strategy was to reboot into a new BE before running any upgrades
-
tm512
since when I first noticed that /usr/src was out of date, I think the files in there were from back in 2024 not long after I first installed FreeBSD on this machine
-
SarahMalik
/usr/src has to be included because it's different between each release
-
tm512
it does seem to be a boot environment issue. /usr/src gets updated files inside the BE's root, but then when I actually boot into the new BE, zroot/usr/src, containing outdated sources, gets mounted over the updated /usr/src on the root
-
SarahMalik
set zroot/usr/src legacy mounted?
-
tm512
what does that mean exactly?
-
tm512
wondering why I shouldn't just destroy zroot/usr/src
-
tm512
there doesn't seem to be a benefit in having one copy of the source tree shared between all of my BEs
-
tm512
for trying 15 I guess I'm best off just upgrading from my BE of stable/15 from around the release of ALPHA1. my only chance of trying the latest DRM drivers is if I jump over to 15
-
tm512
though last I heard, from this other person who's getting GPU hangs similar to what I'm getting, the 6.9 drivers don't fix the issue
-
tm512
I'm curious about the 6.10 drivers that got merged into drm-kmod master about a week ago
-
tm512
these GPU hangs significantly affect how I'm able to use my computer and if I were reasonable I probably should've abandoned FreeBSD by now with how long it's been with zero attention from the drm-kmod devs
-
SarahMalik
tm512, legacy mounted refers to setting mountpoint=legacy. that stops zfs from automounting the dataset letting it be mounted in /etc/fstab instead if you should want
-
SarahMalik
destroying it is valid but not preferable (what if you e.g. need to extract etcupdate from it)
-
tm512
well the zroot/usr/src dataset isn't being kept up to date properly. I have to remove the packages, nuke /usr/src, and reinstall the packages while zroot/usr/src is mounted
-
tm512
if I try extracting anything from it, unless I go through that hassle every time I update, I'm not going to get stuff that matches the running system
-
SarahMalik
ah
-
SarahMalik
then, nevermind i suppose, just destroy it
-
tm512
I could keep it up to date if I mount the dataset under the BE's mountpoint while I'm upgrading
-
tm512
but then I'm sharing a source tree between all BE's and if I have to roll back an upgrade for some reason I'm going to have to manually intervene to downgrade /usr/src
-
fnix
You could use git and switch between branches when upgrading/downgrading the system
-
fnix
then again I didn't follow the discussion
-
daniel2
How come the pkg list is not publically viewable anymore?
-
daniel2
-
rtprio
it's huge
-
rtprio
and also: why
-
SarahMalik
for great justice /s
-
rtprio
i am stuck on a "bhyve exited with status 4" on a host that i swear was running
-
tm512
well, I gave iwlwifi another shot here, now on 14.4-STABLE. it's just as busted as the last time I tried, unfortunately
-
tm512
does iwlwifi even support 802.11ac on the Wireless-AC 9260 card? I just noticed on the man page that ac is only supported on the 22000 generation and later, I'm guessing the 9260 is part of the 9000 series generation and not supported?
-
tm512
and is it the same situation on 15.0? I noticed the stable/15 branch has work that was never backported to 14
-
tm512
considering the state of FreeBSD's wifi support, maybe I just need to resort to wifibox again
-
tm512
I wonder if there are even any plans for iwlwifi to support the full capabilities of this card, and even if so, if it's just gonna be pushed off while 802.11ax support is prioritized
-
eoli3n
Ok, so my VM is still crashing without any clue of what's going on
-
eoli3n
in less than 24h it just stops working
-
eoli3n
console is a black screen, unreachable from the network
-
eoli3n
no kernel crash, nothing in logs, i checked netdata searching for any spike before crash and NOTHING
-
eoli3n
ram is available, not any cpu spike, no swap
-
eoli3n
lately i had some problems with syncthing amount of files open
-
eoli3n
i fixed the syncthing issue with : kern.maxfiles=500000 and kern.maxfilesperproc=131072 in /etc/sysctl.conf
-
eoli3n
if it makes my os not stable, shouldn't it trigger a kernel crash instead of a black screen ?
-
eoli3n
i enabled watchdogd, so if it crashes it should reboot : it does not
-
eoli3n
and /var/crash/ remains empty
-
eoli3n
(i tested a crash following the documentation and it worked with the simulation)
-
black
did anyone mention my nick?
-
eoli3n
(sysctl debug.kdb.panic=1)
-
eoli3n
i did
-
eoli3n
"black screen"
-
eoli3n
now you're here, help me figure it out :)
-
SarahMalik
do you have a swap partitioen
-
eoli3n
yes i do, but as said it's not swaping
-
eoli3n
let me paste netdata graph
-
eoli3n
it swaps but very very light
-
SarahMalik
was it set as dumpdev when you crashed the bus
-
eoli3n
the swap ?
-
SarahMalik
yes
-
black
eoli3n: what's your VM environment? vBox or qemu?
-
eoli3n
i don't think so, how do i do this ?
-
SarahMalik
you should `sysrc dumpdev=AUTO` and then reboot normally; in my case I have a network dump device which requires more complex setup and another server running freebsd at least 13
-
eoli3n
black i'm running a VM in "freebox os 4.9" this is a french isp router which allow to run vms
-
eoli3n
SarahMalik: yes, i did that
-
eoli3n
this is configured
-
black
well
-
black
do you have console access to the host platform (freebox os)?
-
eoli3n
i don't
-
eoli3n
no logs nothing
-
eoli3n
this is netdata swap usage :
0x0.st/PcRE.png
-
eoli3n
each hole is a "crash"
-
SarahMalik
that with netdata is of no use to us
-
SarahMalik
(for the record: I have *@*/scottpedia on ignore because of unbelievable rudeness)
-
eoli3n
SarahMalik: i didn't get what you mean
-
SarahMalik
netdata i'm assuming is coming from the freebox os, its "swap usage" is not of concern to us, we want to know if a swap partition is configured in the VM's "hard drive"
-
eoli3n
no, netdata is installed on freebsd
-
eoli3n
this is freebsd swap usage
-
SarahMalik
uh, huh. weird. continue.
-
eoli3n
what's weird ? i don't get your point
-
SarahMalik
nothing, i just didn't know that was a thing
-
SarahMalik
what output have you for `dumpon -l`?
-
eoli3n
> vtbd0p2
-
SarahMalik
and that partition exists? it's how big? i've found that my netdump server usually needs around 3 gigabytes each time any of its clients (both with over 8gb of ram by a long shot) crashes
-
eoli3n
534528 4194304 2 freebsd-swap (2.0G)
-
eoli3n
so your guess is that it is a kernel crash but no sufficient swap space to write ?
-
eoli3n
why do I found nothing after a reboot ?
-
eoli3n
not even a single file
-
SarahMalik
... might be. You'd need to video the VGA screen or serial console from during the crash
-
eoli3n
i do have one
-
eoli3n
but as said, it remains black after the "crash"
-
SarahMalik
did it show it dumping and doing all that?
-
eoli3n
nop
-
eoli3n
nothing, black screen
-
SarahMalik
oh what the blast
-
eoli3n
i tried to enable video output and select "video" in 5. from freebsd bootloader but i can't get something outside the console
-
eoli3n
maybe i miss something
-
eoli3n
"enable video output on the vm"
-
SarahMalik
edit /etc/ttys, make one of the serial consoles a console, and have the thing boot to the serial console primarily
-
SarahMalik
if freebox supports serial consoles; idk if it does
-
eoli3n
sorry, what does it try to do ?
-
eoli3n
i have console working before the crash
-
eoli3n
after the crash console is out
-
SarahMalik
you have video console working before crash and then out after?
-
SarahMalik
this is why i am recommending serial
-
eoli3n
nop sorry let's restart
-
eoli3n
i only have console output working
-
eoli3n
until it crashed
-
SarahMalik
define console
-
eoli3n
let me paste
-
SarahMalik
is this video console or serial console
-
eoli3n
serial
-
eoli3n
-
eoli3n
this
-
SarahMalik
I don't know, then, how you are configuring it that it becomes unusable when FreeBSD crashes
-
SarahMalik
but since this isn't a PC that means everything I actually know goes out the window; do we have an arm64 expert on the party line?
-
eoli3n
i tried to enable checkbox "Ecran virtuel" which means "virtual display" and then boot freebsd with "video" from the bootloader, but when i open "display" button (the currently grey one) it says that i don't have any display
-
eoli3n
SarahMalik: i don't get what you mean, i just login to the console i pasted
-
SarahMalik
right yes, I see that
-
eoli3n
but after the crash i don't even see anything in that console
-
SarahMalik
you boot in the bootloader with serial console? which is what it should be for this to work
-
eoli3n
yes
-
eoli3n
and it works
-
eoli3n
until the crash
-
SarahMalik
very weird
-
eoli3n
what's weird ?
-
SarahMalik
what's weird is that something's happening that shouldn't be
-
eoli3n
which part N
-
eoli3n
?
-
eoli3n
you mean the crash
-
SarahMalik
the serial console not being written to when you crash?
-
eoli3n
yes, that's why i thing that this is not a kernel crash
-
eoli3n
think
-
SarahMalik
but it is, you're literally flipping the crash the kernel sysctl, that crashes the kernel
-
eoli3n
yes that was to test that this is working
-
SarahMalik
but it is, you're literally flipping the crash the kernel sysctl, that crashes the kernel... oh
-
SarahMalik
... sory about the repeat
-
eoli3n
the kernel crash test was just to see that i see files in /var/crash
-
SarahMalik
so you're having a different crash, but it's not a normal panic
-
eoli3n
and i did, when i flip the crash myself
-
eoli3n
yes
-
eoli3n
i think
-
eoli3n
maybe what's crashing is the VM itself
-
eoli3n
then freebsd doesn't even know that it's crashing
-
SarahMalik
okay; this is really offtopic for here then is there some way to set some debug options in the hypervisor, like can it save core when the VM dies, assuming the VM dies with this crash and not that it's stopping?
-
eoli3n
like unplugging the cable
-
eoli3n
problem is that i don't have anything on the freebox os, not log, no console, nothing
-
eoli3n
just that web interface with some buttons
-
SarahMalik
ah...
-
SarahMalik
then you'll need to speak to that vendor to try to figure out what's up
-
eoli3n
so we are absollutly sure now that this is not related to my freebsd install ?
-
SarahMalik
not really, but it's gone outside our abilities to know what's happening. I know there are bugs in freebsd that can cause what I call "hard crashes", i experienced one with my GPU
-
SarahMalik
but here you have a hypervisor that could conceivably be misbehaving
-
SarahMalik
you'd need to have a word with freebox about what they do under circumstances like this
-
eoli3n
strange thing is that it worked for many weeks without problem
-
SarahMalik
you changed nothing, this started happening?
-
eoli3n
yep, i'm creating an account on the forum to get help
-
eoli3n
thanks for your time
-
eoli3n
SarahMalik: i changed the sysctl part
-
eoli3n
let's try to revert this
-
SarahMalik
ah
-
eoli3n
i had freebsd crashing because of syncthing
-
eoli3n
syncthing migrating to inotify will fix it
-
eoli3n
but for now i need to set higher maxfiles and mexfilesperproc
-
eoli3n
max
-
SarahMalik
and that shouldn't be crashing the system, but it is
-
eoli3n
let's revert / reboot and see what happens
-
eoli3n
see you in a min
-
eoli3n
wait and see
-
eoli3n
i found someone which has the exact same problem as me since last freebox os upgrade :
dev.freebox.fr/bugs/task/40675?stri…om=&openedto=&closedfrom=&closedto=
-
zip
silly question but what's the practical difference between using `pkg -j`, `pkg -r` and `pkg -c`?
-
nimaje
-j/-c will enter the jail/chroot, so configs of that jail/chroot apply (you can't use -j to update a jail that has no internet access), -r will work on the host (not sure if it looks for configs in that given root)
-
zip
mm. so do they all cache packages internally?
-
zip
or would -r allow pkg to do all of that on the host?
-
nimaje
no idea on -r, maybe it behaves like -c just without doing the chroot, maybe it uses more stuff (like the cache dir) from the host
-
zip
(in any case, thanks for the answer)
-
lessless
polarian re bouncer/vpn - "the number of people who tell me this" - not me :P took just an extra hour to figure out sasl and soju
-
vkarlsen
The kids and their bouncers. What's wrong with just shelling in?
-
PaddyMac
V_PauAmma_V Holy cow. I filed a bug before I went to bed. It was marked complete when I got up this morning.
-
PaddyMac
I figured it would be at least Monday.
-
PaddyMac
I read on Phoronix that there is a planned KDE Plasma desktop installer option planned for 15.1 to improve the laptop experience. Has there been any discussion of putting a wifibox installer option? Because honestly making sure wifi works on a laptop would make the laptop experience great.
-
rtprio
i am stuck on a "bhyve exited with status 4" on a host that i swear was running
-
rtprio
other efi vms are running
-
rtprio
not sure what else to check
-
lessless
vkarlsen how's that?
-
cracauer
Who is current head honcho for fuse filesystems in FreeBSD? Commit history is a bit too sparse to tell.
-
cracauer
-
CrtxReavr
Have a ports tree?
-
cracauer
A what?
-
seti
anyone else use doas here? the conf file doesnt seem to work
-
rtprio
seti: i do
-
seti
i just have the rule permit nopass :wheel
-
seti
yet my user in wheel still gets prompted everytime
-
rtprio
permit keepenv nopass :wheel
-
rtprio
is mine
-
seti
didnt work either :(
-
rtprio
manything in the logs?
-
rtprio
is doas setuid properly?
-
seti
looked in /var/log/auth.log didnt show anything strange
-
rtprio
does it work after a password?
-
seti
oh i should have specified, it works its just that i cant disable password
-
seti
a bit dumbfounded, vidoas doesnt report syntax errors in the file when i write exit
-
seti
oh now it worked
-
seti
had to have at the top ONLY permit nopass user
-
seti
but adding permit keepenv user as root somehow defeats the option above?
-
seti
oh adding it under that one fixes it
-
vkarlsen
lessless: Logging into a shell on the remote machine and running the client there
-
rwp
vkarlsen, I do that! In my IRC setup I pretty much have a Rube Goldberg of parts though and for almost anything I could say, I do that. :-) tmux+irssi+znc+irssi+perl+emacs+erc here. The advantage of a local client is that I can have it make a beep in certain conditions, my nick highlighted by certain people in certain channels. That's harder to do when only using a remote ssh client IRC.
-
vkarlsen
That is a good point
-
rwp
seti, I think it is dangerous to be running X (or Wayland) programs as root. It's just a big attack surface. Therefore I think having "keepenv" is a bad thing. And also it often results in root owned files in the home directory which is not good.
-
dTal
tbh I always come back to
xkcd.com/1200
-
rwp
I have a weekly cronjob to look for such files: 25 16 1 * * test -d $HOME && find $HOME -user root -ls
-
rwp
Not liking what I realized I was doing I contemplated changing that on the fly before posting to test ! -d $HOME || find ... but decided to leave it. The difference is whether cron itself ever sees the non-zero exit code or not.
-
rwp
A few years ago on the Debian side of things the maintainer there decided to patch cron so that it would complain if any command exited non-zero. It created quite a large kerfuffle since that is not traditional behavior.
-
rwp
It's not truly a critical cronjob and if there is ever any possibility that the required mount point is not present then I always add a protection to skip that job because otherwise the deluge of email from a system after some problem or maintenance task can be quite large.
-
rwp
dTal, I love that Randal says he switches to his brother's account in that case. That's very funny!
-
lessless
vkarlsen I'll wait until Apple drives Darwin fully into the ground before switching to a terminal client :)
-
rwp
lessless, (pedantically) I don't see how those two things are related. I don't see why they would be related! I think if you are using Darwin and it is broken then even command line programs will be broken too. (Just rhetorical musing...)
-
lessless
rwp this is going to be controversial, and I hope I won't get banned. I think macOS is the best desktop experience out there (for now). So I'm going to try to make the most out of it. Maybe this belongs to #freebsd-social :)
-
rwp
lessless, Definitely #freebsd-social is the place. You should join back in there! I don't think it will get you banned here. Because looking at almost every conference presentation on FreeBSD the presenter will almost always be running MacOS. That always feels wrong to me. If I were presenting at an Apple conference I would run Apple. If presenting at a BSD conference I would be using BSD.
-
sig`
I've got a 1000Gbps usb 3.0 j5Create adapter but freebsd only shows it at 100Gbps.... anyone else have issues like this?
-
plasma
sig`: you mean mbit
-
sig`
yeah sorry
-
sig`
heh
-
rwp
Do you perhaps mean 1000 Mbps rather than 1000 Gbps? If I were getting 100 Gbps on USB then I think I would be doing very well indeed.
-
rwp
I think a better question is what the driver supports and how to debug this and how to improve it. What does dmesg say when the driver loads?
-
rwp
I would also test this with alternative live-boot operating systems to see how the Linux driver for it reacts to it and how the OpenBSD driver reacts to it and gather data.
-
sig`
it works as 1000 on linux
-
sig`
need to download a live openbsd to try that
-
sig`
rwp: AX88179 + FreeBSD (axge) seems to be known issues
-
sig`
don't think I'll waste my time playing with this adapter anymore
-
sig`
-
rwp
sig`, Bummer! Hopefully the situation will improve. (Not that I can help in any way other than hoping.)
-
sig`
rwp: yeah, I just need to pull the trigger on a new mini pc for what I'm doing.
-
sig`
this old machine just needs to be snapshotted over to something new... :)
-
rwp
The new generation of mini-pc systems are really nice! I have been enjoying the small handful of systems I am using. My desktop is now an old HP t740 with 4x displays but I still consider that a mini-pc but driving 4x displays which I am loving. I have 2x gen 2 ZimaBoard systems for random testing and they are nice.
-
TommyC
An HP Elitedesk is one of the machines in my home lab setup.
-
sig`
I'm already running this as my main desktop: Beelink SER9 PRO AMD Ryzen AI 9 HX 370
-
sig`
would like another one for my server