00:00:00 so I think daemon is botching the error message 00:00:14 <_xor> Oh? 00:00:43 CALL execve(0x239240ddeb30,0x239240dde780,0x239244217140) / NAMI "/usr/local/bin/consul" / RET execve -1 errno 13 Permission denied 00:01:33 <_xor> Hmm, for the life of me, I can't see why it's getting a permission denied on that though? It's 755, as are the parent dirs. 00:02:06 <_xor> I even tried 555 in case it was exiting early since it doesn't need to be wirtable. 00:02:14 it's getting the same error from fstatat. that implies it's a directory not the file 00:02:14 <_xor> I mean 555 on /usr/local/bin/consul 00:02:22 <_xor> Hmm 00:02:58 FreeBSD's make implementation still has BSDmakefile as the highest precedence search path, correct? 00:03:31 Strangely, Homebrew's man page for the bsdmake package documents this filename, but FreeBSD's man page does not: https://man.freebsd.org/cgi/man.cgi?make(1) 00:03:33 Title: make(1) 00:04:07 _xor: any mountpoints involved? 00:04:28 http://people.apache.org/~igalic/hacks/parsepath 00:04:47 this could tell you which part is failing 00:04:52 <_xor> /cluster, /cluster/consul, & /cluster/consul/data are all zfs datasets. 00:05:10 <_xor> I did briefly wonder if that could be part of the issue as well earlier, but haven't had the chance to poke around yet. 00:05:39 <_xor> Other than that though, /usr/local/bin/consul is just on zroot/usr 00:06:22 <_xor> Let me try it with non-zfs dirs to see if that makes a difference, quick and easy to test. 00:09:18 you checked the perms on all of / /usr /usr/local /usr/local/bin yes? 00:09:28 <_xor> Yeah, just tried it with `-u consul` and all instances of /cluster changed to /t (and rsynced /cluster/consul/ /t/ with --chown=consul:consul). Same error, no such file or directory. 00:09:52 <_xor> Yup, will re-check just to make sure. 00:10:14 <_xor> WAIT A SECOND... 00:10:20 <_xor> What should the perms be on /? 00:10:32 755 00:11:03 <_xor> It's 700. If this turns out to be the problem, I'm going to burn down an orphanage or something. 00:11:12 yup, that'll do it 00:12:25 <_xor> Heh, when I checked earlier I ls'ed /, but somehow didn't look at . (was confused for a split-second there as to why I wasn't getting POSIX perms for /, so I used getfacl and just looked at that really quick) 00:12:42 preyalone: I believe the search path is actually set in sys.mk 00:12:55 <_xor> Wait, so would this mean that anything that tried to run as non-root on this box was probably failing or something? 00:13:04 preyalone: which does seem to have BSDmakefile makefile Makefile as the order 00:13:10 _xor: yup 00:13:20 * _xor goes comotose 00:13:28 <_xor> All day yesterday and half of the day today...spent on this. 00:13:54 <_xor> I'm still trying to figure out how / got set to 700. 00:13:59 there's a reason I ask people to check on all the directory prefixes including / itself :-) 00:14:14 i see 00:14:36 can we update the man page to reflect this name? 00:14:49 I usually ask for a pastebin of the output of ls -ld / /usr /usr/local /usr/local/bin but I was sloppy today 00:14:50 <_xor> RhodiumToad: Yeah, I somehow missed that earlier. Took a triple-check to catch it. 00:14:52 <_xor> Doh! 00:15:07 what is the relationship between bmake and FreeBSD make? 00:15:13 <_xor> I just checked a few other boxes and it looks like it was just this one, so that's good. 00:16:07 <_xor> Aren't they both the same file? 00:16:09 preyalone: freebsd make is bmake, but I'd have to check the history of contrib/bmake (where it lives) to see versions, etc 00:16:55 <_xor> Well, I'm chalking this up as a positive. At least I learned some more details about rc.subr, limits, su, and ktrace/kdump. 00:17:09 what's goofy, is that the Homebrew bmake and Homebrew bsdmake packages behave differently regarding BSDmakefile. The former treats it as a missing makefile error. The latter loads it just fine. 00:17:21 <_xor> I just used truss, dtrace, or previously strace before. 00:17:28 it's a bit of a pain that daemon is botching the error. would be good to track that down, since it's a bug 00:17:52 all of those would probably work, I just happen to prefer ktrace 00:17:55 <_xor> Yes, that was the annoying part. I was really hoping there was an argument to daemon that allowed more verbosity or something. 00:18:15 <_xor> How much of base is dtrace instrumented? Most of it? 00:18:16 Is it standard practice for FreeBSD to provide both a make man page and a bmake man page? I guess, since one binary would be symlinked to the other 00:18:51 <_xor> They're not symlinked, but they're the exact same size and file $FILE returns the exact same info. 00:19:13 not aliased to each other, either? 00:19:14 are they hardlinked? 00:19:24 <_xor> I was just wondering that. 00:20:09 does `bmake` load the same sys.mk as `make`? 00:20:09 <_xor> Btw, when was strace replaced with truss? Not that I mind, just curious because I'm pretty sure I used strace from base before years ago. 00:20:17 does it install a bmake link by default? I don't recall that 00:20:53 <_xor> "/usr/bin/bmake was installed by package FreeBSD-utilities-13.snap20230316060122" (using PkgBase) 00:22:12 oh, pkgbase 00:22:31 is it just a hardlink to make? 00:22:37 <_xor> Might be, let me check 00:25:03 <_xor> It would appear so: `159595068566595282 263496 -r-xr-xr-x 2 root wheel 18446744073709551615 208528 "Dec 31 19:00:00 1969" "Mar 16 07:02:37 2023" "Mar 18 03:24:37 2023" "Mar 16 07:02:37 2023" 131072 233 0x800 bmake` 00:25:47 bah. it's execvp() that botches the error 00:26:07 <_xor> When it tries to run /usr/local/bin/consul? 00:26:30 if (eacces) errno = EACCES; else errno = ENOENT; -- very informative, not 00:26:39 <_xor> lol 00:26:46 it's... technically right 00:27:28 it's supposed to be doing a $PATH search, and if it finds that a directory in $PATH isn't accessible it skips it rather than treating it as an error 00:28:11 <_xor> Can daemon just be revised to differentiate errno and dump a more specific message? Or would execvp need to be revised to set errno more specifically? If it's technically right, then wouldn't want to break it I imagine. 00:28:31 daemon can't do any better since it's just calling execvp 00:29:06 execvp could, arguably, do better if the path name has a / in 00:29:08 <_xor> Oh is the error message being output directly by execvp? It's not daemon checking errno and outputting it? 00:29:47 execvp sets errno, and daemon just looks up the text message corresponding to errno 00:30:04 and it's execvp that sets errno to ENOENT rather than EACCES 00:30:26 <_xor> ah that's what I was wondering. 00:31:11 it's in the execvp manpage, fwiw 00:32:04 <_xor> Yeah will check it in a bit. Going to take a quick break after this stupid ordeal had me obsessing. I didn't want to backlog it and come back to it later. 00:32:35 <_xor> Thanks for the help. 00:32:41 anyway, lesson is: always check perms on / and other key dirs if stuff works for root but not other users. 00:36:38 <_xor> Yup, going to make sure that's checked from here out. Though I'm wondering how that got set in the first place. (not a big deal as it's isolated to this specific box) 01:59:26 Are there any good resources to see what's planned for future releases? I've found pages on the wiki in the past but the ones I saw didn't have a whole lot of detail; just wondering if I've managed to miss the right resources 02:13:27 there's usually an at-least-yearly have/need/want session at one of the devsummits 02:13:37 e.g., https://hackmd.io/JczFDHtiQYSeEyeK9182jw?view 02:13:38 Title: FreeBSD 14.0 Planning - HackMD 02:16:30 they're fairly raw, but maybe paint a good picture 02:38:28 Thanks,, I'll take a look 03:11:53 Checking in case I'm misreading pkg-clean(1) or it's incomplete: is there a way to delete cached package files for packages that were current but that I uninstalled meanwhile, other than "pkg clean -a" which deletes even those for still-installed packages? 03:13:12 (I know rm is an option, but I'm reluctant to rm them by hand.) 03:16:01 Is there a way to put the primary display to sleep when connected via HDMI? I have a screen which I have my laptop plugged into, and my FreeBSD box, and because the console is always on, whenever my laptop sleeps or disconnects, the screen switches to the FreeBSD box and stays on. Haven't been able to find the right search term to find anything yet 03:29:24 kevans: I didn't realise PkgBase Falls under need 03:36:53 Has anyone been able to run a FreeBSD desktop in Proxmox with a resolution greater than 1280x720? 03:39:06 havent tried a desktop on my proxmox fbsd instances, hmm maybe i sohuld on e day 03:40:33 rustyaxe, CLI works fine, but the resoluiton on the desktop caps out at 1280x720. Debian guests and window guests are able to go to 4k on my system. Obviosuly a setting is missing for the FreeBSD guest 06:47:01 i tried to remotely update my backup box from 13.1 to 13.2 yesterday. got to "new kernel has been installed, please reboot and run freebsd-update again", so i rebooted but the box never came back. had a look through IPMI, "Mounting from zfs:zroot/ROOT/default failed with error 6." 06:48:27 google had some forum threads from people with very old zpool versions, but my zroot pool was created during a fresh 13.1 installation so i don't think that's it 06:51:38 from the bootloader i can start a 13.1 boot environment that's probably been created by freebsd-update, and it even boots through to the login prompt. so the zroot zpool itself should be fine. (but i can't get ssh access to the box in this case because of a mismatch between the running kernel and the kernel modules inside the rootfs) 06:58:29 any ideas on what to do? 07:18:17 Grabunhold_: did you run `freebsd-update` again once you booted in 13.1? 07:19:18 trev: you mean when i booted into the alternate boot environment? no, i just noted that the filesystem seems to be fine and shut it down again 07:21:32 yeah 07:21:48 i would've aggressively done that, but it's just me. i am a noob 07:25:41 i don't think running freebsd-update on the alternate boot environment would do me any good. i need to figure out why mounting zfs:zroot/ROOT/default fails with error 6 when doing a normal boot 07:28:50 6 is ENXIO, and hints about openzfs.ko module is not available during mountroot phase. 07:29:35 either it is not loaded by loader or failed otherwise. 07:31:27 i haven't changed the loader config, it was working fine with 13.1 and the zroot pool. maybe the openzfs.ko module problem has something to do with the update. I'll try to read the loader config. 07:36:30 (if it even is a module problem, not sure. might be.) 07:50:04 escaping to the loader prompt and typing "load openzfs.ko" doesn't work, not sure if it's supposed to 07:52:57 "lszfs zroot/ROOT" from the loader prompt lists "default" and the boot environments, so it seems to be working from the loader itself 07:55:53 07:56:19 Pretty scary story :/ *double-thinks before proceeding from 13.1 to 13.2 07:58:08 i'm still wondering if this is a one-off error or if it will reproduce with my other 13.1 machines 08:01:51 Grabunhold_: let's first get it fixed before you go break any more machines 08:02:18 so, first off: why does the 13.1 boot environment not work? 08:03:10 second, what does your loader.conf(s) look like? 08:07:41 Could absence of "/etc/rc.d/zpool" cause that, https://lists.freebsd.org/archives/freebsd-questions/2023-April/003220.html ? 08:07:41 Title: freebsd-update(8) upgrade peculiarities (was: FreeBSD 13.2-RELEASE Now Available) 08:11:41 By "that" I meant not being able to boot 13.2 08:14:10 As for the new boot environment for 13.2, "freebsd-update" has started using ZFS snapshots (when available) for some time during 13.1 period without fucking any mention in its manual page 08:15:53 s/fucking any mention/any fucking mention/ # sorry for the misplaced cursing 08:17:50 meena: the 13.1 boot env boots, but version mismatches between the kernel and the ethernet driver modules on the rootfs prevent network access. also, the login prompt doesn't come up. it prints the current time but no login: line. 08:17:50 regarding loader.conf: is there a way to print it from the loader prompt? i can't boot a live environment right now, the virtual media functionality of the IPMI device is dysfunctional and I am waiting for my coworker to put a boot stick into the machine 08:19:25 parv: i don't think it's the absence of /etc/rc.d/zpool, in my (limited) understanding of the FreeBSD boot process that would only be touched once the root filesystem has been mounted, which is what we fail to do 08:20:11 Grabunhold_, Right, right 08:20:43 meena: telling the bootloader to load "kernel.old" instead of "kernel" makes the ethernet modules load, but still no login prompt 08:21:56 and ssh? 08:22:17 i'll try that right away 08:23:03 (and when i speak of loading kernel.old i mean with the 13.1 boot environment, of course) 08:26:16 meena: no network despite interfaces showing up. "devd: cant open devctl device /dev/devctl: no such file", devd fails to start and that seems to prevent networking from starting up 08:26:22 and still no login prompt 08:47:20 oookay, got my coworker to plug in a stick, let's see... 08:51:09 i wonder why on earth would the kernel (no matter of it's kernel.old or just kernel) be able to mount zfs:zroot/ROOT/(name of boot environment snapshot) but not zfs:zroot/ROOT/default 08:51:41 yeah, got the livecd booted 08:52:49 ctrl-w is no good when running the shell through an ipmi interface in your browser -.-* 08:54:38 I would try to check if strange stuff happened with /boot/ 08:55:39 gotta love ipmi, set scroll lock but can't un-set it 08:57:23 is it safe to import the zroot pool or will the loader fail to import it because it's been used on "another machine"? 08:58:22 Force import via -f option 08:58:59 easy, but is it safe? will the loader stumble afterwards? 08:59:17 *bootloader 08:59:40 I use it in single user mode. Cannot say about your situation 09:03:27 https://i.imgur.com/vaDPHnv.png 09:03:55 interesting. where might this second "zroot" pool come from? 09:04:00 maybe the usb device? 09:05:22 (the original zpool, the one with the 118 ID, is a single-device pool) 09:07:39 importing the 118-id zroot pool via it's ID gave me no errors, but "zfs list" or "zpool status" just says "no such file or directory" 09:07:45 what the f is going on here 09:10:12 oh, yeah, importing the zroot pool mounted zroot/ROOT/default on / 09:10:39 the live environment didn't seem to like that, should probably have provided some sort of alternate root to the import command 09:11:24 but we can get at loader.conf now 09:13:19 meena: https://imgur.com/eYT10OI.png this is the loader.conf from zroot/ROOT/default 09:18:32 I'm tempted to copy my homedir, nuke zroot from space and do a fresh 13.2 install 09:42:37 okay, got the zpool mounted using "zpool import -R /mnt", now the live environment is working. zpool status reports the pool to be in fine condition and zpool list has all filesystems including the boot environments 10:07:05 Grabunhold_: But what was the problem? 10:09:52 'now the live environment is working.' seems to me like still in the process of finding the problem 10:22:02 08:28 6 is ENXIO, and hints about openzfs.ko module is not available during mountroot phase. 10:22:44 it seems that kernel and modules were out of sync, but it's not clear why 10:24:47 Hello, everyone. Can anyone help please? I got this: dtrace: failed to compile script "/usr/ports/lang/tcl86/work/tcl8.6.13/generic/tclDtrace.d: "/usr/lib/dtract/ipfw.d", line 1: syntax error near "in_addr_t" 10:27:46 I'm not sure if it's correct channel to ask, sorry if no. 10:29:44 the problem with the live env was getting my coworker to stick in a boot medium and working around IPMI bugs. 10:29:44 the original problem is this: i tried to remotely update my backup box from 13.1 to 13.2 yesterday. got to "new kernel has been installed, please reboot and run freebsd-update again", so i rebooted but the box never came back. had a look through IPMI, "Mounting from zfs:zroot/ROOT/default failed with error 6." 10:31:37 i've got the live environment going, got ssh access in there but still unsure what the problem is. 10:31:37 booting the 13.2 kernel with snapshots of 13.1 works (but has the aforementioned module mismatches, so no ethernet because modules don't load) 10:31:52 i wonder why on earth would the kernel (no matter of it's kernel.old or just kernel) be able to mount zfs:zroot/ROOT/(name of boot environment snapshot) but not zfs:zroot/ROOT/default 10:45:13 meena: any ideas with the loader.conf? 10:48:12 Sounds complicated. 10:48:37 Strange, installing tcl86 using package manager, solved problem with building it?.. 11:09:49 glenda: fun! 11:10:07 Grabunhold_: loader.conf looks sensible 11:10:26 Anyone else using FreeBSD on server? 11:11:37 Grabunhold_: this is very strange because why would freebsd-update install a kernel without the right modules 11:16:59 meena: Do they can install modules manually? 11:20:23 glenda: /usr/lib/dtract/ipfw.d looks strange, is it a typo by you? 11:20:31 no 11:20:39 Anyway, it is solved somehow. 11:20:55 And that file exists. 11:22:43 dtract and not dtrace? and installing tcl86 fixed building tcl86 from ports? 11:23:02 That's weird. 11:23:54 Wait. 11:24:17 It is a typo by me, when I was writing error message, yes. 11:24:19 Sorry. 11:28:28 meena: i guess the right modules are there, but they are on zroot/ROOT/default, and that can't be mounted because of error 6 11:28:50 at least during boot 11:28:59 can be mounted just fine from the live environment 11:31:24 glenda: Yes, I do use FreeBSD for too many web servers. Can help you if you wish. 11:32:44 and why can the 13.2 kernel mount the 13.1 snapshot but not the zroot/ROOT/default, that irritates me the most 11:39:56 Registration for BSDCan 2023 is now open. 11:42:14 I got another problem. I am running iRedMail-1.6.2, and getting this: Port directory /usr/ports/lang/php74 doesn't exists. What to do? 11:42:24 I know this port was deleted. 11:42:51 It is required by RoundCube I think. 11:46:40 tercaL : Nice. The obly problem I have now is what I wrote above. 11:46:41 you try to *run* something and it complains about missing something in */usr/ports/*? nothing should require /usr/ports/ to exist; it shouldn't matter if you have a copy of the ports tree and if you have one it shouldn't matter where it is or what you decide to do with it 11:47:25 It is a script that should build/install this all. 11:47:35 Grabunhold_: did you update loader in efi? 11:47:36 And port of php version that it requires is missing. 11:47:48 no? 11:48:18 meena: not manually, no. haven't really "touched" anything so far aside from backing up my homedir 11:48:24 still poking around the system 11:49:37 I don't think freebsd-update… updates that 11:50:24 but either way, it shouldn't need updating if you haven't upgraded the zpool (not sure if there's other criteria) 11:52:15 i haven't upgraded the zpool, it's been created by the 13.1 installer and i haven't touched the pool in any way, just booted the OS off of it and that's it 11:54:48 i need this machine functioning again by the end of the day. i'm close to nuking it. 11:55:27 hm, that iRedMail installer doesn't seem like something I would want to run, maybe create a propper port for it instead of running that shitty installer? 11:55:51 Sounds like a good idea 11:56:03 iRedMail is just a script, that setup mail server, etc. 11:56:32 I have not found any information on setting up mail server manually. 11:57:08 https://www.c0ffee.net/blog/mail-server-guide 11:57:09 Title: How To Run Your Own Mail Server 11:57:56 Even despite search engines' best attempt at becoming worse, it's still possible to search using keywords - it's just a question of using the right ones. 11:59:14 Getting an IP address that's not already in a blacklist somewhere, or getting an IP off blacklists, is usually a much more difficult problem than the software stack. 12:01:24 glenda: You'll need to use php 8.x because 7.x is no longer supported 12:01:49 vkarslen: Yeah I see. 12:01:55 Okay, no shitty scripts ever again. 12:02:05 debdrup : Thanks. 12:02:56 Time to purge jail, and make new. 12:03:35 (the keywords for the above results would've probably been something like postfix dovecot rspamd dkim sieve and maybe freebsd 12:03:54 And "coffee"! 12:04:04 hey folks 12:04:07 gzar: nope 12:04:14 sorry for that hilight! 12:04:16 hi gzar 12:04:24 hello 12:04:35 glenda: nope, the URI has nothing to do with keywords 12:04:35 ooh, both names start with g :P 12:05:03 debdrup : Doesn't matters, you can't setup mail server without coffee. 12:05:28 https://www.google.com/search?q=postfix+dovecot+rspamd+dkim+sieve+freebsd 12:05:29 Title: postfix dovecot rspamd dkim sieve freebsd - Google Search 12:06:01 It is hard for me to browse web. 12:06:08 I cannot open most of sites, sadly. 12:06:13 looks like there's at least two other guides, one of which also specifically targets freebsd. 12:06:24 i don't know what that means 12:07:03 Nevermind. 12:08:18 Can you remind me please what package command "dig" from? 12:08:52 glenda: Use /usr/bin/drill 12:08:56 You can use drill, it's a drop-in replacement. 12:09:16 I think dig comes from bind-tools, but you can use sysutils/pkg-provides to find out. 12:09:37 Thank you 12:18:29 Oh, rDNS? Sounds complicated. Knocked my ISP. 12:19:11 Mail won't work without it. 12:19:34 As a bonus, it gets you a neat hostname on IRC. :P 12:19:47 mail.example.com? :p 12:20:17 It will work but messages will get into spam 12:20:38 I checked by dig, got: my-ip.my-isp.com 12:20:48 So I mailed them, I guess it's what I supposed to do? 12:20:59 They need to set up the rDNS, yes. 12:21:52 Hope they will not tell me to go away. 12:23:36 Does anyone have experience with hosting mail server at home? 12:24:18 if there's something specific you want to know, it's better to ask that, instead of asking for people 12:24:44 No, nothing specific. 12:24:53 in the +25 years i've been on irc, i don't think i've ever seen someone get help by asking for people. 12:25:21 Oh no, I wasn't asking for help. 12:25:26 I am just wondering 12:25:57 i've never lived somewhere with an ISP that didn't block port 25 :x 12:26:10 My ISP didn't 12:26:21 nice 12:26:24 My ISP is like: do anything as long as it's not commercial 12:26:37 Can I buy public ip? 12:26:40 - nah, you got it for free. 12:26:42 glenda: I used to, I no longer do because there were more interesting things to try to get working. 12:26:49 (hosting a mail server) 12:27:17 But what prevented you from keeping hosting mail server and trying interesting things? 12:27:47 Because the universe is vast and computers are varied, mail is interesting to learn but a pain to maintain 12:27:57 So I let others maintain it and just use a custom domain. 12:28:05 Why it is pain to maintain? 12:28:13 No way sadly, no mail providers. 12:28:33 Google? It's a shit. 12:28:43 glenda: because scammers have ruined the open public commons of email, and so the filtering/antispam wars make server upkeep high maintenance 12:28:55 I suppose it depends how complex or not you want to make it, but when you include spam checking, blacklist updates/removals/checks, updates of software, occasional bounces from people who don't trust you, etc. it gets tiring 12:29:01 Yeah, what Demosthenex said 12:29:34 Yeah, what dubiousness said that Demosthenex said. 12:29:35 I wouldn't dissuade you, especially if it's your only option for whatever reason, but I would also suggest that it's not an "easy" thing 12:29:42 Just a simple mail server, just for me. 12:29:50 Yeah I have heard it's very complicated. 12:29:55 glenda: if it's not internet facing, it's easy 12:31:37 I ran a mailing list once, and it was easy. 12:31:42 It's not just spam (though correctly dealing with it by doing spam filtering before accepting the mail isn't always easy to configure) - it's also that the biggest providers cf. https://www.netmeister.org/blog/mx-diversity.html are either only interested in being able to send mail to everyone (in the case of Google) or they're only interested in being able to send and receive mail from other companies 12:31:44 Title: Who reads your email? 12:31:48 using their service (in the case of Microsoft). 12:32:31 It's especially a problem with Microsoft, because they don't publish their blacklist, and getting anything off it is an actual multi-month herculean effort. 12:33:40 Mail deliverability also isn't really promised by the protocols used, so it's not a reliable protocol for things that people think it's reliable for (ie. alerting and notification systems). 12:34:25 The only thing in the RFCs that's a requirement is that mail servers don't throw away email once it's accepted it, and until the user tells the mail server to get rid of it. 12:34:42 ..and most of that is handled on the filesystem level, not by the mail server. 12:34:51 Interesting. 12:35:21 By the way, is there a specific reason for ISPs to block port 25? 12:35:41 Blocking spam 12:35:43 They don't want people sending email from their home connections. 12:36:01 That's weird 12:36:14 A lot of ISPs used to offer mail hosting as an extra service, so permitting people to host their own mail meant they'd lose out on that extra money. 12:36:18 Most of ISPs charge a lot, and they not permitting you to host things. 12:36:32 the reasons for this are political, alas 12:36:35 ISP charges depend on where you are, they can be dirt cheap in most of Europe. 12:36:36 Why permit you to host things yourself when you can force people to pay? 12:36:39 My network costs about 5 usdper month. 12:36:45 lol 12:36:52 yeah debdrup is right here 12:36:56 * xtile nods. 12:37:03 debdrup: Yes you are right. 12:37:21 It also doesn't help that at one point before they started closing port 25, there _were_ worms which would distribute themselves via mail on port 25. 12:37:54 I will not be surprised if my ISP will forbid using rDNS 12:38:02 But that hasn't really stopped even after ISPs started blocking port 25, so I'm not convinced it's a valid reason in and of itself. 12:38:45 I'd be surprised if the support personelle you get in contact with know what rDNS is. 12:38:59 oh yes 12:39:11 my current ISP is using CGNAT on ipv4 and doesn't support ipv6. so there isn't ANY public IP on my WAN line, not even a dynamic one. 12:39:24 and that's the only ISP that's able to supply more than 12mbit/s here 12:39:34 awful 12:39:48 And what is the max speed and price? 12:40:02 yeah, my current ISP doesn't have IPv6 either, it sucks, I got so used to haveing IPv6 before I moved 12:40:03 60mbit/s, around 45 euro / month 12:40:11 wow. 12:40:18 1000 mbit/s, around 5 usd / month.. 12:40:22 no public IP is even worse... 12:40:34 yeah, i'd trade a few mbit for that public IP 12:41:12 there should really be a definition what legally constitutes "internet" in the context of shitty ISPs 12:41:32 next year they'll get away with giving you a http proxy, it's a race to the bottom 12:42:11 agreed. i'm not a fan of the gov, but just as food labels aren't supposed to explicitly LIE about the ingredients, the same should be true of ISPs 12:42:43 if they block ports, or don't provide ipv6, etc, they shouldn't be allowed to call themselves ISPs, but have some alternative name 12:42:45 I didn't liked my ISP, but after reading about your ISPs. I love my ISP. 12:43:17 mobile ISPs here used to inject lower-res versions of jpgs using transparent proxies and block TLS/SSL connections some 15 years back. 12:43:27 * xtile nods 12:43:49 Comcast would inject ads in sites accessed via http:// rather than https:// back when I used it. 12:43:49 at least that stupid crap came to an end 12:44:05 Also I don't use ipv6. Should I? 12:44:17 glenda: I find it convenient to be able to use both ipv4 and ipv6 12:44:27 ipv6 makes it so much easier to run multiple servers from home 12:44:30 without NAT 12:45:00 if you *can* enable ipv6 in your router, doing so is nice 12:45:04 I run multiple, also every Jail has it's IP, and every VM (local). 12:45:10 as recently as a few years ago, they'd redirect you to their ad-laden "search engine" instead of sending NXDOMAIN if you tried to resolve something that didn't exist 12:45:36 I have only local ipv6 12:45:43 that DNS requests don't always come from a browser didn't seem to faze them 12:46:02 oh yeah, i remember when that was a thing for phones 12:47:19 Reverse hostname have to be "mail.example.com", right? 12:47:30 And I can use mailboxes: user⊙ec 12:47:34 I understood it right? 12:52:33 <_0pr_> Hi, anyone has solution equivalent to shadowsocks+ck-cloak on freebsd? Kinda have to use it on my laptop but cannot seem to find a way to get ck-cloak to work... 12:52:57 glenda: Different things. The term "mail.*" is not mandatory. It can be "aristo.example.com" as well. Just depends on what you set for MX record (Your domain DNS panel). 12:53:18 it's been a few years since i ran a mailserver. if you had an A record and PTR record for mail.example.com and your IP, you could then use an MX record to map mail.example.com and example.com together 12:53:24 rDNS should match the MX record of your domain. 12:55:22 Let's say the MX record of your domain states a hostname like: peril.yourdomain.com, you create an A record: peril.yourdomain.com with its IP address (IP addr. of your mailserver) and that IP address should reply host queries the same hostname; peril.yourdomain.com - that's all, imho. 12:56:06 When it comes to mail server configuration, https://www.mail-tester.com/ helped me a lot, back then. 12:56:08 Title: Newsletters spam test by mail-tester.com 12:56:19 Very simple and much detailed online check. 12:56:36 for mail servers. 12:57:03 tercaL: Thank you 12:59:17 tercaL: I don't really understand other thing. "myhostname = something" is the same as mx record, right? (eg mx.moo.org). What is "myorigin"? 13:01:33 glenda: I don't even use "myorigin", well if you refer to Postfix configuration. I only have myhostname = mail.mywebsite.com 13:02:02 And btw, there're really good people with great experience, in #postfix if you wish to ask about further details. 13:02:18 Oh, thanks, I will join. 13:02:32 But as I asked already, do you have mydestination = or no? 13:03:22 I got this there -> mydestination = localhost.$mydomain, localhost, mail.mywebsite.com 13:04:27 thanks! 13:23:16 `uname -a` tells me: FreeBSD frog 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC amd64 13:24:00 Now, freebsd-update says: I've installed `world/lib32`, among other things. 13:24:08 And then asks me whether that looks reasonable. 13:24:16 Well, does it? 13:24:41 The full line is: kernel/generic src/src world/base world/lib32 13:28:23 Harmless, it should be considered reasonable. 13:29:10 Can you copy and paste the entire output of the freebsd-update command to pad.bsd.to ? 13:32:32 okay, all data is safe plus another just-in-case backup of zroot/ROOT/default. i'll nuke the 13.1 install and do a fresh 13.2 one now. 13:33:32 RoyalYork_: Here's the entire output: http://paste.debian.net/plainh/2d8f64f9 13:35:05 It seems that lib32 is for also being able to run 32-bit applications. 13:35:21 So, it should indeed be fine. 13:35:46 You should be safe to proceed 13:35:53 msiism: I believe you remember what you checked at install time? 13:36:03 I don't, actually. 13:36:12 But it was probably reasonable. 13:36:12 msiism, Chapter 25. Updating and Upgrading FreeBSD - 13:36:13 25.1. Synopsis of the Handbook has an example similar to yours. 13:36:20 It happens :) no worries 13:36:35 By continuing (yes), freebsd-update will attempt to download all files required for the upgrade. In some cases, the user may be prompted with questions regarding what to install or how to proceed. 13:36:55 Okay, thanks. I'm now upgrading. 13:37:20 Good luck, it should go smoothly 13:37:50 I have yet to upgrade my production server.... I should get to it 13:38:11 I hope this will bring the Falkon browser back to a working state, maybe. The last pkg upgrade kind of broke it. 13:38:43 Maybe because it wasn't tested on 13.1 anymore. 13:39:41 Browsers, the source of all evil 13:40:13 Well, w3m usually works. 13:40:20 Except for 50% of the Web, that is. 13:40:33 But that's not w3m's fault. 13:41:12 Agreed 13:46:19 50%?? try 90% these days to garbage like cloudflail 13:46:30 thanks to 13:55:04 No wonder, these days even toilet paper runs on Javascript 14:26:07 debdrup jail review? 14:26:26 antranigv: didn't you have a review involving some jail stuff? 14:37:12 Do I need /dev/fd/ if I don't use linux compat? 14:37:47 linux compat? 14:38:20 fdescfs(5) 14:38:32 /dev/fd is floppy 14:38:50 Not on FreeBSD. 14:38:59 ah 14:39:16 fdescfs(5) isn't the same as fd(4) either. 14:39:42 Sorry then 14:39:48 fdescfs /dev/fd fdescfs rw 0 0 14:40:11 Oh, yeah I'm also getting confused. 14:40:59 fdc(4) creates /dev/fd%d devices, whereas /dev/fd/ is a filesystem created by devfs(5) for fdescfs(5). 14:41:37 So far as I know, the only thing that needs fdescfs(4) outside of things in Linuxulator is bash. 14:41:45 fdescfs(5)* 14:41:53 Linuxulator lol 14:42:00 What a name 14:42:16 That's the name of the Linux syscall translator. 14:42:19 Does it emulates kernel? 14:42:31 It doesn't emulate, it simply translates syscalls. 14:42:45 from linux to freebsd? 14:42:49 kernels 14:43:22 src/sys//linux/syscalls.master iirc. 14:44:04 Ah, thanks 14:44:05 linux(4) has more information. 14:47:33 i think java also requires it 14:47:42 Huh. 14:53:11 I don't have fdescfs mounted on /dev/fd and use some java programs sometimes, so it does not 14:53:59 it might be like bash, where a small subset of the functionality depends on fdescfs(5), but it can mostly run without. 14:55:18 https://cgit.freebsd.org/src/commit/?id=8935a3993219 neat! 14:55:19 Title: src - FreeBSD source tree 14:55:49 fdescfs has been a source of a "few" bash related problems in the past 15:01:41 fstab: that i usually use on systems that mainly get affected by those things... 15:01:44 procfs /proc procfs rw 0 0 15:01:47 fdescfs /dev/fd fdescfs rw 0 0 15:01:49 linprocfs /compat/linux/proc linprocfs rw,late 0 0 15:01:52 linsysfs /compat/linux/sys linsysfs rw,late 0 0 15:01:53 Use a pastebin! 15:01:54 tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777,late 0 0 15:02:01 yeah i should of 15:02:06 appologies 15:02:49 other notes ... ports emulators/* may need to have something to so with that 15:03:58 at least production systems on my part are using linux_base-c7-7.9.2009_1 15:04:47 solved the majority of linux/bsd integration problems ive hadddd 15:10:56 Sysadmin by cargo-cult doesn't seem advisable. 15:16:49 CrtxReavr: IIRC theres python stuff works better with fdescfs (no details sorry) 15:18:54 Well, for now I've unmounted it and removed it from fstab. . . it can go back if needed. 15:19:23 I think though, it was just mounted by default by this VPS provider and I've left it alone for muiltiple upgrades. 15:20:11 tercaL: sorry for delayed response, yes. enable zfs compression everywhere, all the time, and don't worry about it. lz4 on any h/w more recent than last 10 years is not going to make any negative effects. prior to that, maybe, you can test easily enough. 15:21:13 yeah, I'd bet java's exactly like bash in that way 15:21:46 I did double-check to make sure I'm not crazy (just now); the install message in the pkg recommends both procfs and fdescfs: https://www.freshports.org/java/openjdk18/ 15:21:47 Title: FreshPorts -- java/openjdk18: Java Development Kit 18 15:22:28 but yeah, bash only uses it for <(cmd substitution) iirc, which is also relatively minor; I wouldn't be surprised if it's only one or two special java things 15:22:38 anybody interested in having an invidious port? 15:22:40 "relatively" carrying a lot of weight, it can have security implications 15:23:43 I have a "works on my amd|arm machine" thing, and it could do with some help turning it into a usable thing. 15:24:01 I hope to get the rest of the port on my trip next week, and then a hand making useful "first run setup" notes would be good 15:24:38 that was that seflhostable alternative youtube fontend? while I currently won't use/run it myself, it seems like a good idea to have as port 15:29:24 dch, ? have a link somewhere to follow ? 15:29:56 even a depot 15:30:02 sure CmdLnKid nimaje when I've done the rc.d bits I will share the link 15:42:41 exploring hardware with arm64 that could be a cheap and capable server able to run freebsd, any recommendations. 15:43:05 sata and pci-e is needed =D 15:43:40 i enjoying my proliant, but it seems to make a bit too much RF noise for my use ;( 15:43:59 proliant? 15:44:06 :D 15:44:35 why arm64 specifically 15:44:42 thx 15:44:43 exploring new tech 15:45:12 energy effiency is a plus 15:45:43 i guess it depends on what you intend to do with it 15:46:25 throwing around some data. not computation heavy 15:47:06 if it were me and i wanted to play with a different server arch, i'd go with riscv 15:47:17 not because i think riscv is good, but it's just more "interesting" at the moment 15:48:04 moonshine: are you able to present a cheap capable alternative with sata and pci-e with riscv? 15:48:21 that is able to run freebsd, in that case im interested 15:48:31 can bsd run on a energy starved cpu... 15:48:32 probably not, but let me do a quick search 15:49:17 drobban: define 'cheap' 15:49:50 lol 15:50:03 well. not sure what USD is at from SEK. but perhaps around 1.5k? 15:50:21 no, there probably won't be any cheap riscv boards anytime soon 15:50:39 what did you find? and price range? 15:50:40 assuming google's not lying to me, 1500 SEK ~ 145 USD. hmm 15:51:03 Dollar to Swedish Krona Exchange Rate Today, Live 1 USD to SEK = 10.243 15:51:03 yea, around 1500USD 15:51:17 oh, that was 1.5k USD 15:51:36 depending on how much power you need, I've heard great things about the Windows devkit that clocks in at ~$600USD 15:51:57 windows devkit :-O 15:52:25 wtf is happening.. Im in the freebsd channel right? 15:52:31 :-) 15:52:34 Aye 15:52:35 it runs freebsd 15:52:39 * drobban checks irsi status 15:53:00 I mean, naturally it runs windows by default, but there's nothing stopping you from wiping that and installing freebsd instead 15:53:07 forgot an s 15:53:41 there are some small riscv sbcs but they're not exactly what i'd call a server 15:54:12 also they're overpriced for what they actually do 15:54:20 are we talking about the Volterra machine? 15:54:26 compared to other archs, that is 15:54:37 yeah 15:54:44 volt errabn\y\\\ 15:54:54 sorry, toddler attack. volterra 15:55:58 missing pci-e? 15:56:17 i started testing arm64 servers in 2013 or so, just getting things bootstrapped... riscv today is kind of where arm64 was in 2013 15:56:23 in my estimation, anyway 15:56:32 oh, yeah, it probably is, sorry 15:57:43 moonshine: what kind of gear did you use back then? 15:59:44 i can't even remember. we (where i was working at the time) one that was loaned to us to test 15:59:51 all those companies are gone now, i think :) 16:00:00 i have completely wiped the 13.1 installation, did a fresh 13.2 install, rolled my ansible playbook and we're back in business. 16:00:20 unfortunately all of the arm64 stuff I use is way over the suggested budget 16:00:23 let's hope the next 13.1 -> 13.2 upgrade goes more smoothely... 16:00:25 except for dell, maybe 16:00:37 dell tried to get into arm early, iirc 16:08:15 Even after upgrading to 13.2, Falkon gives me errors: http://paste.debian.net/plainh/1ff5ff94 16:08:44 The effect of that is that the window area for Falokon is occupied, but nothing is every drawn. 16:08:54 s/Falo/Fal/ 16:09:50 Now I'm looking for someone also using Falkon to confirm that the problem doesn't just occur for me. 16:10:13 s/every/ever/ 16:36:10 at dells site it seems to only offer intel/amd 16:39:47 msiism, Wish I could assist with your Falkon issue, however this one goes beyond my limited experience 16:42:08 I mean, I can use Firefox for now. So, it's not all that urgent. 16:42:37 But I'd file a PR after some more investigation, I think. 16:43:34 i use this self powered usb hub with my machine, every device on it works fine except my trackball which keeps getting removed (by udev i think?), i dont really see how to track this down. There is no such problem if i plus the mouse directly in the mobo 16:49:25 drobban: HP proliant server.. 24 cores, 256gb ram. bunch 15k SAS drives 16:50:16 10gbit connection from it to LAN and another 10gbit to my radio, which tends to throw a 1-2gbit/sec firehose at the poor computer, depending what im playing with. ;) 17:04:09 seems to be amd64 not arm64 17:08:20 rustyaxe: poor computer. :D 17:16:15 most arm64 servers you would probably need to talk to sales to get pricing 17:16:28 maybe there's stuff you can pull off ebay 17:24:41 I don't have lang/rust installed, but something I'm upgrading on my system is trying to bring it in as a depedency - how do I tell what? 17:27:03 how do you upgrade? pkg upgrade? 17:30:16 Was going a ports upgrade with portmaster. 17:32:55 hello, when using lsof I e.g. get "lsof 1173 vagrant txt VREG 0,92 135120 28461 /usr/local/sbin/lsof (/dev/gpt/rootfs)" in the output. Is there a flag or an option to remove the (/dev/gpt/rootfs) part? Or should I pipe to sed/perl/awk? 17:34:48 What does the lsof manpage say? 17:35:15 I suspect is has an option to omit itself, but I don't have it installed and don't plan to for your question. 17:35:45 I'm sure you could also: lsof | grep -v lsof 17:37:03 iirc portmaster shows a dependency path when building stuff and note that portmaster builds and installs on your running system, so you build in an unclean environment (shouldn't lead to problems, but sometimes does) and has your system in a partial updated state while building, which can be very bad, I suggest using poudriere or synth to build ports 17:38:11 Well, sadly more & more ports don't build well outside of pouderie or whateverthefsck they call it. 17:38:51 really? 17:39:11 Don't act like you don't know that. 17:57:11 what is the performance of Windows OS's virtualised with freeBSD as a host? 17:59:54 I need to use some Adobe software sometimes, I have a thinkpad x270. Will it be enough? 18:07:08 drobban: I was reminded of these: https://www.ipi.wiki/products/com-hpc-ampere-altra?variant=43142801129634 just a little higher than $1.5k @ $2k for a 32-core beast 18:07:10 Title: Ampere Altra Dev Kit – I-Pi SMARC 18:34:45 kevans: that's for zero 🐏 18:41:36 meena: zero... sheep? o.o 18:41:45 ram 18:42:27 oh, I guess I need a magnifying glass 18:43:04 yeah that's a bit lame 18:44:33 morpho: try it and see 21:40:41 I need something to run as a daemon to listen on ipv6 port and send stuff to ipv4 port 21:40:54 I guess this is not something pf can do 21:41:39 nope that will need a couple of chained netcats; you could do it with perl to but eh ~ I mean you could do it with any programming language 21:42:14 unless you can find a userland tool to listen on ipv6 and send ipv4 .... which you MIGHT be able to do actually with ncat 21:42:19 nmap's version of netcat 21:42:25 super annoying, its actually this java issue https://github.com/Graylog2/graylog2-server/issues/15177 21:42:27 Title: unable to start GELF input on IPv6 address · Issue #15177 · Graylog2/graylog2-server · GitHub 21:42:27 15177 – not able to set CC in port, graphics/mpeg2codec https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=15177 21:42:46 https://fennel-lang.org/tutorial works in Flua 21:42:47 Title: Fennel – Getting Started with Fennelthe Fennel programming language 21:42:51 it used to work just fine in previous graylog/jvm combo and in the last edition it broke 21:43:01 meena: that is pretty neat 21:43:11 ffennel 21:43:15 :D 21:43:56 ^^^ kevans you now have a lisp in base, what have you done 21:44:18 fennel is a lispy flavoured lua 21:46:52 Fenne is very good, because Lua is very good. 21:47:44 eh 22:06:30 Hmmm... Lua is good because of what? What makes it so good? 22:07:13 its good because its light 22:07:22 that is why its used for the AI in NPC's in games so much 22:07:26 idk.. syntax is (puke) ... 22:07:29 but every language is good 22:07:37 every tool has a job 22:08:04 True, it is light. What else? 22:08:49 no idea I just know its used a lot in games for NPC's for its lightness 22:09:07 im a perl/c#/rust guy :P 22:09:13 and this is a freebsd channel lol 22:09:19 Probably is fast, as well, right? 22:09:26 speed does not matter 22:09:51 Freaking interpreted 22:09:53 geting the job done matters, you use what you like 22:10:05 Ok 22:10:07 threading and forking will do the rest 22:10:16 worry about optimizations after you deliver 22:10:39 before that write in what you like 22:10:44 or what community you like to deal with 22:11:42 I am not dealing with communities, mate :) 22:11:55 you are dealing with one right now 22:12:21 I was just curious about how good, fast, light and shiny Lua can be 22:12:48 as good, fast, light and shiny as any other language :) 22:12:49 for that I could not answer and to be honest; I do not think most of the lua community could either 22:13:58 Ok, sorry for disturbing the community with my ignorant questions :) 22:14:03 Peace out 22:14:45 Homework question on IRC brings back memories. 22:16:01 dclau, its good to chat it was no problem :) but yes indeed any language is what you make it 22:16:26 Lua is better than a lot of languages and worse than some 22:16:26 I'm a bit late for a homework question :) 22:16:58 as long as you're not a byte late ... it's okay :) 22:18:00 Now I see the community. Relax, guys. 22:18:43 now I'm trying to remember if there's been CVEs with 1 bit leaks 22:21:10 lua isn't as fast as some interpreted languages (unless you go for luajit, which has its own issues) but it's pretty nicely embeddable 22:21:19 is there a native equivalent of lsof? 22:21:23 fstat 22:21:50 tried that, it won't tell me what's open on my zfs dataset 22:22:00 which I can trivially unmount -f 22:22:01 what exactly did you try? 22:22:53 https://www.irccloud.com/pastebin/PI9lt8ct/fstat 22:22:54 Title: Snippet | IRCCloud 22:23:44 RhodiumToad: that, `sudo fstat -v` 22:24:12 sudo fstat -f /jails/h2o 22:24:36 thats blank 22:24:42 hmm 22:25:12 fbsd version? 22:25:26 1400082 approximately 2 weeks old 22:26:14 main-n261593-491263d7a640 so actually 17 March almost a month old 22:26:35 ha got it 22:26:38 its a socket 22:27:18 syslog-ng 97187 root 23u unix 0xffff000174425900 0t0 /jails/h2o/var/run/log 22:27:23 thats from lsof 22:27:53 https://www.irccloud.com/pastebin/K5V1zee2/fstat_p_97187 22:27:54 Title: Snippet | IRCCloud 22:27:55 sockstat -u should also show that 22:27:59 obvious in hindsight 22:28:38 fstat only shows `root syslog-ng 97187 25` 22:29:42 that suggests that the fstat program, the sysctl interface to the files table, and the files table itself are somehow out of sync on what type values exist 22:30:00 it seems a bit unfortunate that fstat doesn't recognise those 22:30:30 this isn't the first time I've seen this, but its the first time I've had the time to dig around instead of `umount -f` and doing whatever it was I needed to do 22:32:16 RhodiumToad: ok, looking on a nice 13.2-RELEASE instead, I see the same thing - sockets aren't recognised 22:33:42 uh, they are, but maybe not on zfs? 22:34:04 I see that libprocstat has some zfs-specific code, possibly that hasn't been kept properly updated? 22:35:53 hm, fstat -f ... doesn't list sockets on the specified FS even on ufs 22:35:57 RhodiumToad: I think you're right, only zfs. I wonder if I have any UFS atm. 22:36:05 try `fstat -s` maybe? 22:36:20 and paste output please, I'm curious to know what I should see :D 22:36:34 https://reviews.freebsd.org/D21880 22:36:35 Title: ⚙ D21880 fstat(1) -s option 22:38:48 https://dpaste.org/hsbAE 22:38:49 Title: dpaste/hsbAE (Plain Code) 22:39:25 RhodiumToad: this is great. I want `-s` on all the time, everywhere. 22:39:44 note that the first command didn't show the sockets though 22:40:00 cool, I can close 3 old BZ with this now, and then feel good about asking for a zfs specific fix :D 22:40:29 did I read this correctly, it only shows up into when the pid is given? 22:41:06 it shows up in fstat -s without other args 22:41:24 but if you use -f /path to examine just one filesystem, they don't show at all 22:41:33 and you don't see it for a single fs, aah. 22:41:40 hmmm 22:41:45 see https://dpaste.org/SiWBN 22:41:46 Title: dpaste/SiWBN (Plain Code) 22:43:24 root syslog-ng 84577 16* local dgram fffff80023b52d00 /var/run/log 22:43:34 it does show up in zfs / 22:43:43 but not in child datasets 22:45:27 hm, on the system I tested that on, /var is actually just a subdir of / (ufs) 22:47:30 on the ones I have, /var/run is just a subdir of / zfs, but there are a bunch of jails with syslog-ng providing the sockets 22:55:49 https://cgit.freebsd.org/src/tree/usr.bin/fstat/fstat.c#n247 probably explains why sockets aren't printed if -f is specified 22:55:51 Title: fstat.c « fstat « usr.bin - src - FreeBSD source tree 22:56:12 <_xor> Can't remember, but HEAD on -STABLE branches (e.g. stable/13) is usually buildable, no? (or is it expected to break sometimes?) 22:56:33 (and why it only prints for the same FS as specified path and not child datasets) 22:57:33 _xor: stable branches should pretty much always build 22:57:40 <_xor> That's what I thought. 22:57:55 _xor: it should be buildable, yes, it's the reverse (something older being built on main) that isn't guaranteed and not really supported 22:58:38 <_xor> Hmm, probably my config/environment then. Though the build did error in the same place on two separate machines, so it made me wonder. 22:58:57 what was the error? 22:59:32 <_xor> /usr/src/crypto/heimdal/lib/hdb/hdb-ldap.c:819:17: warning: cast to 'unsigned char *' from smaller integer type 'unsigned char' [-Wint-to-pointer-cast] 22:59:57 <_xor> I guess I can remove WITH_OPENLDAP=yes from src.conf. 23:00:08 <_xor> It's not mandatory, but would have been helpful. 23:00:30 are you expecting to build without warnings? 23:00:34 <_xor> Oh wait sorry, that was the warning line. Let me get the error line. 23:00:38 * RhodiumToad not sure he ever managed that 23:00:38 <_xor> No, mis-paste. One sec... 23:01:31 <_xor> https://termbin.com/42zk 23:02:30 erm 23:03:09 <_xor> I was about to go for the easy route first and try diabling ccache, until I saw that it's a source compile error and not a linker error. 23:04:09 yeah, that's wrong in the source 23:05:34 hrm, but this code is like 11 years old??? 23:05:45 <_xor> Hmm, how can I see the default value for a make macro? I wanted to make sure WITH_OPENLDAP=no by default and that I explicitly changed it to yes. 23:05:56 <_xor> Tried `make -V WITH_OPENLDAP` but that didn't dump anything. 23:06:30 <_xor> I guess not many people compile it, heh. 23:06:49 yuripv: so are you saying with a small logic change, fstat could show sockets in child filesystems? 23:06:50 s/WITH/MK/ ? 23:07:08 <_xor> yuripv: Just tried that, no dice. 23:07:11 I read the code you linked but can't spot the logic yet 23:07:44 <_xor> No biggie, going to try to with that set to no to see if that allows it to skip past that part of the source. 23:07:49 the code has an obvious glaring bug 23:07:59 dch: nope, i'm saying that if -f is specified, sockets (or anything else that isn't fifo/vnode) are not printed 23:08:18 maybe it compiled with warnings before but compiler is stricter now? would have to check 23:08:20 aaah yes I see now 23:08:22 <_xor> RhodiumToad: Yeah, that's what made me wonder if I was wrong about -STABLE always being buildable. 23:11:13 hm 23:11:29 my build logs from way back show it compiling without error 23:11:52 oh wait, wrong file 23:13:28 <_xor> I guess it could have compiled with a warning before, but a pointer where it expected a char? That seems odd to be intentional. Like truncating a wider type to a narrower one where you know the extra bits aren't used...ok, I can maybe see that. 23:13:55 <_xor> but a char vs word-size address? (then again, been a long time doing systems stuff, so I'm very out of touch) 23:13:56 what WITH/WITHOUT options are you using? 23:14:02 <_xor> WITH_OPENLDAP=yes 23:14:10 <_xor> I just commented that out and am recompiling now. 23:14:19 <_xor> Oh optionS...one sec 23:15:46 <_xor> https://termbin.com/fyizb 23:16:11 <_xor> Only other thing I can think of is one of the other options causing the error, but not sure which one. 23:16:40 <_xor> That's the current /etc/src.conf I'm compiling with now, the error'ed one had WITH_OPENLDAP=yes enabled. 23:18:16 WITH_OPENLDAP doesn't look like it's supposed to be enabling compilation of heimdal/**/hdb-ldap.c 23:18:36 <_xor> Well that sucks, heh. Guess this one is probably going to bomb too then. 23:18:54 hm 23:18:56 maybe it is 23:19:22 MK_OPENLDAP adds -DOPENLDAP=1 to heimdal cflags 23:19:24 <_xor> If it makes a difference... 23:19:52 <_xor> https://termbin.com/ggae 23:19:56 <_xor> There's src-env.conf 23:20:08 and the whole file is #ifdef OPENLDAP it seems 23:20:25 <_xor> I guessed it was WITH_OPENLDAP due to Heimdal. 23:20:42 so this option may never have worked? 23:20:48 <_xor> Guess not? 23:21:19 <_xor> Last commit was actually 11 years ago? 23:21:28 <_xor> I mean that touched those files. 23:22:54 the broken source line is blamed on "Import Heimdal 1.5 distribution -- 12 years ago" 23:23:21 Oct 5 2011 to be precise 23:23:52 <_xor> Lulz 23:24:17 * _xor was just browsing cgit.freebsd.org to look at the commit history for that dir, but had trouble finding date there 23:27:24 looks like it was fixed in heimdal 1.6, but apparently 1.5 was the last version imported 23:35:32 the idea of running crypto code that has not been updated since 2011 and contains obvious this-won't-compile bugs seems a bit iffy 23:38:37 <_xor> Yes. Yes it does. I should check stuff like that before I enable it. Had I seen it was 11 years old, I'd have probably not enabled it, not at least without looking a bit more into its origin/status/etc. 23:39:24 the description sounds like it shouldn't be compiling this at all 23:39:55 someone with more familiarity with the makefile mess would have to comment 23:40:15 <_xor> If it's not being used, maybe it should be deprecated? 23:40:21 <_xor> ah