-
meena
BaloneyGeek: which version of FreeBSD are you on?
-
BaloneyGeek
meena: FreeBSD 13.1, fully updated
-
dch
servus
-
meka
dch: is that hungarian "hello", maybe?
-
dch
meka: its Austrian hallo, or maybe more Viennese!
-
cracauer
More like Barbarian^H^H^HBavarian.
-
dch
Rhabarbarian
-
meena
cracauer: while linguists put Viennese under "Bavarian dialects" aussiehst
-
meena
*Austrians would not accept that
-
dch
I see their lebahkaassemma and raise them an eitriger
-
dch
WE ARE NOT THE SAME
-
cracauer
My chromium build finished. 9:15 hours. Not too bad.
-
jauntyd
is that with the most up to date ports tree?
-
cracauer
As of yesterday, yes.
-
cracauer
Happy that it even built clean.
-
jauntyd
haha i hear you
-
jauntyd
i'm going to give it another try then
-
cracauer
I also made a package (amd64) in case that is useful to you. It has pulseaudio support, though.
-
jauntyd
ty but i need to build it myself. lol it's personal now! :D
-
cracauer
I know the feeling.
-
wikan
Hi. Is it possible, there is some sysctl property that may cause segfaults, traps and system error interrupts on many applications?
-
wikan
i can't find why so many apps dont work at all and puke trap or segfault messages
-
wikan
for example: falkon and otter browser
-
cracauer
Did you try lldb on them?
-
wikan
hmmm lldb is better as I see
-
wikan
signal SIGSEGV: address access protected (fault address...)
-
wikan
so it is a "trap" as I understand
-
wikan
the same error on another app
-
wikan
no, not the same: invalid address
-
wikan
so, is it compiling error? should I report it?
-
cracauer
Is that a native FreeBSD program or Linuxulator?
-
wikan
or it is because I didn't setup something, maybe sysctl
-
wikan
native
-
cracauer
Then you should try to get a backtrace with lldb.
-
cracauer
Did you compile it yourself or did you install it with pkg?
-
wikan
it is pkg
-
wikan
next application (netsurf): invalid address
-
cracauer
Let me install otter and see what I get.
-
wikan
i didn'tcheck otter
-
mkf
hi. how do we find out how which packages are manually installed?
-
wikan
i checked falkon
-
wikan
falkon-qt
-
wikan
i386
-
mkf
(not a dependency)
-
wikan
falkon-qtonly
-
wikan
kristall, netsurf (works, but segfaults after clicking on any link)
-
cracauer
netsurf-gtk3 works for me on amd64.
-
wikan
i think it is compilation problem
-
cracauer
You say you are on i386?
-
wikan
yes, true
-
patanga
what is the name of the demon/program which receives mail? not filters into boxes like procmail neither provides imap download like dovecot; simply listening on a port for incoming mail and put it into some spool/mbox
-
wikan
and these errors are not only on one machine
-
cracauer
I can't reproduce those segfaults on amd64. Are you sure your hardware is stable?
-
wikan
well i am not sure, but these error I have on two machines
-
cracauer
oh
-
cracauer
You should definitely go through the trouble of getting a backtrace out of lldb.
-
wikan
isn't it require debuging symbols?
-
cracauer
not for basic symbols in backtraces.
-
wikan
ok, I have no idea how todo this yet ;)
-
wikan
i did "strace" and it didn't tell me anything
-
cracauer
which program do you want to debug first? Falkon?
-
wikan
is it the same as backtrace?
-
wikan
falkon is ok
-
cracauer
lldb `which falkon`
-
cracauer
r
-
cracauer
[qait for segfault]
-
cracauer
bt
-
wikan
hmmmm nice
-
wikan
first one is last call, right?
-
wikan
i quess because of "*" symbol
-
cracauer
*?
-
wikan
first line starts with *
-
wikan
so I quess it is last call and position of error
-
cracauer
oh. Yes.
-
wikan
so the error is related to intel driver
-
wikan
i915_dri.so
-
cracauer
Can you use some paste service to make the backtrace available?
-
cracauer
oh
-
cracauer
You are screwed :-)
-
wikan
let me check other apps
-
wikan
again intel
-
cracauer
I just started Falkon on my Intel graphics laptop, amd64. It works.
-
wikan
i use old machine
-
cracauer
I would say this is worth opening a bug report for. Especially now that you have backtraces.
-
wikan
definitely legacy hardware
-
cracauer
Should still work.
-
meena
-
VimDiesel
Title: Simple recipe for backtracing with LLDB? | The FreeBSD Forums
-
wikan
thank you
-
cracauer
Anytime.
-
wikan
the same driver works on both machines
-
wikan
i will report it
-
cracauer
As a brutal workaround you could use the Vesa driver for a while.
-
wikan
yea, but vesa doesn't suppoer xrandr
-
wikan
and I use external monitor
-
cracauer
Yeah, it kinda sucks.
-
cracauer
If you have a serial port you can use a vt100 :-)
-
wikan
is it possible there is some dependency problem?
-
wikan
like no mesa libs or something?
-
cracauer
No, that would give you a clear error message.
-
wikan
ld error,right?
-
cracauer
Yeah.
-
cracauer
So here is a crazy workaround: ssh -Y localhost
-
cracauer
Then start falkon over the ssh connection. That will make it unable to use 3D rendeering which is probably where you crash.
-
wikan
nope
-
cracauer
A bug report it is then. Did you try running on the internal display without xrandr?
-
wikan
no
-
wikan
will try
-
wikan
before reporting
-
cracauer
The xrandx thing might be important here.
-
wikan
i will try something stupid
-
wikan
let me try run falkon with both screens turned on
-
wikan
because I turned off internal screen
-
wikan
yea, didn't work
-
cracauer
I would still try on a freshly booted machine's internal display without any xrandr happening at all.
-
wikan
yeap,will try
-
cracauer
How is pkg supposed to deal with global python updates? I have pkg update pull in new py37 today. But afterwards removing all python 3.7 stuff works, so that was not because of dependencies.
-
phryk
is there an easy way to have sendmail forward all mails to my local user?
-
phryk
mhh, okay, so i found out about virtusertable and added an alias, but when a mail to that address was seen by sendmail (seeing the maillog entry for it), running "mail" doesn't show anything for the user i set the forward to…
-
cracauer
Any files at all created in /var/mail ?
-
phryk
/var/mail/phryk exists, but is empty.
-
phryk
also a bunch of other files in there, mostly named after services.
-
cracauer
The root mailbox should have the daily run outputs.
-
jgh
"all emails", meaning "any local part" is a grand way for having spammers discover "known active accounts", resulting in a deluge of spam
-
cracauer
From default cronjobs.
-
phryk
jgh: this is a desktop machine behind a nat. i doubt that.
-
phryk
cracauer: mhh, /var/mail/root doesn't exist. mail when run as root says no mail. this is on a desktop machine, so it's not constantly running, but gets >1d uptime quite frequently…
-
cracauer
Yeah, there should be cron output in root's mailbox then.
-
phryk
ah yes, years ago I apparently added sendmail_enable="NONE" to rc.conf because this is a desktop. guess i'm trying again after throwing that out.
-
cracauer
Try echo foo | at now + 1 minute
-
cracauer
as root
-
phryk
umm, so many emails.
-
phryk
is this now throwing output of every cronjob ever run into the queue?^^
-
phryk
(i did service sendmail start)
-
cracauer
I don't know. I don't think so as it shouldn't have any mechanism to queue mails with sendmail=NONE
-
phryk
yeah, i removed that beforehand. :P
-
phryk
and yes, something like that but it finished within a minute or two. also a bunch of returned message mails and postmaster notifications.
-
phryk
mail as normal user still says no mail, even though maillog now shows "relay=phryk@localhost" for the mail in question…
-
cracauer
Anything in /var/spool/mqueue?
-
phryk
yeah, 10 files with some super-terse but patterned names.
-
cracauer
They are mails not yet processed.
-
cracauer
There is a sendmail command to list them along with the reason why they were not delivered.
-
cracauer
sendmail -bp
-
phryk
operation timed out on the remote server handling the original mail address. i don't want that server even being contacted, but the mail to go to my local user instead. is this doable without major hassle?
-
phryk
also thanks for all the help thus far cracauer :)
-
cracauer
Does `telnet localhost 25` connect and print sendmail's banner?
-
phryk
220 aether ESMTP Sendmail 8.16.1/8.16.1; Thu, 22 Dec 2022 18:10:24 +0100 (CET)
-
cracauer
Out of ideas for now.
-
phryk
not completely sure if that's what you meant by banner, but it does reply, yes.
-
cracauer
Yeah, then I don't know why it doesn't just connect to localhost when sending mail to localhost.
-
phryk
i assume it would send the relay after the original and since the original goes to a remote server on the web that's then contacted?
-
phryk
s/web/net/
-
cracauer
Yeah, but it should be hard to configure a global relay by accident.
-
cracauer
Mail config is like an endgame boss of sysadmin.
-
phryk
I have postfix and dovecot deployed on another machine. I think even a second set on that on my homeserver. I just had a look at sendmails submit.cf and oh goddess, no…
-
cracauer
You really want to mess with the m4 versions of sendmail config files.
-
phryk
asking a friend who told me he likes the sendmail config. thinking it takes a particular kind of person to decipher these arcane incanations.^^
-
jgh
full disclosure: I'm an Exim dev. Opinion: there are reasons for the figures here, and the .cf syntax is one:
securityspace.com/s_survey/data/man.202211/mxsurvey.html
-
VimDiesel
Title: Mail (MX) Server Survey
-
triaxx
I have ld: error: undefined symbol: environ and I see with clang -v that /usr/lib/crt1.o is not included during linking phase but I have no idea why...
-
cracauer
Which software?
-
triaxx
cracauer: I am building pulseaudio
-
cracauer
let me try
-
phryk
cracauer: my sendmail friend delivered, got it working :D
-
cracauer
Hm, works for me on amd64.
-
cracauer
phryk: what was it?
-
Dooshki
Hey there, I'm planning on installing FreeBSD on one of my computers, a laptop, and I've skimmed through the handbook, and I wonder if firefox in the quarterly package repositories is kept up-to-date?
-
triaxx
cracauer: I am sure it works fine using ports but I am building pulseaudio 16.1 using pkgsrc
-
cracauer
Ah.
-
triaxx
A simple example exhibit inclusion of /usr/lib/crt1.o as the first crt in the linking process
-
triaxx
I don't know what could cause a linkink without crt1
-
debdrup
Dooshki: quarterly packages stay the version number they are, unless there's a security update; that's the entire point of the quarterly packages.
-
Dooshki
debdrup: Understood. The reason why I'm asking is that for firefox in particular, the updates that they do release typically count as both security and feature updates (unless it's the ESR branch, which is security updates only)
-
Dooshki
So is my understanding correct that the regular branch will not be updated, but the ESR one will?
-
meena
-
VimDiesel
Title: disable sendmail on FreeBSD, completely. · GitHub
-
otis
Dooshki: you also can go with latest
-
debdrup
Dooshki: why not go look at the quarterly ports to find the answer to your question?
-
Dooshki
Will do. The practical answer as to why I haven't done it yet is that the only computer I'm stuck with is really slow due to havy disk I/O in preparation of backups for this reinstall :D So I was wondering if someone who uses the quarterly ports and a very popular application would know the answer off the top of their head
-
cracauer
I am looking at it in a min.
-
debdrup
cgit.freebsd.org is a webui, and typically quite fast
-
cracauer
Waiting for git checkout :-)
-
Dooshki
Good to know!
-
cracauer
At the time of this writing quuarterly and main are both on 108.0.1
-
cracauer
Although main has a portsrevision of 2
-
triaxx
I can reproduce the error with -Wl,--no-undefined but building a shared library with UND environ doesn't seem like a problem to me
-
triaxx
Though, I am not sure...
-
cracauer
I think updating firefox more often in quarterly works because there is little that depends on firefox. So you don't break chunks of the tree with regular updates.
-
Dooshki
Thanks for letting me know, that's really encouraging news! I'll go look at the logs to see if it's a long-term trend
-
cracauer
It is hard to imagine that FreeBSD would include insecure versions. So if a software only publishes mixed security/feature updates then quarterly == main.
-
Dooshki
Yeah, that makes sense, thanks!
-
Dooshki
I'm really excited to get back into FreeBSD after about a decade, now that I'm no longer forced to have certain pieces of proprietary or linux-only programs on my machine! (I've graduated from college, and I have a dedicated work laptop at my job now - no need to pollute my own machine)
-
Dooshki
I'm seeing some pretty neat new additions, like ZFS native encryption, the pkg tool, or even wayland compositors!
-
enlil
I have no idea how to show you, but I have pretty bad buffering using the proprietary Nvidia drivers. I used nvidia-xconfig for the config file and loaded nvidia-modeset. Mouse is handeled by moused (probably not relevent). I am on herbstluftwm using picom (that could be an issue), but I did try xfce and same stuttering (I did enable dbus). The stuttering is happening no matter what really is on screen, it just freezes for a second
-
enlil
every few seconds. I have no idea what log to send because I have no idea of the cause.
-
cracauer
What does x11/xvinfo say?
-
enlil
-
cracauer
That looks good. Is top showing high CPU usage for either video player or the X11 server?
-
enlil
Nope everything at around 10% running a invidious video.
-
cracauer
Which video player?
-
enlil
Just in firefox
-
enlil
Same thing with qutebrowser
-
cracauer
Does video work fine in vlc or somesuch?
-
enlil
Well it's not just the video. Just moving windows or even texting freezes. Just not the mouse pointer.
-
cracauer
Another in `dmesg`?
-
enlil
-
cracauer
Nothing. I'm out of ideas. Maybe /var/log/Xorg.0.log?
-
enlil
-
enlil
On tty1 I do get some ignorable errors... but they are ignorable I guess.
-
meena
18:33 <cracauer> It is hard to imagine that FreeBSD would include insecure versions. So if a software only publishes mixed security/feature updates then quarterly == main. ⬅️ software is constantly full of bugs and the only thing we can do is fix it when it's discovered, or help discover / try to prevent holes
-
enlil
tty1 is warning me about a UTF-8 character I didn't install I think.
-
enlil
or rather tty0
-
enlil
Guess the solution is to switch to AMD :D
-
cracauer
Only if you have an AMD card that is neither too old nor too new :-)
-
enlil
I have a GTX 1660, it really is a good value card. The one that is closest to the price is the RX 6500 XT, but no codecs and still 50€ more expensive :(
-
enlil
Wait..... could my encryption cause the problem?
-
enlil
It shouldn't slow down performance like that.
-
enlil
I think I will try GhostBSD or MidnightBSD.
-
enlil
So thanks for trying cracauer :D
-
cracauer
Anytime.
-
cracauer
Hope you figure it out.
-
ixmpp
hello!
-
triaxx
Compiling a shared library with -Wl,--no-undefined produces an undefined symbol when using environ
-
triaxx
I try the same test on NetBSD with clang 15 and it compiles without error
-
triaxx
I don't know what is the expected behavior...
-
rtprio
triaxx: paste as much output as is reasonable
-
rtprio
into bsd.to, obviously
-
daemon
just pipe to | termbin.com 9999
-
daemon
or is it .net
-
daemon
...
-
daemon
$ dmesg | nc termbin.com 9999
-
daemon
-
daemon
yep .com
-
triaxx
-
VimDiesel
Title: dpaste/ou2x (Plain Text)
-
triaxx
The C code is just:
-
triaxx
extern char **environ; int foo(int a) { if (environ) { return 1; } return 0; }
-
triaxx
Compiling without -Wl,--no-undefined works well but adding -Wl,--no-undefined produces error
-
triaxx
If I understand well, environ should be resolved at run-time
-
triaxx
$ readelf -s /lib/libc.so.7 |grep environ
-
triaxx
2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND environ
-
triaxx
Is it normal?
-
rtprio
triaxx: try adding stdlib.h
-
rtprio
you shouldn't need it
-
cracauer
Can you post the complete commandline that fails?
-
ixmpp
termbin.com is wonderful, right
-
triaxx
-
VimDiesel
Title: dpaste/voFN (Plain Text)
-
triaxx
The Makefile:
bsd.to/ErF7
-
VimDiesel
Title: dpaste/ErF7 (Plain Text)
-
triaxx
The command that fails: make libfoo.so
-
triaxx
Sorry, I should change the file type...
-
mason
triaxx: I wonder if it's some confusion related to this, noted in the Debian environ(7) man page:
bpa.st/M6OZI
-
VimDiesel
Title: View paste M6OZI
-
mason
Otherwise, I'm trying to see where it ought to come from.
-
cracauer
I just don't know whether the C runtime is supposed to be considered for --no-undefined like Linux does. I doubt any standard specifies that one way or another.
-
mason
My brain is probably mush today but if I say "extern char *environ[];" and then test "(&environ[0])" it builds.
-
mason
triaxx: ^
-
meena
mason: wouldn't have thought the compiler wouldn't have considered these two equal
-
triaxx
mason: actually it builds, but o_O
-
mason
meena: I saw a funny thing noting how arrays and pointers can be seen to be different.
-
mason
Either way, we document it as **environ so there's a bug somewhere, and I'm going to go out on a limb and say not a docbug.
-
meena
a limb? I always thought it's going out on a limp
-
mason
A limb, which gets thinner and more tenuous the further out you go. Limping is after you fall off of it.
-
mason
Limb as in treelimb.
-
mason
-
VimDiesel
Title: Dennis Ritchie - Write in C - Invidious
-
cracauer
Do you have access to a Linux system? It would be worth going through all the stuff that does get linked in to find the object file or .so file that contains the symbol. Then see whether FreeBSD links a similar file.
-
meena
i'd like to point out that assembler has less undefined behaviour, and yes, of course pascal won't quite cut it, because the grip of its knife isn't also made of a knife
-
mason
hehe
-
» meena has an Ubuntu laptop and an android phone
-
cracauer
C++ fixes all problems with C :-)
-
ixmpp
cracauer: the fact that you can say that and not get lynched, i think i'm gonna love it here
-
meena
cracauer: it fixes *some* problems. it can't fix all, because it claims to be C compatible
-
meena
thephd.dev this person, who works on both, wg14 and wg21, has some really insightful rants
-
VimDiesel
Title: The Pasture | The musings, ideas, discussions, and sometimes silly words from a digital sheep magician
-
mason
"foo + bar" might not be addition
-
cracauer
Which it isn't anyway.
-
triaxx
-
VimDiesel
Title: dpaste/MLzJ (Plain Text)
-
meena
-
VimDiesel
Title: Mina: "reading: The Wonderfully Terrible World of C and …" - Cathode Church
-
triaxx
ok, I failed my copy-paste for Debian:
bsd.to/ZhSr
-
VimDiesel
Title: dpaste/ZhSr (Plain Text)
-
triaxx
It seems that for both Linux and NetBSD, environ is defined in libc, but not for FreeBSD...
-
cracauer
Yeah, and FreeBSD links in libc, too, when making the shared lib.
-
meena
triaxx: that's really weird, where else would it be?
-
futunebot
I noticed on a pkg autoremove that a package asked me to remove a user which had been installed with the package
-
futunebot
now I'd like to check if there are any other orphaned users from the past on my system
-
futunebot
is there a way to check that automatically?
-
meena
futunebot: which package? I'm pretty, and sure, the package should do that itself
-
futunebot
meena: I think it was trousers and the user was called "_tss"
-
cracauer
/usr/lib/crt1.o contains the definition of environ
-
futunebot
alternatively, is there a log of the pkg uninstallation message anywhere?
-
triaxx
cracauer: Yes, I know
-
cracauer
It is linked against when you make an executable. But not when making a shared lib.
-
triaxx
I noticed that
-
cracauer
I'm diffing the clang -v ld args right now.
-
cracauer
So I think a bug report is in order.
-
meena
cracauer: that is something usually linked, tho
-
cracauer
But I think it is a reasonable expectation that environ is defined in the actual libc.
-
meena
futunebot: yes, it should just be in /var/log/messages
-
cracauer
That is why the linker pulls in libc when making a shared lib.
-
futunebot
meena: I tried grepping for _tss there and got no hits, maybe I should look manually
-
cracauer
I noticed that the linker line still fails on FreeBSD if you add -lc to it.
-
meena
futunebot: aside from the 80 or so patches, this looks like a normal port:
codeberg.org/freebsd/freebsd-ports/src/branch/main/security/trousers do i don't know why it's doing that
-
VimDiesel
Title: freebsd-ports/trousers at main - freebsd-ports - Codeberg.org
-
meena
futunebot: grep for pkg
-
futunebot
meena: I'm getting a hit for trousers deinstalled, but the messages are not preserved there
-
cracauer
triaxx: still there?
-
triaxx
cracauer: yes
-
cracauer
I made up my mind that this is a bug and that the definition of the symbol should be moved to libc.
-
cracauer
Which software package first showed the issue?
-
triaxx
pulseaudio 16.1
-
triaxx
It is 14.2 in ports
-
cracauer
Do you want to file a bug?
-
triaxx
I am doing
-
cracauer
The current definition is in /usr/src/lib/csu/common/ignore_init.c
-
cracauer
I would move it to src/lib/libc/stdlib/getenv.c
-
triaxx
-
VimDiesel
Title: 268518 – Undefined symbol error when building shared library with environ(7)
-
cracauer
Thank you!
-
cracauer
Are you officially updating the pulseaudio port?
-
triaxx
No, I would like to build a package depending on pulseaudio (using the pkgsrc framework)
-
cracauer
I will tackle a bunch of audio ports, mostly jackd related ones. Feel free to coordinate when convenient.
-
joko
Hi, could anyone help me with IPv6? I have an additional router in my home network, which does RAs for ULAs only. My FreeBSD client (a TrueNAS jail) appears not to be using this at all...
-
triaxx
cracauer: Thank you!