-
haroldp
anexit: delete old snapshot
-
ivy
hm, i think 361a8395f0b0e6f254fd138798232529679d99f6 "routing: do not allow PINNED routes to be overriden" has broken my network config
-
ivy
it used to be possible (at least since november) to configure a /64 on one interface, then configure the same address as a /128 on lo0, which is a bit unusual but useful in niche situations
-
dogg0
im running freebsd in a qemu vm. sometimes when im done with a vi file i hit ESC :q! but i get stuck in some weird purgatory and i just have to fiddle to get out
-
dogg1
i dont know what im doing to get there so i can stop doing it
-
dogg1
it doenst happen with any other os in vi
-
rwp
Sounds like something with the qemu keyboard interface because there is no particular problem with :q! otherwise.
-
dogg1
i usually spam esc so ill try only hitting it once
-
vkarlsen
Trying to ESC from qemu?
-
TommyC
ba dum tss
-
dch
debdrup: latest firmware from ~ 2 weeks ago, 2806, seems to have mostly addressed my disconnecting drive failure
-
» dch is happy again
-
sentor
hi …
-
sentor
running freebsd 14.0-RELEASE-p4 and want to upgrade to 14.2 …
-
sentor
do i need to install 14.1 first or can i direct update 14.0 -> 14.2 ?
-
sentor
thx for answers
-
ivy
sentor: 14.0 to 14.2 should be fine. the only time an intermediate upgrade was needed was to 14.0 from 13.x due to a freebsd-update bug
-
sentor
ivy: thx for the info …
-
ivy
nb, i don't use freebsd-update, so possibly someone else has more informed answer :-)
-
dch
sentor: I recommend
rustdate.over-yonder.net its much faster, in ports
-
sentor
dch: interessting … I will look to that ↑
-
vkarlsen
"[freebsd-update is] a fork/exec stress test that sometimes has the side effect of leaving you with an upgraded system" :D
-
radhitya
sentor: yesterday i did upgrade 14.0 -> 14.2 and ended with good results
-
egwynn
I just upgraded from FreeBSD 14.0 to FreeBSD 14.2 with freebsd-update. Since doing that, I needed to install a port and it failed with the following error:
-
egwynn
/usr/include/c++/v1/__algorithm/copy_move_common.h:18:10: fatal error: '__string/constexpr_c_functions.h' file not found
-
egwynn
It seems like that should be part of the base system. But freebsd-update isn't saying there's anything else to install. freebsd-update IDS doesn't say it's either. How should I repair my system?
-
ivy
egwynn: did you previously update from 13.x to 14.0? if you did that with a particular buggy version of freebsd-update, it broke your /usr/include/c++
-
ivy
although it would be odd to have that problem and not notice until now, unless you just didn't compile anything recently :-)
-
egwynn
I didn't compile anything recently
-
ivy
let me see if i can find the bug
-
egwynn
And yes, I think I did use freebsd-update to go from 13 to 14 a year-ish ago
-
ivy
well the EN is at
freebsd.org/security/advisories/FreeBSD-EN-23:12.freebsd-update.asc but it doesn't tell you how to fix an already broken system, hmm
-
ivy
(maybe just deleting /usr/include/c++/__string and running freebsd-update again fixes it?)
-
ivy
oh, /usr/include/c++/v1/__string
-
egwynn
__string is completely missing. But maybe I can move /usr/include/c++ out of the way?
-
egwynn
I did mv /usr/include/c++ /usr/include/c++.old; freebsd-update fetch install; # No updates needed to update system to 14.2-RELEASE-p2.
-
ivy
egwynn: you may need to grab 14.2's base.txz from a download mirror, extract it and manually put a correct copy of /usr/include/c++/v1/__string into place
-
egwynn
worth a shot i suppose
-
egwynn
ivy: that seems to have unstuck things a bit. Kinda sad that freebsd-update wasn't able to put the system back together on its own though.
-
ivy
egwynn: freebsd-update is kind of... not very good (no slight on Colin, i think he'd probably agree, which is why it's being replaced by pkgbase)
-
egwynn
I've diff'd the extracted base's usr/include with the host's /usr/include and found some other differences but I'm not 100% sure whether to take action right now on them
-
egwynn
got it
-
egwynn
Another thing: I installed the latest transmission-daemon in a jail (and have recently upgraded the jail using ezjail to 14.2). But the latest binary package of transmission appears to be ABI incompatible with the jail's base system. I get this when I try to restart it:
-
egwynn
ld-elf.so.1: /lib/libcxxrt.so.1: version CXXABI_1.3.11 required by /usr/local/bin/transmission-daemon not found
-
egwynn
Best I can tell this is also a problem with how the base system is installed, and probably not a problem with the package itself.
-
egwynn
If I do `strings /lib/libcxxrt.so.1 | grep CXXABI` I don't see 1.3.11 in the jail, but I do on the host system
-
angry_vincent
if i null-mount /tmp in a jail while having host's /tmp on tmpfs, would then jail's /tmp be tmpfs too?
-
Pauli1
:q
-
dch
angry_vincent: yes
-
dch
but better if not to nullfs mount, but to `mount -t tmpfs tmpfs /path/to/jail/tmp` directly
-
dch
egwynn, I forget the details but there was an errata for that. unpack the relevant bits of base, the errata has the details
people.freebsd.org/~dch/posts/2021-02-23-sideloading-freebsd may be helpful too, esp the exclusions around `tar xvzpf ./base.txz` half way down
-
angry_vincent
dch: oh, thx
-
dogg1
test
-
dogg1
test
-
dch
woof woof
-
angry_vincent
dch: it looks that i can use: exec.created="mount -t tmpfs tmpfs /path/to/jail/$jailname/tmp" in jail.conf
-
dch
-
dch
angry_vincent: yep, this is the sort of thing I use here
-
angry_vincent
thx!
-
dch
note the guard to test, these aren't perfect but it reduces the number of stacked mounts
-
GoSox
i get a lot of synfloods on my current server (not bsd) that even when they aren't actively taking my server down, over time they cause my ping times to get progressively longer and longer
-
GoSox
with freebsd, hopefully i would be fully immune to something like that, but even so, is there a "quick" easy way to basically fully reset the TCP IP stack? like drop all connections and start accespting them again clean as if I had just rebooted, but without ACTUALLY rebooting