02:21:39 BaloneyGeek: which version of FreeBSD are you on? 02:23:03 meena: FreeBSD 13.1, fully updated 11:01:51 servus 11:02:45 dch: is that hungarian "hello", maybe? 11:30:18 meka: its Austrian hallo, or maybe more Viennese! 11:42:35 More like Barbarian^H^H^HBavarian. 11:47:55 Rhabarbarian 12:01:20 cracauer: while linguists put Viennese under "Bavarian dialects" aussiehst 12:01:40 *Austrians would not accept that 12:03:32 I see their lebahkaassemma and raise them an eitriger 12:03:39 WE ARE NOT THE SAME 13:23:42 My chromium build finished. 9:15 hours. Not too bad. 13:30:39 is that with the most up to date ports tree? 13:31:00 As of yesterday, yes. 13:31:16 Happy that it even built clean. 13:31:23 haha i hear you 13:31:31 i'm going to give it another try then 13:33:24 I also made a package (amd64) in case that is useful to you. It has pulseaudio support, though. 13:33:59 ty but i need to build it myself. lol it's personal now! :D 13:34:27 I know the feeling. 14:23:12 Hi. Is it possible, there is some sysctl property that may cause segfaults, traps and system error interrupts on many applications? 14:24:31 i can't find why so many apps dont work at all and puke trap or segfault messages 14:25:13 for example: falkon and otter browser 14:25:37 Did you try lldb on them? 14:26:54 hmmm lldb is better as I see 14:27:20 signal SIGSEGV: address access protected (fault address...) 14:27:47 so it is a "trap" as I understand 14:29:03 the same error on another app 14:29:20 no, not the same: invalid address 14:29:31 so, is it compiling error? should I report it? 14:29:59 Is that a native FreeBSD program or Linuxulator? 14:30:02 or it is because I didn't setup something, maybe sysctl 14:30:07 native 14:30:25 Then you should try to get a backtrace with lldb. 14:31:32 Did you compile it yourself or did you install it with pkg? 14:31:39 it is pkg 14:31:57 next application (netsurf): invalid address 14:32:08 Let me install otter and see what I get. 14:32:17 i didn'tcheck otter 14:32:27 hi. how do we find out how which packages are manually installed? 14:32:28 i checked falkon 14:32:34 falkon-qt 14:32:39 i386 14:32:43 (not a dependency) 14:33:19 falkon-qtonly 14:33:53 kristall, netsurf (works, but segfaults after clicking on any link) 14:35:22 netsurf-gtk3 works for me on amd64. 14:36:02 i think it is compilation problem 14:36:37 You say you are on i386? 14:36:53 yes, true 14:37:36 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 14:38:01 and these errors are not only on one machine 14:38:18 I can't reproduce those segfaults on amd64. Are you sure your hardware is stable? 14:39:06 well i am not sure, but these error I have on two machines 14:39:16 oh 14:39:44 You should definitely go through the trouble of getting a backtrace out of lldb. 14:40:04 isn't it require debuging symbols? 14:40:26 not for basic symbols in backtraces. 14:40:40 ok, I have no idea how todo this yet ;) 14:41:13 i did "strace" and it didn't tell me anything 14:41:25 which program do you want to debug first? Falkon? 14:41:31 is it the same as backtrace? 14:41:38 falkon is ok 14:41:57 lldb `which falkon` 14:41:58 r 14:42:06 [qait for segfault] 14:42:09 bt 14:43:04 hmmmm nice 14:43:17 first one is last call, right? 14:43:27 i quess because of "*" symbol 14:43:39 *? 14:43:58 first line starts with * 14:44:14 so I quess it is last call and position of error 14:44:34 oh. Yes. 14:44:50 so the error is related to intel driver 14:44:56 i915_dri.so 14:44:56 Can you use some paste service to make the backtrace available? 14:45:03 oh 14:45:23 You are screwed :-) 14:45:32 let me check other apps 14:46:14 again intel 14:47:05 I just started Falkon on my Intel graphics laptop, amd64. It works. 14:47:22 i use old machine 14:47:29 I would say this is worth opening a bug report for. Especially now that you have backtraces. 14:47:34 definitely legacy hardware 14:47:44 Should still work. 14:47:54 https://forums.freebsd.org/threads/simple-recipe-for-backtracing-with-lldb.86020/ 14:47:55 Title: Simple recipe for backtracing with LLDB? | The FreeBSD Forums 14:48:18 thank you 14:49:05 Anytime. 14:49:28 the same driver works on both machines 14:50:05 i will report it 14:50:14 As a brutal workaround you could use the Vesa driver for a while. 14:50:53 yea, but vesa doesn't suppoer xrandr 14:51:04 and I use external monitor 14:51:08 Yeah, it kinda sucks. 14:52:49 If you have a serial port you can use a vt100 :-) 14:53:18 is it possible there is some dependency problem? 14:53:26 like no mesa libs or something? 14:53:46 No, that would give you a clear error message. 14:54:02 ld error,right? 14:54:32 Yeah. 14:54:49 So here is a crazy workaround: ssh -Y localhost 14:55:34 Then start falkon over the ssh connection. That will make it unable to use 3D rendeering which is probably where you crash. 14:56:24 nope 14:57:23 A bug report it is then. Did you try running on the internal display without xrandr? 14:57:34 no 14:58:15 will try 14:58:21 before reporting 14:58:41 The xrandx thing might be important here. 14:59:15 i will try something stupid 14:59:40 let me try run falkon with both screens turned on 14:59:51 because I turned off internal screen 15:01:36 yea, didn't work 15:04:20 I would still try on a freshly booted machine's internal display without any xrandr happening at all. 15:04:38 yeap,will try 16:27:15 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. 16:41:39 is there an easy way to have sendmail forward all mails to my local user? 16:46:16 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… 16:47:24 Any files at all created in /var/mail ? 16:48:14 /var/mail/phryk exists, but is empty. 16:48:38 also a bunch of other files in there, mostly named after services. 16:48:53 The root mailbox should have the daily run outputs. 16:49:09 "all emails", meaning "any local part" is a grand way for having spammers discover "known active accounts", resulting in a deluge of spam 16:49:11 From default cronjobs. 16:50:00 jgh: this is a desktop machine behind a nat. i doubt that. 16:51:00 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… 16:51:47 Yeah, there should be cron output in root's mailbox then. 16:51:57 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. 16:52:00 Try echo foo | at now + 1 minute 16:52:04 as root 16:52:55 umm, so many emails. 16:53:23 is this now throwing output of every cronjob ever run into the queue?^^ 16:53:47 (i did service sendmail start) 16:54:11 I don't know. I don't think so as it shouldn't have any mechanism to queue mails with sendmail=NONE 16:55:16 yeah, i removed that beforehand. :P 16:57:02 and yes, something like that but it finished within a minute or two. also a bunch of returned message mails and postmaster notifications. 17:00:04 mail as normal user still says no mail, even though maillog now shows "relay=phryk@localhost" for the mail in question… 17:03:56 Anything in /var/spool/mqueue? 17:04:44 yeah, 10 files with some super-terse but patterned names. 17:05:04 They are mails not yet processed. 17:05:29 There is a sendmail command to list them along with the reason why they were not delivered. 17:06:09 sendmail -bp 17:08:13 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? 17:08:26 also thanks for all the help thus far cracauer :) 17:09:38 Does `telnet localhost 25` connect and print sendmail's banner? 17:10:43 220 aether ESMTP Sendmail 8.16.1/8.16.1; Thu, 22 Dec 2022 18:10:24 +0100 (CET) 17:11:17 Out of ideas for now. 17:11:18 not completely sure if that's what you meant by banner, but it does reply, yes. 17:11:54 Yeah, then I don't know why it doesn't just connect to localhost when sending mail to localhost. 17:12:36 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? 17:12:48 s/web/net/ 17:13:15 Yeah, but it should be hard to configure a global relay by accident. 17:20:04 Mail config is like an endgame boss of sysadmin. 17:23:18 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… 17:24:02 You really want to mess with the m4 versions of sendmail config files. 17:30:02 asking a friend who told me he likes the sendmail config. thinking it takes a particular kind of person to decipher these arcane incanations.^^ 17:34:49 full disclosure: I'm an Exim dev. Opinion: there are reasons for the figures here, and the .cf syntax is one: http://www.securityspace.com/s_survey/data/man.202211/mxsurvey.html 17:34:50 Title: Mail (MX) Server Survey 17:44:53 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... 17:54:21 Which software? 17:56:43 cracauer: I am building pulseaudio 17:57:06 let me try 18:00:53 cracauer: my sendmail friend delivered, got it working :D 18:00:54 Hm, works for me on amd64. 18:01:06 phryk: what was it? 18:02:38 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? 18:05:26 cracauer: I am sure it works fine using ports but I am building pulseaudio 16.1 using pkgsrc 18:06:00 Ah. 18:06:27 A simple example exhibit inclusion of /usr/lib/crt1.o as the first crt in the linking process 18:07:03 I don't know what could cause a linkink without crt1 18:15:55 Dooshki: quarterly packages stay the version number they are, unless there's a security update; that's the entire point of the quarterly packages. 18:18:49 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) 18:19:24 So is my understanding correct that the regular branch will not be updated, but the ESR one will? 18:19:29 phryk: https://gist.github.com/igalic/c77ed494e102977c9fd06ce9b053cda0 /cc cracauer jgh 18:19:30 Title: disable sendmail on FreeBSD, completely. · GitHub 18:19:59 Dooshki: you also can go with latest 18:23:00 Dooshki: why not go look at the quarterly ports to find the answer to your question? 18:25:12 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 18:25:38 I am looking at it in a min. 18:25:56 cgit.freebsd.org is a webui, and typically quite fast 18:26:10 Waiting for git checkout :-) 18:26:23 Good to know! 18:27:29 At the time of this writing quuarterly and main are both on 108.0.1 18:27:41 Although main has a portsrevision of 2 18:28:02 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 18:28:36 Though, I am not sure... 18:28:45 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. 18:32:22 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 18:33:23 It is hard to imagine that FreeBSD would include insecure versions. So if a software only publishes mixed security/feature updates then quarterly == main. 18:33:59 Yeah, that makes sense, thanks! 18:35:47 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) 18:36:23 I'm seeing some pretty neat new additions, like ZFS native encryption, the pkg tool, or even wayland compositors! 18:41:02 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 18:41:02 every few seconds. I have no idea what log to send because I have no idea of the cause. 18:42:05 What does x11/xvinfo say? 18:44:00 https://dpaste.org/PheZi 18:45:07 That looks good. Is top showing high CPU usage for either video player or the X11 server? 18:47:01 Nope everything at around 10% running a invidious video. 18:47:19 Which video player? 18:47:32 Just in firefox 18:47:39 Same thing with qutebrowser 18:47:58 Does video work fine in vlc or somesuch? 18:48:58 Well it's not just the video. Just moving windows or even texting freezes. Just not the mouse pointer. 18:49:50 Another in `dmesg`? 18:51:01 https://dpaste.org/nqGiL 18:52:23 Nothing. I'm out of ideas. Maybe /var/log/Xorg.0.log? 18:53:25 https://dpaste.org/6tJng 18:53:51 On tty1 I do get some ignorable errors... but they are ignorable I guess. 18:54:02 18:33  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 18:55:09 tty1 is warning me about a UTF-8 character I didn't install I think. 18:55:14 or rather tty0 18:55:53 Guess the solution is to switch to AMD :D 18:59:30 Only if you have an AMD card that is neither too old nor too new :-) 19:03:02 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 :( 19:06:54 Wait..... could my encryption cause the problem? 19:07:39 It shouldn't slow down performance like that. 19:12:14 I think I will try GhostBSD or MidnightBSD. 19:12:22 So thanks for trying cracauer :D 19:12:32 Anytime. 19:12:49 Hope you figure it out. 19:20:27 hello! 20:19:40 Compiling a shared library with -Wl,--no-undefined produces an undefined symbol when using environ 20:20:00 I try the same test on NetBSD with clang 15 and it compiles without error 20:20:14 I don't know what is the expected behavior... 20:30:25 triaxx: paste as much output as is reasonable 20:30:39 into bsd.to, obviously 20:31:46 just pipe to | termbin.com 9999 20:32:05 or is it .net 20:32:05 ... 20:32:30 $ dmesg | nc termbin.com 9999 20:32:31 https://termbin.com/d34t8 20:32:32 yep .com 20:34:38 https://bsd.to/ou2x 20:34:39 Title: dpaste/ou2x (Plain Text) 20:36:21 The C code is just: 20:36:23 extern char **environ; int foo(int a) { if (environ) { return 1; } return 0; } 20:37:28 Compiling without -Wl,--no-undefined works well but adding -Wl,--no-undefined produces error 20:44:49 If I understand well, environ should be resolved at run-time 20:55:06 $ readelf -s /lib/libc.so.7 |grep environ 20:55:20 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND environ 20:55:29 Is it normal? 20:59:05 triaxx: try adding stdlib.h 20:59:37 you shouldn't need it 21:02:39 Can you post the complete commandline that fails? 21:03:38 termbin.com is wonderful, right 21:05:17 The C code: https://bsd.to/voFN 21:05:18 Title: dpaste/voFN (Plain Text) 21:05:53 The Makefile: https://bsd.to/ErF7 21:05:54 Title: dpaste/ErF7 (Plain Text) 21:06:02 The command that fails: make libfoo.so 21:07:28 Sorry, I should change the file type... 21:12:52 triaxx: I wonder if it's some confusion related to this, noted in the Debian environ(7) man page: https://bpa.st/M6OZI 21:12:53 Title: View paste M6OZI 21:13:45 Otherwise, I'm trying to see where it ought to come from. 21:16:18 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. 21:19:55 My brain is probably mush today but if I say "extern char *environ[];" and then test "(&environ[0])" it builds. 21:20:12 triaxx: ^ 21:21:52 mason: wouldn't have thought the compiler wouldn't have considered these two equal 21:22:23 mason: actually it builds, but o_O 21:22:25 meena: I saw a funny thing noting how arrays and pointers can be seen to be different. 21:22:53 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. 21:23:48 a limb? I always thought it's going out on a limp 21:24:11 A limb, which gets thinner and more tenuous the further out you go. Limping is after you fall off of it. 21:24:40 Limb as in treelimb. 21:25:35 https://yewtu.be/watch?v=H4YRPdRXKFs 21:25:36 Title: Dennis Ritchie - Write in C - Invidious 21:27:29 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. 21:29:58 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 21:31:41 hehe 21:32:16 * meena has an Ubuntu laptop and an android phone 21:32:18 C++ fixes all problems with C :-) 21:32:56 cracauer: the fact that you can say that and not get lynched, i think i'm gonna love it here 21:33:27 cracauer: it fixes *some* problems. it can't fix all, because it claims to be C compatible 21:34:25 https://thephd.dev/ this person, who works on both, wg14 and wg21, has some really insightful rants 21:34:26 Title: The Pasture | The musings, ideas, discussions, and sometimes silly words from a digital sheep magician 21:34:36 "foo + bar" might not be addition 21:34:37 Which it isn't anyway. 21:34:46 cracauer: https://bsd.to/MLzJ 21:34:47 Title: dpaste/MLzJ (Plain Text) 21:35:44 https://cathode.church/@meena/109501287796167199 this quote is from the latest 21:35:46 Title: Mina: "reading: The Wonderfully Terrible World of C and …" - Cathode Church 21:36:41 ok, I failed my copy-paste for Debian: https://bsd.to/ZhSr 21:36:42 Title: dpaste/ZhSr (Plain Text) 21:37:11 It seems that for both Linux and NetBSD, environ is defined in libc, but not for FreeBSD... 21:38:20 Yeah, and FreeBSD links in libc, too, when making the shared lib. 21:38:35 triaxx: that's really weird, where else would it be? 21:40:04 I noticed on a pkg autoremove that a package asked me to remove a user which had been installed with the package 21:40:26 now I'd like to check if there are any other orphaned users from the past on my system 21:40:36 is there a way to check that automatically? 21:40:41 futunebot: which package? I'm pretty, and sure, the package should do that itself 21:41:17 meena: I think it was trousers and the user was called "_tss" 21:43:08 /usr/lib/crt1.o contains the definition of environ 21:43:19 alternatively, is there a log of the pkg uninstallation message anywhere? 21:43:27 cracauer: Yes, I know 21:43:35 It is linked against when you make an executable. But not when making a shared lib. 21:43:49 I noticed that 21:43:53 I'm diffing the clang -v ld args right now. 21:44:56 So I think a bug report is in order. 21:45:23 cracauer: that is something usually linked, tho 21:45:59 But I think it is a reasonable expectation that environ is defined in the actual libc. 21:46:07 futunebot: yes, it should just be in /var/log/messages 21:46:30 That is why the linker pulls in libc when making a shared lib. 21:46:40 meena: I tried grepping for _tss there and got no hits, maybe I should look manually 21:46:53 I noticed that the linker line still fails on FreeBSD if you add -lc to it. 21:47:01 futunebot: aside from the 80 or so patches, this looks like a normal port: https://codeberg.org/freebsd/freebsd-ports/src/branch/main/security/trousers do i don't know why it's doing that 21:47:02 Title: freebsd-ports/trousers at main - freebsd-ports - Codeberg.org 21:47:26 futunebot: grep for pkg 21:50:48 meena: I'm getting a hit for trousers deinstalled, but the messages are not preserved there 22:06:12 triaxx: still there? 22:23:10 cracauer: yes 22:23:49 I made up my mind that this is a bug and that the definition of the symbol should be moved to libc. 22:24:09 Which software package first showed the issue? 22:24:56 pulseaudio 16.1 22:25:24 It is 14.2 in ports 22:25:29 Do you want to file a bug? 22:25:37 I am doing 22:26:35 The current definition is in /usr/src/lib/csu/common/ignore_init.c 22:27:19 I would move it to src/lib/libc/stdlib/getenv.c 22:27:53 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268518 22:27:55 Title: 268518 – Undefined symbol error when building shared library with environ(7) 22:28:53 Thank you! 22:31:59 Are you officially updating the pulseaudio port? 22:45:59 No, I would like to build a package depending on pulseaudio (using the pkgsrc framework) 22:48:51 I will tackle a bunch of audio ports, mostly jackd related ones. Feel free to coordinate when convenient. 22:59:19 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... 22:59:25 cracauer: Thank you!