00:35:30 Is there a simple way (simple command) to turn a root on zfs created zpool from the installer to a mirror? 00:36:25 freebsd-src/usr.sbin/bsdinstall/scripts/zfsboot might be the best thing to follow. 00:42:47 skered, zpool attach pool old_device new_device 00:43:35 I'm not sure it's going to be that simple. 00:43:47 skered, it is 00:43:47 Need to parition and play with swap 00:43:54 although it's zpool attach pool device new_device 00:44:00 what disk name? 00:44:04 old and new 00:44:08 > If device is not currently part of a 00:44:08 mirrored configuration, device automatically transforms into a two-way 00:44:08 mirror of device and new_device. 00:44:56 The issue is to mimic the install as if zroot is a mirror with swap mirrored too. 00:45:12 And maybe other issues with bootcode and efi boot? 00:45:22 so you want to recreate the partition layout of the original disk too? 00:45:26 what disk name? old and new 00:45:46 VVD: nda0 (existing) nda1 (new). 00:46:03 er well nda0p4 00:46:09 gpart show nda0 nda1 00:50:50 Sorry. Had to setup gh-gist. 00:50:53 https://termbin.com/lt4w 00:51:00 https://gist.github.com/derekschrock/e67c825ee0057029c91287ed6973da20 00:51:01 Title: gist:e67c825ee0057029c91287ed6973da20 · GitHub 00:51:29 why is perl hardcoded... 00:51:31 sigh 00:52:38 skered, gpart show nda0 nda1 00:54:56 seems like the new device isn't nda1 ("gpart: No such geom: nda1.") 00:57:46 https://forums.freebsd.org/threads/howto-convert-single-disk-zfs-on-root-to-mirror.49702/ 00:57:48 Title: ZFS - [HOWTO] Convert Single disk ZFS-On-Root to Mirror | The FreeBSD Forums 00:58:50 nmz: a report of something similar suggested there was a problem with the reporters perl setup https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275549 so maybe try reinstalling perl? 00:58:53 Title: 275549 – devel/p5-Locale-libintl requires a full specific and larger version of perl5. 01:01:20 then the requires are f-ed? 01:01:32 nah, I'm just gonna ln -s perl to perl35 01:01:46 its functionally the same no? 01:10:10 hm, pkg install -f perl5 should just reinstall perl without affecting the rest of the system 01:16:03 (why is default version handling of perl like that?) 01:32:20 freebsd is so bizarre 01:32:35 there is no wrapper for tclsh either 01:34:59 hm? I have some tclsh8.6 installed by tcl86, do you search that? 01:35:49 lua installs as lua54 instead of lua5.4 as well 01:36:04 its fine, I just had to fix the hashbang 01:40:09 yep, it did nothing 01:49:55 nimaje: It is. Just means it isn't in use. 01:50:39 VVD: This forum post looks good. 01:51:40 Thanks 01:57:20 Why would you use geom-mirror for swap and not a zfs volume? 01:59:33 zfsscript in the install is using geom though. 02:02:13 zfs has some memory overhead you wouldn't want for swap 02:36:57 Seems like you can disable features such that isn't an issue however there are other features that might not work if it's a volume. 02:37:09 Oh well. I guess we can't be that fancy. 02:46:09 the waiting game for 2 past hour is painful 05:13:22 Is a "process group" all of the child processes under a parent process? 05:16:48 (ah that's what the "PG" stand for in PGID) 05:36:27 Okay, so the kernel manages each process into segments of immutable machine code text and mutable data and stack. Even though the latter two are different memory segments, doesn't the data exist in each layer of a stack or does the data get allocated in its own different area in memory? 06:03:16 Are "system pages" the way the kernel manages the dynamic allocation of process such as a heap? I guess that would explain why the heap is slower since pages are allocated else where from the memory segments. 07:19:16 voy4g3r2: what are you waiting for? 07:31:14 good people of #freebsd, hello ;/ 07:32:47 after every boot I got from ntpd: "giving up resolving host pool.ntp.org: Address family for hostname not supported (1)" 07:32:50 any idea? 07:45:20 what does `host pool.ntp.org` say? 07:49:19 host shows me normally ip addresses 08:01:48 morena, Does "ntpq -pn" shows anything? 08:03:09 No association ID's returned 08:04:16 Thanks. (That clears my suspicion of ntpd starting before a network connection is available) 08:06:46 it shows in console pretty late, already while "login:" input is availavle few seconds 08:07:15 Is ntpd currently running? 08:08:44 yes 08:10:17 I have https://termbin.com/vuan in /etc/ntp.conf (output of "awk '/^[^#]+/' /etc/ntp.conf") 08:11:35 Oh! I am using "{0,2}.freebsd.pool.ntp.org", not "pool.ntp.org". 08:13:26 https://termbin.com/ndoy 08:13:55 ye, I changed just freebsd to pool.ntp.org after that issue and bc. of high ping 08:14:23 Ah 08:14:29 and instead pool replaced with server 08:14:45 but nothing changede 08:15:10 changed 08:18:42 with pool instead of server 08:18:49 I get not giving up resolving host ... 08:18:56 but "error resolving host .... 08:19:25 if I replace server with pool infront url 08:32:31 can't be that related to ipv6 on a system without it? 08:32:54 but I tried ntpd flag -4 08:35:03 when I try like service ntpd restart I don't get any error 08:39:42 also I get ntpd starting later 08:40:06 part in /var/log/messages https://termbin.com/1v1b 08:48:08 I have just ntpd_enable="YES" in rc.conf 09:02:25 morena: Can you add: ntpd_flags="-4" in rc.conf, restart and check it again? 09:03:04 Also I'd suggest having: ntpd_sync_on_start="YES" and ntp_leapfile_fetch_verbose="YES" too. 09:04:29 I tired -4 flag before, nothing changed, but will will to add all you mentioned 09:05:26 tried 09:05:33 morena: Are you sure it was exactly: ntpd_flags="-4" 09:06:28 the same error now 09:06:37 with all above flags 09:15:54 Hey all! Bought a new server and have a question. If I move the old disk to the new hardware and do zfs import will it import the zroot for /usr/local/etc /home and such? Or do I need to backup everything with rsync? 09:18:58 when I disable ntpd and start it manualy after login, then there is no login 09:19:02 error 09:27:24 I have static ip, simple as in freebsd doc. dhcp and resolv not enabled 09:30:07 maybe I can try local-unbound 09:33:43 anyone can help with some dtrace? 09:33:50 is netif running? 09:34:15 here's the code that I need to dtrace 09:34:16 https://github.com/CollaboraOnline/online/blob/master/net/Socket.cpp#L1044-L1097 09:34:17 Title: online/net/Socket.cpp at master · CollaboraOnline/online · GitHub 09:35:04 specifically this line 09:35:04 rc = ::bind(getFD(), (const sockaddr *)&addrunix, sizeof(struct sockaddr_un)); 09:40:54 with local-inbound default resursive (I assume) it does not show more that error 09:42:24 nmz netif is enabled at least it shows with 'service -e' but no more info about it 09:42:57 morena: local unbound would help 09:43:20 tercaL ye, I wanted to use it anyway 09:43:59 if did not touch any setting, just resolv.conf to 127.0.0.1 does it by default resursive into root servers? 09:44:27 no any forward nonsense? 10:00:16 with local_unbound I got also 'edns0' into resolv.conf 10:01:40 is that udp thing in dns? 10:02:21 what may be the issue before as pool send more ip which may be in udp not tcp? 10:03:45 something like that I remember with alpine musl as it did not use udp, so some server when sent many ip in udp it did not resolve at all 10:21:46 edns0 permits groups of udp packets; needed when a dns response exceeds a single udp mtu 10:22:41 you still have to go to tcp eventually 10:23:18 okay 11:13:58 I want to test a portupgrade in poudriere. Since I want to reduce runtime and only test my port, I would like to use packages for _all_ dependencies of the port during "poudriere testport". Is there any way to tell poudriere to not build the dependencies, but to install them as package? 11:30:25 ok, poudriere option "-b latest" seems to do what I want... Let's see how it finishes 11:42:12 skered, I'm not using geom-mirror for swap on my hosts. I'm using 2 plain swap partitions - "stripe". 12:36:15 how likely is it for me to get a pull-request accepted for a change in ppc_pci.c and uart_bus_pci.c.. Is it worth the hazzle? 12:37:57 drobban: procedurally, the github pull request system (assuming that's what you're referring to) seems to work fairly well, so i think the chances of it being affected would depend on the actual change 12:38:10 s/affected/accepted/ 12:39:48 it would probably help to open a PR describing the issue and put the pull request url in there, which makes it more likely someone responsible for that code would see it 12:40:09 (if there's anyone left who is responsible for ppc, anyway :-) 13:46:48 unixwitch: I see, will give it a shot. Humm.. perhaps I should try to roll my own system in dev mode and test my change on that before I send my commit in a PR. 14:08:30 drobban: btw, when i said "open a PR" there, i mean a freebsd bug, not a github pull request... kind of confusing that the same acronym is used for both. basically open a bug, then open a pull request for the fix, then put the pull request url on the bug 14:10:09 PR stands for problem report here 14:36:56 It stands for Puerto Rico here. 15:13:18 WTF: https://bpa.st/PWUQ 15:13:19 Title: View paste PWUQ 15:15:34 network problems? 15:17:14 Nothing apparent - name resolution works can ping the host. . . 15:19:25 A sniff reveals I'm getting 404s. 15:20:01 Oh. . . 15:20:04 12.4-RELEASE-p4 15:20:07 That's probably why. 15:39:31 Is there a way to do a git clone of just the OS version you're tracking, vs. the head/worktree method people seem to be pushing? 15:42:10 you mean you want to directly clone releng/X.Y? 15:42:21 'Zactly. 15:43:03 CrtxReavr: "git clone -b releng/14.0 https://git.freebsd.org/src.git"? and add --single-branch if you want to avoid fetching the data for other branches you don't want 15:43:04 Title: src - FreeBSD source tree 15:44:17 PR, like many abbreviations, is context-sensitive and means a lot of things, so it's up to people to use clues, as there's no point in discussing which is "right". 15:44:31 And in other news, water is wet. ;) 15:45:09 unixwitch: ppc64 still gets packages built 15:45:27 debdrup: this is about ppc(4), the parallel port driver 15:45:35 Welp! 15:47:33 unixwitch, tell me again what was wrong with svnup? 15:48:24 in non-technical spheres, it can mean "public relations" ;) 15:48:39 ISA support is gone (which won't matter, since it's ISA and PCI is handled the same via newbus), but since it's part of the base system and not marked for deprecation in 15-CURRENT so far as I can spot (someone might check for Giant cf. locking(9)?), so a problem report seems like a good idea. 15:49:06 ZedHedTed: even in technical spheres, it can mean that - because you can't divorce technical from political. 15:49:23 Or, maybe you can, if there's only one person involved.. :P 15:50:00 heh, true. just look at RMS. :P 15:51:05 I'd rather not, if it's all the same to you ;) 15:51:08 CrtxReavr: i've been here since CVS and out of that, svn, and git, i find git the most useful... i think a more interesting question is which of git, darcs or hg is better :-) 15:51:19 RMS has often made the nerd news for his uncouth behavior. . . though I used to work with a lot of people who experienced it first hand. 15:51:50 unixwitch, yeah. . . used cvsup 15:52:09 CrtxReavr: well, svn is _eventually_ (as in, some time after all relevant branches that can use it, have been EOL'd) - so at some point it won't work anymore. 15:52:53 debdrup, the FreeBSD SVN servers have been taken offline. 15:52:59 i remember netbsd didn't want to move to git because some people there thought it was unsuitable for large repositories, but it seems to be working okay in freebsd. although this discussion about the commit with a wrong date is interesting... 15:54:44 CrtxReavr: svnweb is still up, as far as I can see. 15:55:55 unixwitch: back in the day, git absolutely wasn't suited. When FreeBSD was added to a git repo, it'd just cause git to be sad and hang any number of ways - that's why it took forever for FreeBSD to move to it. 15:56:24 NetBSD, I believe, are going with Mercurial? 16:02:50 hehe 16:03:08 Few months ago, I was in this quaint little tourist down about an hour from here. 16:03:24 i remember opensolaris used hg, and back then it didn't come with any built-in way to merge branches, which was... weird. that was probably >10 years ago though so i imagine it's improved 16:03:26 I see this old guy in a NetBSD shirt, walking with his wife. 16:04:04 As I passed them I said "someone has a bunch of old computers at home that no one else wants." 16:04:33 His wife started pointing at him vigorously and persiing her lips. 16:05:05 The guy laughed and shook his head. . . said "Well, if you're going to just call me out like that." 16:05:25 I said, well, you're the one wearing the shirt. 16:09:52 Seems fair. 16:10:09 * debdrup eyes The Stack... 16:10:38 It's a bunch of stuff, mostly retro, that _isn't_ in my rack. 16:11:19 i have a bunch of old sparc/parisc/alpha stuff lying around that i'd like to use, but nowadays it's hard to justify the electricity bill... 16:12:20 My rack is full, but the electricity cost certainly is also a reason to not run it.. 16:12:33 I can't quite make myself throw any of it away, though. 16:19:15 I can _just_ about justify a HP Microserver Gen10+ for all the stuff I need available on the network (it hosts both nfs and iSCSI via ctld(8) because all my other regular machines only have NVMe SSDs that aren't _that_ big), but the backup server with +200TB storage and all the other stuff in the rack is turned off unless it's needed (which is handled by WoL or IPMI). 16:22:57 i don't have any computers that will boot netbsf. 16:23:04 s/sf/sd/ 16:23:20 Is that even possible? 16:26:30 maybe a modern amd64 system with some weird hardware that makes the kernel panic? 16:26:50 depends on how you interpret that 'will', if you interpret it as 'could' then I'm sceptical too if that statement is true, if you interpret it as 'at some point in the future' then maybe 16:26:53 On 10-CURRENT? 16:27:07 nimaje: true. 16:28:15 if this wasn't #freebsd it could also be someone who only owns a smartphone, but that seems unlikely here :-) 16:30:27 I would think that wouuld be true for most of Libera.. 16:38:53 unixwitch: irc with a smartphone is really painful. typing in general is painful on a smartphone if you ask me 16:52:47 Hello. I just upgraded from 13.2 to 14.0 using the release / install notes. After reboot, when I try to run "pkg" I get the following error: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" 16:53:57 use pkg-static to upgrade pkg 16:54:10 thank you 16:55:29 Was there anything I did wrong in the upgrade to cause this? Trying to determine what had caused this 16:56:11 run freebsd-update 3rd time? 16:56:35 When I ran it the third time, it said everything was up to date 16:56:39 depending on which pkg it is, freebsd-update wouldn't help 16:56:53 RoyalYork: you're supposed to updates your packages after the second freebsd-update install and before the third run 16:56:55 presumably it's the ports pkg though, and you'd just have to know to upgrade it with `pkg-static` or `pkg bootstrap -f` 16:57:08 because the third run removes the shared libraries from the old release, which packages will require 16:57:09 pkg bootstrap -f had worked 16:57:10 thank you 16:57:25 unixwitch, I guess i missed that 16:57:40 I will read it the notes more thoroughly in future 16:58:01 maybe worth adding that you need to use 'pkg upgrade -f' here, to make sure it reinstalls all the packages for the new release even if the version numbers haven't changed 16:58:42 Im showing userland as 14.0-RELEASE-p3 and kernel as p4 - Is this all correct? 16:59:02 vice cersa 16:59:04 shuld be the other way aro- 16:59:05 yeah 16:59:08 great 16:59:14 should, even. -p4 was just an openssh change 17:00:49 it might not be a bad idea for freebsd-update to print a warning about this, since it's not an uncommon problem... 17:09:19 hm, I throught pkg should detect the change in ABI, so that -f isn't needed? 17:11:06 hm, maybe. it's been a while since i did that 17:24:13 Thanks for your help everyone 17:25:38 unixwitch: it's usually a peripheral like the laptop camera that it stops on. but even after i disconnected the camera, it stopped over a different part. so instead of taking the laptop apart further, i tried openbsd and that booted fine. 17:25:58 'it' meaning the boot process. 17:56:53 <[Gentoo]> is anyone else getting an error building current 17:57:27 <[Gentoo]> yacc 17:57:30 <[Gentoo]> error code 134 17:59:09 <[Gentoo]> https://imgur.com/dJHWHTW 17:59:52 <[Gentoo]> wasn't sure if it was something to do with a previous installworld 18:00:32 [Gentoo]: incremental buildworld of 8e36732e6eb50976ecc139a9c499f1396d340d1a ("systm: Annotate copyin() and related functions with __result_use_check") is fine for me on amd64. haven't tried a full build for a while. 18:00:53 make + make install in usr.bin/yacc is also fine 18:01:17 is there anything in dmesg? (sometimes things that cause SIGABRT might log there) 18:01:47 <[Gentoo]> i recently did a buildworld and installworld the other day so im very recent now it wont build 18:01:57 <[Gentoo]> wonder if it could be something src.conf or related 18:02:16 do you have CPUTYPE or something like that set in src.conf? 18:02:44 <[Gentoo]> https://bpa.st/WTUA 18:02:45 Title: View paste WTUA 18:03:44 <[Gentoo]> https://bpa.st/M2VA 18:03:45 Title: View paste M2VA 18:03:49 <[Gentoo]> ^ my kernel config 18:04:20 the only thing that stands out to be there iw WITH_RETPOLINE, did you add that recently or did it work before? 18:04:24 s/iw/is 18:04:25 <[Gentoo]> worked before 18:04:34 hm, not sure then :-/ someone on freebsd-current might know 18:06:47 <[Gentoo]> ok, thanks 18:24:34 can anyone recommend an RDP (the Windows protocol) client which is in ports, works on Wayland, and handles HiDPI scaling properly (by doing it on the server)? Remmina doesn't do the last bit, FreeRDP claims to with /smart-sizing but it doesn't scale properly, it just scales the bitmap 18:27:56 ah... maybe freerdp does do it once you find the right combination of 3 different scaling options 19:02:29 yeah, freerdp should do that but it probably requires experimentation 19:13:06 i wish people who post on freebsd mailing lists would learn to trim quotes... so bored of pressing space three times just to get to the actual content of the mail. 19:14:04 Agreed! 19:16:56 unixwitch, try FreeRDP 3.1.0: https://reviews.freebsd.org/D43127 19:16:57 Title: ⚙ D43127 net/freerdp3: new port 3.1.0 + fix net/remmina to build with installed net/freerdp3 19:17:27 VVD: i got it working in 2.11.4 in the end, it turns out /scale-desktop:150 /f does what i want 19:19:21 now i just need to script something to prompt for the password 19:54:19 cron execution question here: I am working through (still can't get a snapshot) zfs-snapshot utility through packages, i have added an hourly job to the crontab and when it executes at 2 past hour.. all the output i get is: https://bsd.to/J0BA 19:54:20 Title: dpaste/J0BA (Plain Text) 19:55:08 and my periodic.conf just never seems to run.. but when i run the command OUTSIDE of both of these methods i can get it to run.. https://bsd.to/UgGU 19:55:09 Title: dpaste/UgGU (Plain Text) 19:55:36 i guess what i am asking for, is a second set of eyes.. is there something "missing" 19:56:15 Where did you locate the crontab file you set up for it? 19:56:36 I used /etc/cron.d/zfs-auto-snap-local as the file location here for example. 19:56:57 But /usr/local/etc/cron.d/foo would also be equivalent. 19:57:05 i just do a crontab -e as root 19:57:12 let me find exactly where that went 19:57:27 i assumed it was right as you can see the entry where it tries to execute periodic hourly 19:57:52 Hmm... I suggest that you use 'crontab -e' for personal non-root crontabs and use a whole file for system level root crontabs. It's easier by a lot in the long run. 19:58:22 Your root crontab -e will have gone in /var/cron/tabs/root but that is not important. 19:58:43 i use /etc/crontab for root's crontab, i find that easier than having them scattered around different files. (ymmv though) 19:58:53 yup, the file has an entry 19:59:09 Note that the syntax is different between a personal crontab and a system crontab by the extra field to specify the uid running the task. 19:59:15 voy4g3r2: did you forward root's mail somewhere in /etc/aliases? otherwise it'll go to /var/mail/root (you can run 'mail' as root to read that, or mutt or whatever) 19:59:38 i'm assuming the problem here is that command isn't working... if it does work i wouldn't expect any mail output 20:00:15 unixwitch, The paste shown seemed to not show any task being run from cron other than atrun and periodic hourly. 20:00:21 yeah i just noticed that 20:00:52 voy4g3r2: what exactly did you put in crontab -e? 20:01:34 (crontab -l should print the current crontab) 20:01:39 I prefer to avoid needing to merge files on upgrades so I always prefer to put my own tasks in a separate file in the /etc/cron.d/ directory. 20:02:24 https://bsd.to/xgRE 20:02:25 Title: dpaste/xgRE (Plain Text) 20:02:39 this is whaat the package recommended to do 20:02:42 remove 'root', you don't specify the user in a personal crontab 20:02:53 that syntax is for system-wide crontab files like /etc/crontab or cron.d 20:03:18 also is 'periodic hourly' a thing? i guess this is something zfs-snapshot adds 20:04:00 from what i can read, from stepping through zfs-snapshot, it requries the periodic(8) subsystem and to pass the "frequency" hourly daily weekly monthly 20:06:51 voy4g3r2: fwiw, i would have expected that erroneous 'root' to generate an error mail, so i still recommend checking /etc/aliases to make sure root's mail is going somewhere 20:07:47 echo "my⊙ra" > /root/.forward 20:10:08 looks like everything is going to root but nothing in the root mailbox 20:10:59 ohh here we go just cat /var/mail/root 20:11:55 and there it is .... 20:12:12 .. /bin/sh: root: not found every 2 minutes past hour :) 20:12:14 reading mail with cat, that's very 31337 :-D 20:12:43 well i do mail and it defaults to /var/mail/chrisdavidson 20:13:00 i do not have email setup on the box.. i can barely get these damn backups to work :) 20:14:03 voy4g3r2: at least set 'root: chrisdavidson' in /etc/aliases so you can read it as your normal user 20:14:10 getting remote mail delivery working is a bit more effort... 20:14:27 yes, i am stuck with my l33t gmail account.. can't seem to get rid of it 20:14:44 full name gmail accounts are unheard of now a days 20:15:41 Didn't Google delete a bunch of inactive GMail accounts by Dec. 31st of last year? 20:16:39 TommyC: i think i did read that somewhere 20:17:24 voy4g3r2: if you left it alone, your l33t gmail account is gone now 20:17:41 oh no, i use it all the time 20:18:05 since like 2004 20:18:36 \p 20:21:43 CrtxReavr, Google Gmail won't be accepting email from a randomly configured machine probably sitting on a home dynamic-ip network. The days of being able to forward email like that are long past. 20:22:10 Meanwhile... JFTR but all of my machines are configured to send email. It's the only way. 20:24:11 Might, with the right spf record, and maybe some smart-relay'n. 20:25:34 unixwitch, 1337% Pi ~= 42 20:26:37 Yes if someone does all of the right things then they will have email working. As many of us do. But those people are not here asking the questions. :-) 20:26:41 really? ilythia ~> echo 'scale=10; 1337 % 3.14159' | bc 20:26:41 .000000000150523 20:27:04 rwp: and i never want to know how to do it :) 20:27:52 It used to be that everyone ran their own email server. Not an unusual thing at all. It was the normal thing. 20:27:58 But people are the problem. And so now we have spammers and scammers. 20:28:03 rwp: my machines all have working email delivery but that's because i host my own mail, put hours of effort into making this work and pay £££ for an Internet connection i can send mail from... a bit much to expect from random users :-D 20:28:07 unixwitch, literal percent, not mod. 20:28:49 rwp: oh yeah, i setup a mail server in university.. on slackware linux and somehow made an oopsy.. the system administrator for penn state shut me down.. they were getting my root emails to their mail system and couldn't figure out what was wrong 20:28:49 I host all of my own mail. Also host other domains mail too. But it's not something that I think everyone should do these days. 20:29:20 CrtxReavr: idgi :-( 20:29:22 Unless someone *wants* to host their own email. In which case I think they definitely should do so. It's not forbidden. It is okay for everyone that wants to do so to host their own email. 20:30:01 basically they blocked my ip address from their mail server.. buggers never did tell me how to fix it, i got a RTFM response 20:30:22 yeah.. because sendmail is SOOO easy to configure (mind you i was 20 years younger and a college kid) 20:30:41 sendmail is very easy to configure if you don't use sendmail :-D 20:30:41 unixwitch, echo "scale=10; 1337 / 100 * 3.1415926539" | bc 20:30:48 even freebsd replaced it with dma (finally) 20:30:53 postfix is probably a lower learning curve nowadays. 20:31:10 +1 for Postfix. FTW! 20:31:18 unixwitch: yes, the only way i fixed it.. waas moving to postfix 20:31:32 When I run an actual MTA, postfix is my goto. 20:31:37 all i wanted was my university emails to goto my linux box dang nab it! 20:31:38 So well-documented and easy to setup. 20:31:49 i sort of with we'd got postfix in base already, but that would have been annoying when you need ports postfix to get ldap or whatever, and now you have two copies of postfix... 20:31:56 Yes, the postfix docs are excellent, if not a bit circular. 20:32:10 Postfix just had a birthday last month. It is 25 years old now. 20:32:28 thumbs, I'm not sure I've ever needed more than the comments in the default config file. 20:32:47 CrtxReavr: Sure, most of the shipped configuration is a good start. 20:33:10 I was referring to the self-referential nature of some of the online pages. 20:33:50 Most of it is very obvious once you understand that it is all table driven decisions. Every decision maps through some type of table. Match the LHS do the RHS. 20:34:33 But some things like setting up a custom slow turtle transport to communicate @gmail.com mail through a rate limited protocol is not quite so trivial and hints and documentation are useful. 20:35:38 hrm.. there is something else going on with this zfs-snapshot, i would of expected the daily periodic jobs to run. 20:35:45 Google likes to reject a lot of valid email saying that they are being abused but much of my spam email incoming is outgoing from Google! 20:35:51 voy4g3r2: what time is it where you are? 20:35:57 335PM 20:36:15 it is telling me, in man, that is runs "early morning" 20:36:17 daily runs at 3AM 20:36:22 (see /etc/crontab) 20:37:18 hrm.. i would of epxected SOME output in /storage/.zfs/snapshot then or any of the other datasets 20:37:28 i am getting ahead of myself, lets see what happens at 402pm 20:37:32 back to this excel and powerpoint hell 20:37:38 thank you all for the help.. we shall see 20:37:55 do you see the hourly command running in /var/log/cron now? 20:38:18 i missed the 2 minute past hour.. i gotta check at 402 20:38:48 https://bsd.to/CTDn 20:38:49 Title: dpaste/CTDn (Plain Text) 20:38:52 that is the latest from that file 20:39:06 mail.core is new :) 20:39:42 mail.core sounds like you found a bug 20:40:28 it waas around the time i added root: chrisdavidson and ran the newaliases command afterwords 20:41:16 voy4g3r2: if you happen to have gdb installed, could you run "gdb /usr/bin/mail /path/to/mail.core" and then type "bt" at the (gdb) prompt? (this may not produce any useful output without debug symbols though...) 20:42:10 i guess you could also do this with lldb, can't remember if that uses the same syntax 20:42:32 if it is not installed, i can install it :) 20:42:56 this new machine is soo much nicer than that raspberry pi 20:43:21 ah, "lldb /usr/bin/mail --core /path/to/mail.core" apparently 20:43:32 (lldb is in base) 20:44:09 https://bsd.to/qzie 20:44:10 Title: dpaste/qzie (Plain Text) 20:44:12 that is with gdb 20:44:17 let me do it with lldb real quick 20:44:40 that's very unhelpful, i wonder how to make it load the debuginfo 20:46:40 i did the lldb one 20:46:48 is there any special command (yes i have no clue how to use these tools)\ 20:46:57 # lldb /usr/bin/mail --core /var/cron/tabs/mail.core 20:46:58 (lldb) target create "/usr/bin/mail" --core "/var/cron/tabs/mail.core" 20:46:58 Core file '/var/cron/tabs/mail.core' (x86_64) was loaded. 20:47:43 voy4g3r2: bt 20:48:30 https://bsd.to/vL29 20:48:31 Title: dpaste/vL29 (Plain Text) 20:48:38 looks just as unhelpful as gdb one 20:48:55 yeah... there must be a way to make it read the debug symbols in /usr/lib/debug 20:50:48 i know i did not install debug package.. that i can recall 20:50:56 figure, i am not writing C code.. why do i need it 20:51:12 do you have anything in /usr/lib/debug? 20:51:32 i got the boot directory, nothing else 20:53:29 voy4g3r2: are you running a binary release (like from an iso or freebsd-update)? 20:55:52 i am running an iso.. i have upgrade to p4 20:56:00 FreeBSD momas.home 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 05:07:37 UTC 2023 root⊙adn:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 20:56:07 ohh wrong box 20:56:08 hold up 20:56:12 debug symbols are in base-dbg 20:56:20 FreeBSD harley.home 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023 root⊙adn:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 20:56:34 voy4g3r2: would you mind gzipping the mail.core and uploading it somewhere (or if it's not too big, mail it to lexi⊙lo)? i can grab the debug symbols for that binary 20:56:40 to save you having to install it 20:57:40 sure i can do that 20:57:45 it looks like a meg in size 20:57:52 note, it might contain private data like the contents of the mail you were reading 20:57:55 I wouldnt personnaly send a core dump of a privileged deamon, but... 20:58:04 it's not a daemon, but yeah 20:58:22 it is literally a file server, that is it :) there is no top secret stufff in here 20:59:22 unixwitch, did you "gi" yet? 21:01:41 oh crap, 11 megs.. lets see if gmail does not like this 21:02:30 zip to the rescue 21:03:00 CrtxReavr: i don't know what this means 21:03:02 unixwitch: should be in your inbox within a matter of seconds 21:03:29 voy4g3r2, worst case look at the command 'split' 21:03:31 woohoo hourly populated! 21:03:32 voy4g3r2: yup ty 21:03:37 you are welcome 21:04:10 https://bsd.to/abm4 21:04:11 Title: dpaste/abm4 (Plain Text) 21:04:12 just beautiful! 21:04:34 unixwitch, surely you know the answer to the Ultimate Question of Life, the Universe, and Everything is 42? 21:04:35 now time to get zfs send | zfs recv these snapshots 21:06:12 unixwitch: i have to step away for a little, if you requrie anything else from me.. could you message me here or the email works too 21:06:30 thank you for your help.. maybe i may even need to submit a bug? that would be fun.. my first one 21:08:25 well i got a more useful backtrace, but it's not really clear why it crashed here: https://bsd.to/XcwC 21:08:26 Title: dpaste/XcwC (Plain Code) 21:09:31 aha 21:09:34 # mail root 21:09:34 Subject: ^C 21:09:34 ^CBus error 21:20:03 unixwitch, Well look at that! I also reproduce that here on 13.2R-p9 with /usr/bin/mail here. 21:20:17 No need to be root. Reproduces as rwp just fine. 21:20:20 yeah, something really weird is going on there... now rebuilding /usr/bin/mail with ASAN :-) 21:20:43 ==39955==ERROR: AddressSanitizer: stack-overflow on address 0x7fffffffd3ac (pc 0x7fffffffd3ac bp 0x7fffffffbe70 sp 0x7fffffffbab8 T0) 21:23:08 same on 14-stable 21:23:15 definitely a sanitizer 21:23:29 error error error LOCAL SYSTEM: UNLOCKED 21:24:13 https://hostit.tfnux.org/obj/5veardrqji2rkh6hrkvfzf7dmzt7frgx/lldb.txt 21:26:45 https://hostit.tfnux.org/obj/b7islrrokes6hxgodlvpxahbrvub25vx/valgrind.txt 21:31:00 if someone wanna build libc with -O0 -g3 ... 21:36:00 i'm pretty sure the problem is that in tty.c:99 it sets up a setjmp which is called by the SIGINT handler (ttyint) that gets triggered from inside the libc stdio code, which i guess it doesn't like 21:41:51 this code is so nasty 21:49:55 i didn't think that would cause so much problems 21:50:28 proposed patch: https://bsd.to/Aucf -- the problem is that both grabh() and collect() want to set up their own SIGINT handler, which ends up calling grabh's longjmp() when the environment is no longer valid 21:50:29 Title: dpaste/Aucf (Plain Code) 21:50:38 ilythia /s/m/u/mail (main)> mail root 21:50:38 Subject: ^C 21:50:38 (Interrupt -- one more to kill letter) 21:50:38 ^C⏎ ilythia /s/m/u/mail (main)> 21:51:13 taht quick you had a fix? 21:51:15 holy moly 21:59:17 voy4g3r2: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276119 (fix in the URL field) 21:59:19 Title: 276119 – mail: typing ^C twice during compose causes SIGBUS 22:00:14 i'm still trying to understand the problem 22:00:25 awesome 22:00:27 it's the SIGINT handler pointing to garbage ? 22:00:38 so basically my inability to type found a bug, sweet 22:03:11 babz: as far as i can tell (although tbh i find this code extremely hard to understand) the problem is that first collect() installs a setjmp() handler, then grabh() installs its own setjmp() handler, so the first ^C aborts grabh which returns to collect, then the second ^C uses the now-invalid setjmp environment of grabh (which is invalid because the function returned) 22:09:46 thx that makes sense 22:16:30 unixwitch: that mail bug is wild 22:27:55 meena: it is, and i'm really not convinced this patch is actually the right fix... 22:31:55 meena: i think this is the right fix -- https://bsd.to/Pe0N ... optimiser fucking us over again 22:31:57 Title: dpaste/Pe0N (Plain Code) 22:35:18 unixwitch: might be a better idea to try remove the complete setjmp/longjmp from the signalhandlers 22:40:33 satanist: that would be a good cleanup but also a much larger job 22:41:57 problem with longjmp out of a signal handler is that you get realy fast ub 22:42:13 also the code is fragile as fuck 22:42:26 i'm pretty sure this code is already doing a bunch of UB in its signal handlers, like updating non-volatile globals 22:42:40 but fixing all that would require a fairly substantial amount of rewriting 22:43:37 problem is after you have called longjmp out of a signal handler you are still limited to async-safe-function 22:46:09 voy4g3r2: this was quite a fun bug, and i learned something, thanks for finding it :-) 23:02:49 unixwitch: no problem, glad you enjoyed.. all hail the mighty if statement, is what i got out of reading the patch 23:03:28 the actual correct fix was a bit simpler https://github.com/freebsd/freebsd-src/pull/993/commits/f720c7c64e718bd566baf5a733a1a6d50939b8c7 23:03:29 Title: mail: add volatile in grabh() by lexiwinter · Pull Request #993 · freebsd/freebsd-src · GitHub 23:03:34 i may have another somewhere.. for the love of god.. netatalk just "stops" working and have to do a restart 23:04:26 but it is high school basketball time 23:04:31 unixwitch: just beautiful 23:20:07 unixwitch, Cool! Good work on tracing down that bug! And I'll note in passing that /usr/bin/mail is also /usr/bin/mailx and /usr/bin/Mail too. 23:39:46 So it seems that 12.x install for UEFI installs for mirror installs setup both /boot/efi for both disks EFI paritions. In 13 (and 14) this is only done for the first disk. It seems to do this for geli/mbr... Was this an oversite or is the expectation this is just copied/setup post install? 23:41:50 I guess it's this. https://www.freebsd.org/releases/13.0R/relnotes/#boot 23:41:51 Title: FreeBSD 13.0-RELEASE Release Notes | The FreeBSD Project 23:45:30 er well.. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258987 23:45:33 Title: 258987 – 13.0-RELEASE installer broken redundancy with UEFI and ZFS 23:50:48 Hey 23:51:23 How to update ports tree without mucking things up? I usually use pkg to install stuff, but sometimes, i.e. Enlightenment desktop needed a patch, so I installed via ports 23:51:49 Is there a way to ensure that pkg and ports installed things are as close to similar as possible so as not to upset things? 23:51:57 AumShivaya: "git pull", but if you're mixing packages and self-built ports, make sure they're both on the same branch, either the quarterly branch or main/latest 23:52:23 ok, I have come across this term: "quarterly branch" but do not understand what this is 23:52:25 AumShivaya: you might want to look at synth which is designed to support this use-case (mixing ports and packages), although Remilia pointer out earlier that poudriere is also capable of this... 23:53:03 okay 23:53:14 AumShivaya: okay, so there are two versions of ports: what git calls "main", and what pkg calls "latest", is the absolute latest version of the ports. what pkg calls "quarterly", which git calls by a branch name (like 2023Q4) is a quarterly release which only gets important updates. 23:54:05 by default pkg uses quarterly (see /etc/pkg/FreeBSD.conf), so if you're building ports by hand, you should use the quarterly version of ports in git, e.g. git checkout -b 2023Q4 https://git.freebsd.org/ports.git. otherwise, you might find 'make install' tries to update a bunch of things you already have installed 23:54:07 Title: ports - FreeBSD ports tree 23:54:38 ok, where is it set? 23:55:01 for pkg, /etc/pkg/FreeBSD.conf. for git, specify the current branch when checking out the tree: git checkout -b 2023Q4 ... 23:55:03 I also did a pkg search enlightenment and noticed it is still 0.25.4_2.2 23:55:13 where freshports says the latest is 0.26.0.2 23:55:18 when a new quarterly comes out you have to update your git tree to that one at the same time the pkgs are updated 23:56:04 using portsnap or? 23:56:20 oh, I did pkg update, and it still does not reflect the change in e versions 23:56:21 no 23:56:22 what 23:56:26 is pkg slower to get updates than ports? 23:56:33 portsnap is dead. please don't try to revive it 23:56:37 oh :o 23:56:44 I must have been reading something old! 23:56:44 AumShivaya: if you look at the freshports page for enlightenment, it shows 0.26.0 is latest but the quarterly package version is 0.25.4 23:56:54 I have not really used FreeBSD fully since version 6 or 7 23:57:06 was six the bad one, or was that 5? 23:57:14 by default, pkg uses quarterly, which is why you have 0.25.4 in pkg 23:57:24 5 was the bad one, 6 was good 23:57:35 well, 5.0, 5.1, and 5.2 were bad, 5.3 was supposed to be okay 23:57:48 * meena only started using FreeBSD herself properly after VIMAGE was merged into GENERIC 23:57:51 I had good experience with FreeBSD so I am back :P 23:58:12 welcome back 23:58:24 ty :) 23:58:33 we have ZFS now. 23:58:42 AumShivaya: the tl;dr here is that if you want to build anything from ports, it's really a lot easier to build everything from ports. but not everyone wants to do that, i understand... 23:58:47 * AumShivaya still uses UFS 😅 23:59:31 unixwitch: why is it easier to build everything from ports?