-
labestia_
-
labestia_
Hello
-
BillyJoeBob
It's nice to use ChatGPT to turn bash specific stuff to POSIX compliant scripts. I'm trying to compile an application that uses bash and I'm wanting to not have to use bash to compile it. So far it's been working.
-
BillyJoeBob
quit
-
BillyJoeBob
damnit
-
Nick
ee
-
Nick
dd
-
rtprio
ff
-
parv
ff that! 800000 is the 💩!
-
grawity
mmm, CGA colors
-
polyex
i got a file at /tmp/foo.txt in my distribution.txz in my scripted bsdinstall. in the script part when i cat that file, it's not at that path. so how am i supposed to inject temporary files into a scripted bsdinstall environment pls?
-
polyex
is the sftp subsystem in sshd required for rsync to work?
-
rwp
rsync uses ssh not sftp. So no, sftp is not required for rsync.
-
rwp
The newest OpenSSH has converted scp from the old method (which had quirks) to the new method which uses sftp though. So scp now requires sftp IIUC.
-
polyex
i only use rsync for file transfer. see any probs with that?
-
rwp
rsync is the most typically used file copy utility. Why would there be problems with it? Are you expecting problems? Are you experiencing problems?
-
polyex
figured out the /tmp/ issue. my bad
-
meena
01:53 <BillyJoeBob> It's nice to use ChatGPT to turn bash specific stuff to POSIX compliant scripts. I'm trying to compile an application that uses bash and I'm wanting to not have to use bash to compile it. So far it's been working. ← imagine just using devel/hs-ShellCheck to guide you through this process, and learn something instead of relying
-
meena
on something that will lie to you, with high confidence…
-
meena
-
VimDiesel
Title: tcc/libtcc.c at master · LuaDist/tcc · GitHub
-
paulf
Is s1 valid?
-
meena
paulf: how do i figure that out?
-
meena
oh, s1 is TCCState…
-
meena
let's try to remember how to set breakpoints and see where that gets us!
-
meena
hrm, doesn't work. regardless of what breakpoint i try to set, i just get:
-
meena
WARNING: Unable to resolve breakpoint to any actual locations.
-
meena
WITH_DEBUG didn't actually add -g
-
meena
s1 is valid coming into the function
-
meena
(or rather, it's got stuff in it, dunno if it's the right stuff)
-
meena
-
VimDiesel
Title: tcc SIGSEGV on FreeBSD 14 and 15 · GitHub
-
meena
here's the bug,
bugs.freebsd.org/bugzilla/show_bug.cgi?id=274211 so if someone sees thedaemon online again, or knows their email you can add them to CC
-
VimDiesel
Title: 274211 – lang/tcc: Crashes with SIGSEGV on 14.x / 15.0-CURRENT when compiling hello world
-
meena
that was fun! exercising some muscles that haven't seen exercise in a while.
-
RhodiumToad
meena: offhand, that looks like there's something about the ELF info in crt1.o that tcc isn't able to handle
-
RhodiumToad
sm_table[sh->sh_info] is apparently null
-
meena
yeah, on the second run.
-
Ltning
How can I get in touch with ports-secteam other than email? Very serious RCE in exim, and from what I can gather, nobody is dealing with that.
-
Ltning
Tried to contact maintainer and ports-secteam but first my email was (ironically) blocked by the freebsd.org MX, and since getting it through, no response from either.
-
CrtxReavr
Ltning, you try asking in #freebsd-ports on here or in #bsdports on EFnet?
-
al1r4d
Hi guys, what do you think about reverse proxy nginx and cloudflared for secure tunnels? Which one is safe? currently host it on freebsd
-
meena
can somebody explain to me how AWS is so successful, when it's utterly incomprehensible?
-
meena
wait, never mind, i hit enter and remembered Kubernetes, so, never mind.
-
isley
i think it's very comprehensible you just have to translate all their made up buzzwordy names in to whatever the service really is
-
meena
isley: I understand that Kubernetes is an overblown workload manager, and that AWS is, in theory, a cloud service provider. But even with a table of word maps that's not gonna help me navigate the completely user hostile Interface.
-
kevans
Ltning: i think ports-secteam has effectively been defunct for years
-
kevans
i've complained a lot
-
debdrup
Exim is a particularly bad case, because the vendor and security researcher failed to coordinate things, so it's now left as a issue for every distribution to deal with separately right up until the patch came out as of 4 hours ago.
-
meena
good grief what a fuck up
-
debdrup
To be honest, after the 10.0 CVE of a few years ago, I'm surprised Exim is still the most used MTA.
-
debdrup
Postfix hasn't had any CVE that high, and they also have much better procedures in track.
-
RhodiumToad
postfix is much less flexible, afaik
-
rtprio
i thought it was most used because it was the default for a while on some linux systems?
-
rtprio
RhodiumToad: i'm truly curious, what portions are more flexible on exim?
-
RhodiumToad
what parts aren't? I admit my knowledge of postfix may be lacking
-
debdrup
There's at least one thing exim doesn't do, which postfix does: milters.
-
debdrup
Though the only other MTA that does milters is sendmail and.. yeah, that's not an option. :P
-
rtprio
i guess it's been a while since silly mail tricks
-
rtprio
or m4 macros for that matter
-
RhodiumToad
milters exist because sendmail didn't have any better way to do filtering, whereas exim does
-
rtprio
oh, i see
-
RhodiumToad
so apparently the 9.8 CVE this time only applies if you're offering EXTERNAL auth
-
Ltning
I broke my PC. Replaced nvidia card with amdgpu card, and now X won't start - it cannot find anything in /dev/dri
-
Ltning
Latest drm-kmod (for 13.2), gpu-firmware installed, kld_list updated ..
-
debdrup
Does kldstat -vv show the driver being loaded?
-
debdrup
I'm not sure drm-kmod for 13.2 includes the latest drivers, so if it's not attaching despite being loaded, that might be why.
-
Ltning
Yea the driver does load, but no firmwares do
-
Ltning
Though I do have firmware for navi22 according to drm-firmware-kmod
-
Ltning
erm, graphics-firmware-kmod
-
Ltning
This card is more than a year old though
-
Ltning
More like two
-
Ltning
Uhm. Can a kernel really build in 33 seconds?
-
angry_vincent
perhaps, with meta mode. but i find that lately it does more like full build despite the WITH_META_MODE is set
-
Ltning
this is a fresh build
-
beowuff
I've got an interesting issue during install of the latest 14 beta. During the install on my t-430, the wireless scan doesn't pick up my wireless AP. However, if I then specify the ssid on the next page, it picks that up and works. I don't know why the scan doesn't see it. If I manually jump to a terminal and run an ifconfig wlan0 scan, I can then see the AP. However, I can't connect to it from cli. I have to go back to the installer.
-
beowuff
Not a huge deal, but annoying.
-
Ltning
Brilliant. installing 14-kernel, building and installing drm-515-kmod there, and trying to load amdgpu causes all screen output to just stop
-
meena
beowuff: i think i saw a bug in that that regard recently
-
beowuff
Cool. Like I said, I wouldn't call it a show stopper, but it's very strange.
-
meena
-
VimDiesel
Title: 273620 – (iwlwifi) iwlwifi meta-bug
-
meena
I don't have access to my email, and I feel like bugzilla's search is way worse than my my email search
-
beowuff
Oh, yeah... iwlwifi. Thank you. I'll see if I can help out on the tickets.
-
BillyJoeBob
So I've heard that WiFi is actually proper in 14, is that, overall, true?
-
BillyJoeBob
I don't plan on switching until RC3 or 4 but just curious.
-
gp5st_
When i run `sudo freebsd-update fetch install` I'm getting "The following files are affected by updates. No changes have been downloaded, however, because the files have been modified locally: /etc/ssh/sshd_config" I'm fine blowing away the change I made to that file, but I don't know how to do that and get freebsd-update to work
-
gp5st_
oh, it seems it was trying to go to the current version installed, and not the next available
-
gp5st_
if I specify the version I want it seems to work
-
Jaffo
join #pfsense
-
Jaffo
sorry...
-
Jaffo
forgot /
-
Jaffo
can someone please help me. I'm likely doing something I shouldn't but wanted to add my pfsense to my netdata monitoring. so i tried to follow
learn.netdata.cloud/docs/installing/pfsense
-
VimDiesel
Title: Install Netdata on pfSense CE | Learn Netdata
-
Jaffo
I now get this ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
-
Jaffo
I can't even run the recommend pkg search without getting the same error
-
Jaffo
-
VimDiesel
Title: [HOWTO]monitoring the system and network by netdata @pfSense Plus | Netgate Forum
-
rtprio
eh
-
Jaffo
but can't get past the error i posted
-
rtprio
looks like you botched a freebsd world upgrade
-
_xor
pkg-static boostrap?
-
rtprio
or only have part of freebsd 14
-
telgareith
I copied over what seems to be a statically linked go executable (rclone 1.6.4) to a freebsd 13 appliance where I can't install apps, and I'm having issues. Can I be certain it's not an executable <-> OS incompatibility?
-
rtprio
specfically the openssl part
-
_xor
telgareith: What's the error message? Also, `file /path/to/rclone` to see what it says.
-
Jaffo
Id appreciate if someone could help me fix the mess i've created and follow the second options on netgates forum instead
-
Jaffo
i ahave pfsense 23.05 as mentioned in the article
-
polyex
hey is there a bug where rc.conf sendmail_enable="NONE" doesn't disable every sendmail thing that's enabled by default?
-
V_PauAmma_V
I think it used to but that was deprecated?
-
RhodiumToad
it still supposed to work
-
RhodiumToad
polyex: what makes you think there is such a bug?
-
polyex
i think i remember in the past couple days someone saying that
-
polyex
there are 4 things it should turn off but i guess it was only turning off 3?
-
polyex
should turn off cert create, msp queue enable, outpout enable, and submit enable
-
RhodiumToad
it doesn't turn off cert create
-
polyex
ya isn't that a bug?
-
RhodiumToad
but I don't think that should run when sendmail_enable itself is not on
-
RhodiumToad
but maybe it does
-
» RhodiumToad shrugs
-
RhodiumToad
personally I build WITHOUT_SENDMAIL which means i don't care
-
gp5st_
Is there a way to enable the home and end keys to work? My TERM=xterm-256color which seems to be in /usr/share/misc/termcap but this is territory I'm not well versed in and not even sure where to begin.
-
RhodiumToad
work in what?
-
polyex
if it's a bug we should report it tho
-
RhodiumToad
go ahead and report it then
-
polyex
k
-
polyex
btw, why does 13.2 system hardening menu sysctl security.bsd.allow_destructive_dtrace? that's an unknown oid
-
gp5st_
RhodiumToad, if that was to me, work in xfce4-terminal (not sure if that's relevant, but it's what I'm using currently)
-
RhodiumToad
polyex: I think it becomes defined if dtrace is loaded
-
RhodiumToad
yup
-
polyex
how does dtrace get loaded?
-
RhodiumToad
any of the usual ways for kmods
-
RhodiumToad
gp5st_: in a curses program, or in some other full-screen terminal program, or at the shell or some other readline/libedit program?
-
polyex
if i don't load dtrace does anything else do it for me?
-
gp5st_
RhodiumToad, oh, sorry. Just on the shell. currently using zsh
-
polyex
if i put the unknown oid into loader.conf, will that generate a log error every time i boot?
-
RhodiumToad
gp5st_: that's a matter for ZLE (man zshzle) not termcap
-
gp5st_
Thanks
-
gp5st_
I'll check it out. It's only ever an issue when I ssh to freebsd servers, which is why I thought that might be the issue
-
RhodiumToad
it may be that there is a zshrc (possibly system-wide) on other systems which is binding it for you
-
RhodiumToad
or someone's patched the zsh defaults
-
RhodiumToad
what do you want the keys to do?
-
gp5st_
RhodiumToad, go to the begining and end of the current line. It's not a huge deal; I mostly use ^a and ^e anyway
-
bleb
I've got a 12 gen intel nuc laptop, and I can't get audio to work properly in linux (I have to disable the mic via a kernel option) -- do you think it's worth trying freebsd solely for audio support?
-
RhodiumToad
why not
-
bleb
would you recommend I try 13.2 or 14.0
-
bleb
and is it weird that this page has a download for 15.0 but not 14.0?
freebsd.org/where
-
VimDiesel
Title: Get FreeBSD | The FreeBSD Project
-
RhodiumToad
14.0 isn't out yet
-
bleb
what's 15.0
-
RhodiumToad
there's a download for 15-current as a development snapshot only
-
RhodiumToad
15.0-current is the tip of the main development branch
-
bleb
ok
-
RhodiumToad
14.0 is in beta at the moment
-
bleb
I'll try 13.2 then
-
RhodiumToad
good choice
-
telgareith
_xor: It's having issues talking to a S3 provider. I think It's a bug in the new version.
-
telgareith
and yea, file says static linking
-
skeemer
hello everyone i have been using netbsd for months and was wondering what are the major differences between netbsd and freebsd... what do you people think?
-
_xor
RhodiumToad: Have you noticed any unexpected side-effects when using a build that has WITHOUT_SENDMAIL=yes?
-
_xor
RhodiumToad: I was thinking about doing that, but since it's so old I was wondering how much stuff assumes it's there and it could potentially break.
-
RhodiumToad
now that we have dma, if you build WITHOUT_SENDMAIL then everything gets set up for dma by default
-
RhodiumToad
thanks to mailwrapper, programs that expect /usr/sbin/sendmail to exist still work
-
_xor
Oh nice, totally forgot about dma and never looked into it after I first heard about it.
-
RhodiumToad
I was using WITHOUT_SENDMAIL before dma was added, so I was actually surprised when mail started working by default on fresh builds (i.e. before I got around to installing exim from ports)
-
_xor
Oh you mean when dma was eventually added, not that it started working after you excluded sendmail but before dma was added.
-
_xor
Was confused for a second there lol.
-
RhodiumToad
right, it used to be that WITHOUT_SENDMAIL meant you had no working mail until you installed some mta port
-
RhodiumToad
(and configured mailer.conf to use it)
-
RhodiumToad
but now, you get a mailer.conf that points to dma by default
-
Jaffo
I could use some help fixing my problem if anyone is up for it
-
» RhodiumToad knows nothing of pfsense
-
Jaffo
the error is a bsd error isn't it ?
-
Jaffo
i need to fix the pkg manager or the file its referring to
-
RhodiumToad
you're trying to run a program linked to libssl 3.0 on a system that doesn't have that library
-
RhodiumToad
what did you do?
-
Jaffo
i followd instructions for installing netdata and apparently it was 'outdated' so i need to fix it all i did was run the command on that page
-
Jaffo
-
VimDiesel
Title: Install Netdata on pfSense CE | Learn Netdata
-
Jaffo
and when i pasted the whole list of pkg install *** at the end got the error
-
RhodiumToad
what freebsd pkg repo did you configure
-
RhodiumToad
specifically what url is in /etc/pkg/FreeBSD.conf or /usr/local/etc/pkg/repos/FreeBSD.conf
-
Jaffo
it shows url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
-
Jaffo
in pfsense you just turn FreeBSD from 'off' to 'on' to enable that
-
RhodiumToad
readelf -a /usr/bin/uname | grep ABI
-
Jaffo
no readelf
-
Jaffo
command not found
-
RhodiumToad
can you run pkg-static config abi
-
Jaffo
pkg* ie anything results in ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
-
RhodiumToad
pkg-static can't give that error
-
Jaffo
sorry that one did work FreeBSD:14:amd64
-
RhodiumToad
ls -l /usr/lib/libssl*
-
RhodiumToad
and uname -a
-
Jaffo
-
VimDiesel
Title: -r--r--r-- 1 root wheel 3366876 Jun 27 23:48 /usr/lib/libssl.alrwxr-xr-x 1 - Pastebin.com
-
Jaffo
-
VimDiesel
Title: [23.05.1-RELEASE][root@pfSense]/root: ls -l /usr/lib/libssl*-r--r--r-- 1 root - Pastebin.com
-
rtprio
i had this when i botched a makeworld
-
RhodiumToad
ok. so what this is is that this pfsense install is a build of 14-current from before the openssl 3 cutover
-
RhodiumToad
so when you try and use freebsd-14 packages, they break because of the wrong openssl version
-
RhodiumToad
you will need to reinstall the version of pkg from the pfsense repo
-
mmlj4
I have an RPI 4. X works, but I have only 592x448 resolution available (I'm running xfce, that's what the display config is telling me
-
mmlj4
is there a specific driver I'm supposed to use? firmware perhaps?
-
RhodiumToad
that's in framebuffer mode?