-
spine-o-saurus
hay when i load up lxdm how come there is no session dropdown section for fluxbox to login with? when i pass credentials it says failed to start session
-
ExclamationPoint
thunderbolt networking supported?
-
hd1
I'm trying to decide whether to put FreeBSD on an M1 Mac or a 2020 Intel Macbook Pro... any thoughts?
-
r0ni
intel
-
r0ni
i haven't seen or heard any info on the m1 port in some time... i wouldn't use it
-
r0ni
tho fbsd on any mac will test your patience and most things just dont work
-
hd1
would netbsd or openbsd work better?
-
r0ni
could try openbsd but in all honesty, linux is a better choice
-
r0ni
this is only because of the hardware in macs, propieretary wifi chips etc
-
r0ni
linux just plainly has better support for the hardware, unless you have some 2010 macs lying around
-
hd1
I do, come to think of it
-
hd1
2012, rather
-
vxwarlock
How can I enter the L2 mac address statically for vxlan unicast connection on freebsd?
-
vxwarlock
Linux commad equivalent brıdge fdb appen aa:aa:aa:bb:bb:bb dev vxlan10 dst 172.20.20.20
-
RhodiumToad
should work the same way as assigning an L2 address to any interface?
-
vxwarlock
I don't know RhodiumToad
-
RhodiumToad
ifconfig ifname ether aa:bb:cc:aa:bb:cc ?
-
vxwarlock
hmm I'm try it
-
haps
Great timing for me, I have an unrelated but still networking question: I want to be able to access my bridged adsl modem from my laptop (or any machine on the lan). Currently I do static configuration and plug directly into it. Is there a way to configure a route to it? The device is em0, but has no ip. The tun0 interface connects just to the other end. Should I configure em0 to have an ip and route
-
haps
192.168.1.1 to that? (I'm asking here first because I don't want to kill internet - my wife is using it :-)
-
CrtxReavr
Am L2 MAC address?
-
CrtxReavr
Not an L3 MAC address?
-
RhodiumToad
the modem is running freebsd?
-
haps
RhodiumToad: no the router is. The modem is just some consumer box, but it serves a web UI on the lan port even in bridged mode.
-
RhodiumToad
and you want to be able to access that UI? should be no problem
-
haps
I figure if I can point a browser to it when plugged in directly, fbsd should be able to forward web packets to it. I just don't know how.
-
haps
exactly!
-
haps
(so I can see things like link quality, which is currently in the toilet based on my horrible upstream lag)
-
haps
Is that idea generally correct, ie assign an ip em0, and add route 192.168.1.1/32 to <em0 ip>?
-
RhodiumToad
usually what you'd do is add an ip to the appropriate interface that's on the same subnet as the modem's private ip
-
vxwarlock
RhodiumToad > thanks for advice is working.
-
haps
RhodiumToad: I guess ifconfig adds the route? I did 'ifconfig inet em0 192...2/27 192...1' and ping works. Now why the http traffic doesn't... perhaps pf is interfering.
-
tmtt
Hi! Is there a "standard way" of overriding the rc.d script bundled with a port? Directly modifying the service script doesn't work for long since it gets overwritten by a port update. (For instance, the rc.d script for caddy has an extra `reload` directive which reloads the Caddy config but not external certs. Adding `--force` to the directive works but gets removed when caddy is updated.)
-
scoobybejesus
I don't know if you want to deal with this, but it's not hard to build caddy with xcaddy. So you can rebuild it whenever you want, and your rc script will go untouched
-
yuripv
tmtt: if it would benefit everyone, file a PR with patch? or introduce additional rc variable that would add --force
-
tmtt
scoobybejesus: I guess it would work, but I don't think I want to go down this route. The caddy package built from ports is good-enough for my needs. Plus, there's another service (turnserver) for which I'd like to add a custom `reload` directive, too.
-
tmtt
yuripv: I actually thought about doing this, but I don't think I know enough FreeBSD to modify, build and send the patch for a port at this time.
-
yuripv
try asking maintainer about it, it could work :)
-
meena
tmtt: there's no standard way to override stuff in rc.d scripts that aren't exposed as variables.
-
tmtt
That's a nice idea. I guess I could send them a mail with my changes. Though, it could take a while before making their way to a stable FreeBSD release.
-
tmtt
(assuming they get accepted lol)
-
meena
tmtt: i never build my own ports, I just bug people until they give in
-
tmtt
meena: I guess I'll just make a my_caddy rc.d script then
-
meena
what are you trying achieve exactly?
-
dkeav
world domination!
-
dkeav
err wrong chat
-
dkeav
>.>
-
tmtt
dkeav: How could you tell?
-
tmtt
:o
-
tmtt
meena: Well, the caddy service has a custom `reload` directive which makes Caddy reload its configuration. The thing is, it doesn't reload external TLS certificates (e.g. certs managed by acme.sh) unless the configuration changed. To overcome this, caddy has a `--force` flag which makes it reload everything even if the configuration hasn't changed. Thus, I simply added `--force` to the reload command inside rc.d/caddy.
-
meena
tmtt: what's the difference between reload --force and restart?
-
tmtt
No downtime?
-
meena
you could add a force-reload comman to the script, and propose that as patch
-
tmtt
Why not
-
tmtt
I just don't think I know enough FreeBSD to clone the latest port tree, modify the caddy port and send a patch to the FreeBSD mailing list
-
tmtt
As yuripv mentioned, I could probably try and send an e-mail to the maintainer of the caddy port with my changes and wait until FreeBSD 14.1 for them to be landed in the ports tree
-
meena
tmtt: git clone --depth=1
cgit.freebsd.org/ports ; cd ports/www/caddy ; <do stuff> ; git add … ; git commit -em "www/caddy: add force-reload command to rc script" ;
bugs.freebsd.org/bugzilla/enter_bug…6%20Packages&short_desc=www%2Fcaddy
-
VimDiesel
Title: ports - FreeBSD ports tree
-
V_PauAmma_V
The ports tree and FreeBSD releases aren't synchronized. You won't have to wait for a FreeBSD release for your change to make it.
-
tmtt
meena: Okay lol thanks, seemed more complicated in my head
-
» meena does this kinda of thing a lot
-
meena
speaking of this kind of thing, I should get back to coding
-
tmtt
-
VimDiesel
Title: 274085 – www/caddy: Add forcereload command to rc script
-
tmtt
yeah that took me a whole hour
-
meena
tmtt: first time is the hardest :P
-
tmtt
meena: For sure
-
tmtt
Thanks again meena :)
-
meena
I like that. It's nice and simple.
-
» meena goes to bang her head against some C code now
-
fraxamo
Hi, I've just managed to nix my /lib directory trying to remove a jail using a relative path instead of an absolute path.
-
fraxamo
Now nothing works, just lots of errors about missing libraries etc.
-
fraxamo
Before I switch off the box and lose it, anything that I can do to fix this? I'm running UFS btw
-
meena
fraxamo: most useful tools won't work, but, stuff in /rescue might come in handy
-
fraxamo
Yes, I was thinking of /rescue
-
kevans
are you on a freebsd version that has /rescue/fetch?
-
meena
depending on your version, /rescue might have fetch.
-
meena
what kevans said
-
kevans
jinx
-
fraxamo
I'm on 13.2 p3
-
meena
kevans: let's fight over who's the bigger nerd
-
kevans
hah
-
fraxamo
I'm looking at another 13.2 box and I'm not seeing fetch in /rescue
-
kevans
fraxamo: don't recall when it was added, just trying to execute /rescue/fetch should give you a usa-
-
kevans
hmm
-
fraxamo
Was it on an earlier version?
-
kevans
probably new in 14.0 then, maybe in future 13.3
-
meena
fairly certain we didn't MFC that before 13.2's release
-
fraxamo
Shame
-
meena
kevans: question: unreleated to my head-banging: Why don't we have tags for every release? tags don't cost anything. git isn't CVS
-
meena
fraxamo: so, boot a live-boot medium, and do it from there.
-
kevans
meena: at the risk of sounding dumb, what do you mean? ew have release/* tags for quite a few
-
fraxamo
meena: Thanks, I'll give that a go
-
meena
kevans: yes. And all of them are .0 — but what about all the -p "releases" ?
-
kevans
emaste: ^ *runs away*
-
kevans
(I suspect the answer is just that nobody has requested it since the switch to git; in the svn world IMO it was more of an annoying step to do)
-
kevans
it's really a question for secteam tho
-
meena
right, secteam are the ones cutting patch releases
-
kevans
i bet if you fire off a request to do it going forward, they probably wouldn't mind too much. they probably don't really want to go back and hunt down historical patch-levels and tag those, though
-
kevans
i can see the value in ez-diff between patch levels
-
meena
oh, yeah, that'd be terrible work that you'd need a dedicated nerd to do, and then they'd find shit we don't want to know
-
kevans
*nod*
-
bz
why does sh start in /usr/home instead of /home
-
kevans
so it's a much better request when it's scoped down purely to "can we incorporate this into the process for maintenance of future releases"
-
bz
is /usr/home hardcoded into it or is it getting that from somewhere
-
yuripv
it starts in your $HOME, /home is usually a symlink to /usr/home (pre-14.x anyway)
-
mason
bz: /usr/home is traditional for FreeBSD.
-
bz
$HOME is set to /home though, not /usr/home
-
bz
and its also /home in /etc/passwd
-
bz
so im not sure where its getting /usr/home from
-
yuripv
from following symlink, no?
-
kevans
/home is a
-
kevans
...
-
meena
kevans: now for the head-banger question: Whom can help me with the virtio vsock module, by holding my hand, and slowly telling me it's gonna be alright, because I think I'm way too deep and I don't actually know how to swim here.
-
kevans
damn you're just throwing curveballs today =-p
-
bz
im just curious about the weird hack required in .shrc to make it not display /usr/home on the prompt
-
kevans
bz: fwiw this is something being worked on in main, at least; see, e.g.,
reviews.freebsd.org/D40086, which fixes the zfs pool layout
-
VimDiesel
Title: Login
-
meena
kevans: speaking of curve-balls, I'd still like to have a FreeBSD-src package in PkgBase…
bugs.freebsd.org/bugzilla/show_bug.cgi?id=268401
-
VimDiesel
Title: 268401 – PkgBase should package the src snapshot it was built from
-
bz
like by default, the .profile makes sh run the cd command every time you log in
-
bz
in order to switch from /usr/home to /home
-
meena
email to secteam is off, and now it's time to put the kid to sleep who is very very giddy…
-
bz
if you comment out that line it starts in /usr/home, despite that not being the setting for pw or the $HOME environment variable
-
meena
bz: yeah, my shell history on <14 machines is: cd ; tmux a ; or tmux
-
yuripv
you could just destroy /usr/home and make /home a directory (or dataset), that's what i did everytime after install :D
-
yuripv
now with 14.x (clean install though), /home will be /home, no action needed
-
emaste
next /usr/bin -> /in
-
emaste
/bin
-
yuripv
solaris does symlink /usr/bin to /bin for a long time now :)
-
bz
wow a 26 year old kludge
-
bz
thats like netbsd level obstinacy
-
bz
ok i just removed /usr/home and the symlink and created a regular /home
-
bz
hopefully that wont break anything
-
meena
emaste: what's the ETA on that to roll around?
-
meena
Also, that would fix do many issues in rc (tho not rc itself lol)
-
emaste
meena: to move to /bin?
-
meena
emaste: yes. what's the time frame for that?
-
kevans
emaste: yeah, because then we don't have to keep debating if a binary's available then move the damn thing
-
kevans
"your diskless setup now has a whole /bin k?"
-
meena
👍
-
crb
has anyone see email to @freebsdjournal bounce?
-
» meena has never emailed them…
-
crb
As far as I can tell they don't have an MX so it's odd to me that google is still trying to deliver
-
meena
tmtt: i would approve that patch ;) but I'm not the maintainer.
-
thumbs
crb: All you need is an A record to deliver, in theory. The MX record is not needed.
-
crb
thumbs: hmm, didn't know that thank you
-
thumbs
Now, there is no guarantee that the IP set on the A record will accept emails.
-
vkarlsen
Or if gmail will play ball with the A record
-
thumbs
postfix will work with it.
-
vkarlsen
crb seems to be using gmail
-
crb
yes I'm sending out mail via gmail
-
vkarlsen
What does the bounce tell you?
-
emaste
meena: time frame right now, but ideally we could do it for 15
-
meena
-
VimDiesel
Title: FreeBSD 15.0 Planning - HackMD
-
meena
but also, i just saw MINIMAL kernel is on that plan… and i have a patch for that.
-
yuripv
Remove consumers of DES des?
-
yuripv
heh
-
emaste
heh
-
meena
yuripv: that was deliberate
-
meena
a 20 year long plan
-
meena
i forgot how many things I volunteered for in 15.0
-
yuripv
could you please volunteer to port vmwgfx?
-
crb
delivery incomplete, there was a problem
-
meena
yuripv: what's that
-
yuripv
kms driver for vmware svga adapter
-
yuripv
kevans: could you please take a look at
reviews.freebsd.org/D41947?
-
VimDiesel
Title: ⚙ D41947 regcomp: use unsigned char when testing for escapes
-
kevans
yuripv: oh, I meant to say something on that
-
kevans
yuripv: netbsd had found some of these, but I hadn't yet checked if any of them were still applicable to our libc:
NetBSD/src d5c6fca
-
VimDiesel
Title: - cast GETNEXT to unsigned where it is being promoted to int to prevent · NetBSD/src@d5c6fca · GitHub
-
kevans
obviously at least two of these are
-
yuripv
that looks more complete yes
-
meena
kevans: got a response from delphij@ re tags, and it's basically: Nah.
-
spine-o-saurus
how come when i run pkg search perl, the terminal never gets prompt back?
-
kevans
meena: really? interesting
-
kevans
i wouldn't have thought they'd care that much
-
meena
i can paste the response if you want, and I can see how that makes sense.
-
kevans
i'm a bit curious, feel free to paste or forward to me
-
yuripv
kevans: updated the review with fix from netbsd
-
meena
yuripv: nice. Also, I cannot seem to mark my comments as done. which seems not ideal
-
kevans
yuripv: i'm happy, thanks
-
veg
within a jail, bazel outputs an infinite amount of "Starting local Bazel server and connecting to it...", can it bind to an IP?