-
amigan
Does etcupdate always try to build binaries when it goes to update its tree? Never seen this before: cc -O2 -pipe -fno-common -I/usr/src/crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/include -MD -MF.depend.simple_exec.o -MTsimple_exec.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Wno-pointer-sign -Wdate-time -Wno-absolute-value -Wno-empty-body -Wno-string-plus-int
-
amigan
-Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments
-
amigan
-I/var/db/etcupdate/etcupdate-JrGOU0J/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/src/crypto/heimdal/lib/roken/simple_exec.c -o simple_exec.o
-
amigan
Oops. Among other things, like stuff in usr.sbin
-
meena
amigan: how are you calling it?
-
rtprio
i'm starting to think that zfs on an external usb drive may not have been the best choice
-
voy4g3r2
i must be going mad, does anyone else, fresh freebsd 14 install..using xfce4 NOT have the startxfce4 command?
-
yuripv
fresh freebsd install does not have xfce4; which packages exactly did you install?
-
zwr
for Christmas I want FreeBSD 14 and NetBSD 10
-
mason
zwr: FreeBSD 14 is available today.
-
mason
(And NetBSD 10rc1 too.)
-
mason
Ooh, sup removed from base. =removes hat in respect=
netbsd.org/releases/formal-10/NetBSD-10.0.html
-
VimDiesel
Title: Announcing NetBSD 10.0 RC1 (Nov 5, 2023)
-
voy4g3r2
pkg install x11-wm/xfce4
-
voy4g3r2
yuripv: correct, i "installed" it
-
voy4g3r2
i can get it to run with exec xfesktop but the configuration file for xrdp talks about a start xfce4 file.. which i do not see anywhere
-
voy4g3r2
never mind, looks like if you invoke installing xfce in multiple ways.. you get "different" results pkg install xfce this time
-
vbotka
-
VimDiesel
Title: pkg-plist « xfce4-session « x11-wm - ports - FreeBSD ports tree
-
voy4g3r2
vbotka: thanks, xce install identified that package
-
AumShivaya
anyone have any idea how to get the MM keys woring on an a1243?
-
rtprio
are you using x or wayland?
-
rtprio
or at the console?
-
rtprio
voy4g3r2: package 'xfce4-session' has startxfce4
-
jimmiejaz
/usr/local/bin/startxfce4 I copied that to my .xinitrc and startx works to start XFCE4 here.
-
amigan
meena: just etcupdate, like I always do after installworld
-
zwr
well, I updated to 14.0 and now it can't find the ZFS root
-
amigan
weird, my zroot box was fine
-
amigan
tons of other little issues though
-
amigan
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275336 for one, and lots of weird stuff in my kernel messages. And just now I ran ifconfig and I got "ifconfig: getnameinfo: Address family not recognized", and ran it again and it was fine
-
VimDiesel
Title: 275336 – Processes exiting with SIGSEGV on shutdown on ZFS systems
-
amigan
"module_register_init: MOD_LOAD (sctp, 0xffffffff80a8c870, 0) error 17" on boot
-
zwr
something to do with the kernel. The old 13.2 kernel works. Btw I have to compile a custom kernel because my wi-fi card's driver is GPL. My kernel config is this:
paste.debian.net/plain/1300309
-
zwr
did I miss a step for people with custom kernels? btw it's an encrypted install so it's ZFS on top of GELI
-
amigan
I see no reason it shouldn't work as it did before
-
amigan
But I have also never booted zfs on geli, not sure what is entailed in keying up the kernel so you can see the pool
-
zwr
I guess I stay on 13.2 for now, I only use that laptop for testing programs on FreeBSD
-
AumShivaya
I broke apt in a linux jail :P
-
AumShivaya
wait, it may be fixable lol
-
AumShivaya
elsewise I want to see if I can install something like arch in a linux jail
-
meena
-
VimDiesel
Title: etcupdate(8) - FreeBSD Manual Pages (Dev)
-
dch
otis: IIRC you know a bit about fibre...
-
otis
dch: yes, a bit, yes :-) you mean storage or ethernet?
-
dch
ethernet in this case
-
otis
that's more of a simple case.
-
dch
I planned a fiber upgrade at home here, and unexpectedly picked up a couple of 100G chelsio NICs at bargain basement prices
-
dch
so now I am wondering whether that changes the fibre type I need
-
otis
singlemode should do
-
otis
OS2
-
otis
nazxar vbotka
-
otis
dch: what's the card type?
-
dch
originally I was going for OM4 but it seems SMF is the way to go
-
dch
-
VimDiesel
Title: T62100-LP-CR: 2-port Low Profile 40/50/100GbE Unified Wire Adapter wit – Chelsio Online Store
-
otis
yes, i prefer SMF, too. when there's no other way, also MMF would do, ofc.
-
otis
ok, qsfp28, thought so. you can buy qsfp28 with either mmf or smf, i'd suggest smf.
-
otis
smf has longer reach, is not so prone to attenuation...
-
dch
initially I am going to use 25Gb SFP28 because they are significantly cheaper than the 100Gb ones
-
otis
-
VimDiesel
Title: 100GbE QSFP28 Transceiver Modules | Optical Transceivers - FS.com
-
dch
the total length is ~ 40m
-
dch
yeah my fs.com person already recommended some compatible parts, its very handy to check with them
-
vbotka
nazdar otis
-
otis
we even got some kind of a "partnership" for slovak republic. our sales person gives us slightly better prices.
-
dch
hey vbotka! I've seen your really awesome ansible modules. nice to see you around here
-
otis
yeah, vlado's ansible playbooks are neat, indeed.
-
otis
some folks asked me if therw would be an interest in attending a FreeBSD Users Group meeting in eastern Slovakia during summer (they aimed to organize it in that case)
-
vbotka
Thank you for comments. Nice to see you too!
-
dch
I would come, if it lined up with my dates
-
dch
(family holiday plans)
-
dch
otis: I think my electricians could probably put in an actual patch cable directly, a 50m run would be ideal. there's a tube in the building already for this stuff.
-
otis
dch: good for you then!
-
dch
otis: thanks for the advice, I owe you a few beers!
-
otis
few coffees :-P
-
dch
otis: any other tips you can think of? I am planning 2 get a couple of these
fs.com/de-en/products/177394.html?attribute=700&id=1786819
-
VimDiesel
Title: 50m (164ft) LC UPC to LC UPC Duplex OS2 Single Mode PVC (OFNR) 2.0mm Tight-Buffered Fiber Optic Patch Cable - FS.com Europe
-
otis
dch: that's good choice
-
otis
care should be taken to not tear the connectors off while laying the cable
-
meena
mason: what was sup used for in the past two decades?
-
Remilia
either I am dreaming or p2 has fixed my vnlru woes
-
yuripv
Remilia: i think you are not dreaming, looks related?
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275063
-
VimDiesel
Title: 275063 – kernel using 100% CPU in arc_prune
-
Remilia
yuripv: how do I get top to show that {threadname} thing?
-
Remilia
mine just says kernel
-
yuripv
top -H?
-
Remilia
but otherwise percentages look similar, aside from vnlru taking 40-70% for me
-
otis
top -SH maybe?
-
Remilia
thank you!
-
Remilia
never noticed that option before
-
otis
ah ok yuri already responded.
-
otis
-H also goes for ps
-
Remilia
wow that is a lot of time in epair_task, I should probably see if netgraph is faster
-
parv
Thanks otis
-
jmnbtslsQE
tsundoku: if you haven't solved it yet, i think it will be helpful if you can paste a full netstat -rnf inet output from the jail and host, ifconfig of the relevant interfaces, and tcpdump output from both sides of the epair, the bridge, and the vlan (and maybe the external interface), from the moment that you emit the ping
-
darwin
someone on LQ called KDE 'snappy' and I laughed pretty hard...
-
mage
hello, any idea why colours disapeared in cmus when upgrading to 14 ? (tmux, rvxt-unicode, and TERM set to screen-256color)
-
elirco
mage: which command lost its colors?
-
elirco
ah ic cmus obviously
-
mage
elliottp: yeah.
-
mage
it's strange, neomutt works, cmus not
-
mage
although they depend both on the same libncursesw.so.9
-
AumShivaya
-
AumShivaya
Consider changing PACKAGESITE.
-
AumShivaya
why? WHY?
-
f451
AumShivaya: ping pkg.freebsd.org
-
AumShivaya
yeah, it doesn't
-
f451
ping 1.1.1.1
-
AumShivaya
root@ubuntu:/ # ping 1.1.1.1
-
AumShivaya
ping: ssend socket: Operation not permitted
-
f451
theres yr problem
-
AumShivaya
yeah, perhaps p4.addr="192.168.1.150" is wrong?
-
AumShivaya
does that have to point to my router address or is it just that?
-
AumShivaya
I just copy and paste from the handbook that
-
f451
if yr router caches dns then yes
-
AumShivaya
well I set up my resolv.conf the same in side the ubuntu jail
-
f451
but your problem here is "dns isnt working" and not "pkg is unreachable"
-
AumShivaya
how do I change the settings once the jail has been created with jail -cm?
-
AumShivaya
yes
-
f451
i dunno about jails. but i think you have to set the jail up to allow networking
-
AumShivaya
I am just learning, trying to follow the handbook
-
f451
there might be a sysctl somewhere
-
f451
sysctl -a | grep jail
-
AumShivaya
what am I looking for?
-
AumShivaya
-
VimDiesel
Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal
-
f451
security.jail.allow_raw_sockets i guess - but I don't know security implications of those
-
AumShivaya
yeah saw that
-
f451
-
VimDiesel
Title: jails - Allowing raw sockets in jails | The FreeBSD Forums
-
f451
-
AumShivaya
nah I set raw sockets to 1
-
AumShivaya
and chrooted back in
-
AumShivaya
and still cannot ping 1.1.1.1 or pkg.freebsd.org
-
f451
outside the jail, can oyu ping 1.1.1.1
-
AumShivaya
sure can
-
f451
im baffled then
-
AumShivaya
aye
-
AumShivaya
thanks for your help. Perhaps someone else may speak up soon
-
f451
try subscribing to -questions and posting there? or the forums, or both
-
AumShivaya
could do soonb
-
AumShivaya
soon
-
AumShivaya
brb
-
AumShivaya
so the line ip4.addr=
-
AumShivaya
I put in the address of my wifi
-
AumShivaya
and it stopped all my networking I had to reboot
-
f451
bear in mind more ppl will be on here later (seems most ppl are utc-5 to utc-8)
-
f451
also try creating a freebsd jail 1st, and if that works then the issue would be specifically with the linux jail
-
AumShivaya
which one? thin?
-
f451
thick
-
f451
one with all the bells and whistles. if it works you have a linux-in-jails problem. if not, a jails-general-problem
-
AumShivaya
ok shall give that a go...bbl
-
vkarlsen
Anyone else getting "No valid device tree blob found!" when booting -CURRENT on arm64?
-
richard_
how do you look at the not install packages
-
jmnbtslsQE
-
VimDiesel
Title: FreeBSD Ports Search
-
richard_
i just use pkg dont use ports
-
elirco
freshports also lists the available packages
-
yuripv
richard_: `pkg search` `pkg rquery`
-
yuripv
e.g. `pkg search -Qfull <name>` would provide all needed details about *not* installed package <name>
-
nimaje
richard_: pkgs are build from ports
-
adilix
hi all
-
wikan
does anyone use usb microphone?
-
wikan
i noticed volume issue. It is not loud enought
-
wikan
and as I understand it isn't microphone failt but a driver. Another guy says the same on his video.
-
elirco
wikan: i assume volume is at 100, when running 'mixer'?
-
CrtxReavr
wikan, sure it's not a hardware issue. . . ie. a volume rocker on the microphone?
-
mason
meena: I bet sup has not been used in that stretch. Even I was using cvsup. But it still marks an era.
-
meena
mason: I wonder how their transition to hg is coming along
-
mason
I believe it's stalled, last I knew.
-
wikan
well it is not hardware issue
-
wikan
i am not only person with the same problem. Other microphone but usb type
-
wikan
volume is 100% but works like 35%
-
CrtxReavr
What's that CLI volume level tool?
-
CrtxReavr
Been a while.
-
CrtxReavr
Think it's part of base.
-
wikan
hmmm
-
wikan
mixertui
-
wikan
and it works up to "35%"
-
CrtxReavr
Oh, nope - just mixer(8)
-
CrtxReavr
What does it say your volume is at?
-
f451
hi all. trimming zpool ssds is easy: zpool trim pool. How to trim a ufs ssd?
-
nimaje
mixertui is a tui as the name says
-
wikan
wait, must check
-
CrtxReavr
mixertui is a port though.
-
CrtxReavr
Been a while, since I had a FreeBSD workstation, but I would toss a mixer command in my /etc/rc.local to set the levels where I wanted them on each boot.
-
wikan
mic/rec 96:96 95:95
-
unixwitch
f451: fsck_ffs has an -E option to trim unused storage. i've never tried it though
-
f451
unixwitch: thanks
-
wikan
audacity prints my voice wave up to maybe 30%
-
ascreen
hi, i fucked up and let freebsd-update completely fill my zfs disk. now i can't even remove files to free space?
-
wikan
if i am close
-
f451
problem im having is a GIS returns old docs, and I know stuff has changed in the last couple of years
-
scoobybejesus
ascreen, zfs list -rt snapshot -o name,used,refer,clones
-
scoobybejesus
you may have a snapshot or two that will free up a bunch of space
-
ascreen
i deleted a few snapshots, zpool list says i have 393M free
-
zapata
f451: trim(8)?
-
ascreen
but the fs still say AVAIL 0B
-
CrtxReavr
What does df -i say?
-
ascreen
zroot/ROOT/default 9612024 9612024 0 100% 568182 0 100% /
-
ascreen
so inodes are full too?
-
ascreen
but i think zfs doesnt preallocate inodes
-
CrtxReavr
Well.. .. probably first.
-
CrtxReavr
That I dont' know.
-
ascreen
anyway, i can't even truncate some file i have laying around
-
f451
zapata: checking ... didnt realise htat was there. old docs suggest its enabled at newfs time
-
ascreen
also 500k files isnt that much
-
CrtxReavr
What does mount -p say?
-
ascreen
zroot/ROOT/default / zfs rw,noatime,nfsv4acls 0 0
-
ascreen
and some other stuff
-
CrtxReavr
Does ZFS not re-allocate inodes?
-
CrtxReavr
That'd be important to know for certain, 'cause 'df -i' says you're out of them.
-
ascreen
well i guess it means it can't create new inodes
-
ascreen
e.g. touch fails too
-
CrtxReavr
Well, every file, no matter how small, needs an inode.
-
CrtxReavr
So if you're out of them, the volume is "full."
-
ascreen
yes, but a classical fs would have some inodes allocated and could create an empty file even if disk is full for blocks
-
ascreen
but i think zfs doesnt do that
-
ascreen
i just dont get why zpool list says a little free space yet it's not used
-
CrtxReavr
Can you delete a file and see if inode count decriments by one?
-
ascreen
no i can't delete a file
-
ascreen
else i could just clean up the old freebsd-update stuff :D
-
CrtxReavr
You in single user mode?
-
ascreen
no, regular boot. but nothing else is using that machine
-
ascreen
ok, i have an idea. perhaps deleting a file that is not in any snapshot helps
-
ascreen
no :<
-
CrtxReavr
Maybe 'shutdown' to single user mode, make sure that / is still mounted rw and try 'fsck -y /'
-
unixwitch
f451: note that trim(8) will trim the entire device (i.e., erase all the data), at least by default, which probably isn't what you want
-
ascreen
phew, deleting a newer snapshot helped
-
nimaje
deleating a file that is part of a snapshot too won't help, as the snapshot prevents removal from disk, you should be able to delete anything that isn't part of a snapshot and some old snapshot could maybe prevent some big file from being removed from disk
-
ascreen
yeah, the problem was that freebsd-update created a new snapshot :)
-
f451
unixwitch: yeah. i think i can sort it by fsck_ffs -E -y then enabling tunefs -t then running the fsck_ffs -E again all while in single user mode
-
f451
trim(8) seems to be a little different!
-
CrtxReavr
any dhcpcd users?
-
CrtxReavr
I'm struggling with the manpage to get it to do what I need.
-
meena
CrtxReavr: what do you need?
-
meena
CrtxReavr: also note that you can ask questions on the Github discussions, and it's usually very responsive
-
CrtxReavr
Well, I have an ISP facing interface that I need to do v4 DHCP on and v6 DHCP-PD.
-
CrtxReavr
Then I need to configure /64s from that PD on some internal-facing interfaces. . . which I don't necessarily need dhcpcd to do, but I do need the prefix.
-
meena
*nod* *nod*
-
meena
I think maybe you could pass that off to… something else.
-
ascreen
ok, i have one more dumb question... the system says in zfs list: zroot/var 3.64M 7.73G 96K /var
-
ascreen
however, /var isnt mounted?
-
meena
ascreen: looks mounted
-
ascreen
and thus the whole /var/db stuff ended up in zroot/ROOT/default
-
ascreen
mount doesn't list it
-
rwp
Right. /var and /usr are usually not mounted. Run this: zfs list -o name,compression,exec,setuid,atime,canmount,mounted,mountpoint
-
rwp
The canmount will say off for some of those. That's by design and intentional. It supports Boot Environments.
-
ascreen
so what is intended to be snapped by a boot environment?
-
rwp
But other datasets are mounted under those directories.
-
meena
ah,
-
rwp
Yes. So that things that must keep moving forward keep moving forward.
-
rwp
And things that need to be able to snap back to a previous snapshot can be reverted if needed and everything works.
-
ascreen
yeah /var is canmount no, mounted no
-
rwp
So /var/log for example needs to keep moving forward. So it is an explicit dataset mounted under /var
-
rwp
It's confusing at first glance until it is understood that /usr and /var set up an inheritance for other things to be created but those directories themselves are held by the zroot/ROOT
-
rwp
-
VimDiesel
Title: ZFS - Why are /usr and /var not in a boot environment? | The FreeBSD Forums
-
rwp
And with that I must run afk but I saw this discussion in the channel and had to jump in! Sorry to barge in and then run off.
-
ascreen
well thx :)
-
scoobybejesus
I have a 14.0p2-RELEASE installation on bare metal that can't boot until plugged into a monitor. xorg, sddm (did this give me plasma?), a couple xf86, and drm-kmod are installed, among others, if it matters. anyway, i tried in /boot/loader.conf setting console to EFI or even nullconsole. i searched on various dmesg items, and none seem related that I can tell. any ideas for making this boot even if not plugged into HDMI?
-
scoobybejesus
i wanted to learn to set up a desktop, and finally succeeded, but this will be a headless box
-
tsundoku
FYI for all the people who were puzzling over my bridge problem yesterday: the issue was that my rc.conf order was wrong.
-
tsundoku
I had cloned_interfaces=" " below ifconfig_bridge0=" " because I had some kind of problem earlier with it above, and I read something that led me to believe cloned_interfaces was not creating anything, just indicating to the OS which interfaces were virtual. that was not correct.
-
unixwitch
scoobybejesus: can you elaborate on "can't boot"? where does it stop booting? do you see anything relevant (like errors) if you connect a monitor after it fails to boot?
-
babz
scoobybejesus: can it boot anything else without a monitor ?
-
babz
I had a crappy motherboard that wouldn't post without video output
-
unixwitch
tsundoku: that's odd since order of directives in rc.conf shouldn't make a difference to anything... the whole is read in whole and doesn't affect the order services/devices are started
-
unixwitch
s/whole/whole file/
-
scoobybejesus
i wish i could be more specific. what happens is i am ssh'd in, so i do doas reboot, and then i can't ssh in again. so i plug in the monitor, and a few seconds later, things populate and it finishes booting
-
yuripv
does it beep? :)
-
scoobybejesus
either i turned off beeping, or it never beeps. i don't recall. perhaps i could pop into the bios to enable it
-
unixwitch
scoobybejesus: if you disable sddm from starting, does it boot correctly then without video connected? just to isolate the problem
-
scoobybejesus
i will give it a try :)
-
Remilia
tsundoku: rc.conf order should not matter, these are environment variables
-
unixwitch
(i don't know anything about sddm, but at least with xdm, the dm is responsible for starting X, so it's at least theoretically possible that if it can't start X for some reason, it might interrupt the boot process... this is just a wild guess though)
-
monkeybusiness
..
-
yuripv
.
-
tsundoku
apparently the order does matter, at least for networking stuff
-
Remilia
tsundoku: if you look at the rc.d scripts all they do is check variables
-
unixwitch
tsundoku: it really doesn't... it can't matter. the rc scripts in /etc/rc.d are run in a specific order based on their dependency requirements, and they always read the entire /etc/rc.conf... the problem is almost certainly something else
-
Remilia
they source the conf file, then use values
-
tsundoku
well, putting cloned_interfaces above the other lines apparently fixed it, because it's working now
-
unixwitch
well unless you were setting and then using $variables in rc.conf in some reason, in which case order would matter, but...
-
scoobybejesus
one thing i noticed is that the way i have things now in loader.conf (console="nullconsole"), one section of booting populates a block in the center of the screen which ends in saying it's Loading /boot/loader.conf. Then FreeBSD logo. Then it uses the monitor normally, putting everything in the top left and prints down the lefthand side. This part starts with "Setting hostuuid." Continued..
-
scoobybejesus
When I reboot without the monitor attached, and it hangs, and i eventually plug it in, this is always the first line i see once the monitor comes up
-
Remilia
tsundoku: chances are you first renamed the interface then used cloned with the new name
-
unixwitch
tsundoku: either you fixed the issue by accident, or you have some sort of timing-dependent problem that fixed itself by accident somehow
-
unixwitch
this might just be me but did 14.0 have more ENs than usual for a .0 release?
-
scoobybejesus
yes, disabling SDDM allowed for a normal, speedy reboot :)
-
armin
<- still loves startx
-
unixwitch
scoobybejesus: i would be inclinced to just leave it disabled then, and use `service sddm onestart` if you really need it for some reason
-
Remilia
I am impressed it goes in rcorder before sshd
-
unixwitch
although it is odd it breaks the boot process, even if X can't start it should just background and keep trying, not break the entire boot process
-
scoobybejesus
it would be nice to know more, but yes, this is definitely suitable for now. thank you unixwitch
-
unixwitch
my other suggestion would be to switch to xdm, which has worked fine for 30 years, idk why we need all these new fancy things (back in my day, etc. etc.)
-
armin
unixwitch: So what would you do if trying to start it 5 times in a row failed? Try another 1000 times?
-
Remilia
tsundoku: if you do something like: create_args_bridge0="name brj" cloned_interfaces="brj" it will not work
-
tsundoku
what I have now is like
-
Remilia
it will create brj, but what kind of interface it will be is ???
-
tsundoku
cloned_interfaces="bridge0"
-
tsundoku
and then
-
unixwitch
armin: yes? i mean, i suppose it could also just log and error and quit, which would be fine too. but it shouldn't do whatever it's apparently actually doing.
-
armin
unixwitch: There's something about trying the same thing over and over and expecting a different result...
-
tsundoku
ifconfig_ixl1="up" and then ifconfig_bridge0="addm ixl1 up"
-
tsundoku
that's it
-
Remilia
tsundoku: and the order would not matter
-
tsundoku
it appears to matter
-
Remilia
it cannot, sadly
-
babz
-
unixwitch
armin: i really have no interest in how sddm handles X server startup failure, my point was that it should handle failure in some way that doesn't break everything else
-
tsundoku
I had a friend look at it who discovered the problem and what he said was that cloned_interfaces is what creates the bridges
-
Remilia
tsundoku: rc scripts source defaults/rc.conf and rc.conf
-
Remilia
as variables
-
unixwitch
no, /etc/rc.d/netif creates the bridge
-
unixwitch
cloned_interfaces is just configuration, by itself it doesn't do anything at all
-
Remilia
the rc scripts do not read rc.conf line by line like some interpreted language
-
armin
unixwitch: yeah, fair point, I've seen that on Linux, systemd trying to re-start X, X crashes, re-start X, X crashes, and so on. Try to switch to a TTY and log in while that happens. Fun.
-
tsundoku
the other thing I was told was that from FreeBSD 13, interfaces default to down on boot
-
Remilia
are you sure it is from 13
-
Remilia
and not like 2.2.1
-
tsundoku
*shrug*
-
Remilia
though it has been a long while so I may be misremembering
-
Remilia
tsundoku: `less /etc/rc.d/netif` and educate yourself
-
Remilia
it is a shell script
-
tsundoku
yeah
-
tsundoku
well all I can tell you right now is that changing the order of things in rc.conf resolved the issue
-
unixwitch
Remilia: i'm pretty sure every Unix system since forever has defaulted interfaces to down... right? unless maybe there was some weird special case where cloned_interfaces would be brought up by default or something (but i honestly don't remember that ever being the case)
-
Remilia
unixwitch: aye
-
Remilia
tsundoku: switch their places and reboot and you will see that nothing changes
-
tsundoku
something something the interfaces were getting added to the bridge in a down state and I guess trying to bring them up after the fact does not work
-
unixwitch
tsundoku: it does work (i've recently tested that since i've been configuring some jails) but it is true that they will be done by default, which is fixed by ifconfig_xxx0="up"
-
Remilia
you had the bridge renamed
-
unixwitch
s/be done/by down/
-
Remilia
like, I remember very well that your bridge was called svcbridge
-
tsundoku
yes
-
Remilia
so swapping the order was not the only change
-
tsundoku
well I'm still renaming the bridge
-
Remilia
ifconfig_bridge0="addm ixl1 up" should not work if you renamed the bridge in rc.conf
-
tsundoku
but in troubleshooting we took out the rename for expediency and then put it back after it got sorted out
-
unixwitch
tsundoku: it's up to you, but i would suggest editing rc.conf to move cloned_interfaces after ifconfig_ (or whatever) and rebooting just to see what happens. i'm 100% sure it'll still work, if it works now.
-
tsundoku
so the rename doesn't appear to have affected anything one way or another
-
Remilia
because by ifconfig time interfaces are already renamed
-
tsundoku
then why didn't it work before?
-
unixwitch
i have no idea, unless you have a backup of the non-functional rc.conf to compare, who can say
-
Remilia
^
-
Remilia
basically there is no magic in `. /etc/rc.conf`
-
tsundoku
well, maybe I'll lab it out sometime later if I get really curious
-
Remilia
tsundoku: /etc/net.subr processes the cloned_interfaces in clone_up()
-
tsundoku
on this machine I kind of just want to move on
-
Remilia
it literally goes `for ifn in ${cloned_interfaces}; do .....`
-
tsundoku
/etc/net.subr?
-
Remilia
network
-
unixwitch
i recommend testing it just because this is fairly important to understand how /etc/rc works in freebsd. but like i said it's up to you so -shrug-
-
tsundoku
doesn't exist on my system
-
Remilia
how can /etc/network.subr not exist
-
Remilia
what did you do to it
-
tsundoku
oh, I misinterpreted what you were saying
-
Remilia
if you look at that file you will see that it only accesses shell variables
-
Remilia
and never tries to read rc.conf line by line
-
tsundoku
makes sense
-
unixwitch
kind of related, i've always avoided renaming interfaces because i've never been entirely sure what rc.conf variables are used prior to the rename and which are used after... i should probably go work that out at some point
-
tsundoku
yeah, I really wanted the rename because I was like... if this is a virtual object that I'm creating deliberately on my own, I want the name to be desctiptive and not just like bridge0
-
Remilia
unixwitch: cloned first, then rename
-
Remilia
I mean, if you are renaming via create_args, it would be after cloned
-
unixwitch
Remilia: so ifconfig_ is already after? (like if i want to rename then add to a bridge)
-
unixwitch
s/already/always
-
Remilia
ifconfig_ lines operate on existing interfaces
-
Remilia
unixwitch: look at netif, it goes # Create cloned interfaces \n clone_up $cmdifn
-
Remilia
then # Rename interfaces
-
Remilia
then # Configure
-
unixwitch
yeah, that makes sense. ok, now i just need to sit down and come up with an overengineered and needlessly complicated if naming scheme
-
babz
you usually want somthing like
-
babz
cloned_interfaces="vlan0"
-
babz
ifconfig_vlan_name="myvlan"
-
babz
ifconfig_myvlan="inet 100.64.0.1/16"
-
babz
but the order of the lines doesnt matter
-
Remilia
yep
-
unixwitch
what do people like for automatic zfs snapshot management? zfs-auto-snapshot, zfs-periodic, zfs-snapshot-mgmt?
-
Remilia
tsundoku: the reason I was trying to explain this to you is to prevent more weird voodoo spreading
-
scoobybejesus
i used sanoid for snapshots. the config file is easy enough for me. put it in cron. done
-
unixwitch
scoobybejesus: thanks, never heard of that one
-
scoobybejesus
it comes bundled with syncoid which makes off-site replication easy as well
-
Remilia
my kernel spends 3% of a core in epair_task hahahaha
-
unixwitch
mine is spending 700% cpu in "idle"! what a terrible waste of CPU
-
unixwitch
Remilia: fwiw i remember reading recently that epair sends all packets through a single taskq which seems not great for scalability
-
unixwitch
that's odd, why does my 2023Q4 poudriere have 209 ports queued? does an update to pkg rebuild everything?
-
Remilia
unixwitch: no but if you updated a jail it kills everything
-
unixwitch
oh, that's probably it then since it just updated to 14.0-RELEASE-p2
-
unixwitch
maybe i should disable jail auto update on build, i doubt it makes any difference to the built packages in 99% of cases
-
babz
I think the reason is this
-
babz
-
richard_
nimaje yeah i see that