00:16:14 the issue is that luajit and luajit-devel conflict on install, and some consumers use one and some use the other 00:17:07 oh, the gdal one is because gdal depends on postgresql-client of the selected postgresql version, which isn't necessarily the one in use 00:18:00 all of postgresql-* needs to be reworked to allow concurrent installs a la Debian, but that's not been done yet 00:19:09 i see 00:20:31 (by "not been done yet" I mean it's been talked about for 5+ years without anything being done) 00:20:35 I wish the same was available for MySQL/MariaDB. The only trick here is not to set up network access. That's how MacPorts has implemented it. 00:26:40 RhodiumToad, I created patch for obs-studio - check https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271085 00:26:42 Title: 271085 – multimedia/obs-studio conflict with neovim due to luajit dependency 00:27:02 I found a strange thing today.  that zfs dedup is very IO intensive and generally not recommended for anything. It will make more writes/reads on disk than the original data to be wrttien in first place 00:58:25 why is that strange? 00:59:34 I thought it would use cpu .. ok but will not write more than the real file size... 01:00:08 its saving space at cost of writes, cpu 04:34:26 what's odd is it seems to happen before ~/.zshenv is processed 04:36:36 ... what does? 04:38:05 sorry, i think i got disconnected when i posted my comment, i wrote: 04:38:08 i have a serial over linux connection to my freebsd server. when i login with my user, it logs in and hangs after motd. if i ctrl-c, i'm back at the login prompt. root seems to works, so i'm guessing it's something zsh related. i use the same zsh config on linux without issue. any common "gotchas" that might cause this? if not, i'll keep hunting. 04:39:43 markmcb, Add "set -x" at the very top of ".z{profile,shrc}" files to better observe 04:39:44 have you snooped on the serial line to see what's being sent/received? 04:40:36 not sure how to snoop. parv, i'll try that. 04:43:07 parv, where should i expect to see the effect of that? on the console? 04:43:46 markmcb, Wherever zsh runs; I suppose on Linux side 04:44:48 markmcb, Note that version 5.0 of zsh lacks "pipefail" option in case you have that set 04:45:13 emitting the motd is the responsibility of login(1). The next thing that it does after motd is to check for new mail, which is just an fstat of /var/mail/$USER 04:45:36 and the next thing after that is the exec of the shell. 04:45:59 you might try control-T instead of control-C, since that should show what process is running 04:46:58 sysctl kern.tty_info_kstacks=2 will also show the kernel stack on control-T which makes it easy to see what it's waiting on 04:46:58 ctrl-t shows: load: 0.28 cmd: zsh 5389 [ttydcd] 276.01r 0.00u 0.00s 0% 3508k 04:47:26 ttydcd suggests it's waiting for carrier detect on the serial line. 04:47:46 perhaps the serial line was not set to ignore modem controls? 04:48:23 ah, perhaps that's it ... i kinda breezed through the SOL setup when i first installed 04:48:36 i'll double check my settings 04:50:10 note that setting is on the freebsd side 04:51:05 What serial program are you running on the Linux side to connect to the FreeBSD serial terminal? 04:52:22 it's a Serial over LAN link, using "ipmitool sol activate" in Debian 04:52:32 and what serial line type was set in /etc/ttye on freebsd? 04:52:37 /etc/ttys 04:53:03 /etc/ttys: ttyu1 "/usr/libexec/getty std.115200" vt100 on secure 04:53:32 you might want 3wire.115200 rather than std.115200 04:54:47 how to i reload that config after changing it? or is it automatic on next connection? 04:54:56 *how do 04:55:07 init q 04:55:11 (as root) 04:55:40 bingo 04:55:43 that was it 04:56:14 thank you so much, not sure i would have solved that mystery alone :) 04:57:31 the 3wire entry just tells it to ignore the modem carrier-detect / data-set-ready signals, normally opening the serial port blocks until carrier is detected 04:57:57 * RhodiumToad spent FAR too many years working with RS232 gear 04:58:20 ah, i see. what doc would have more info on that? would be good to add to my reading backlog. 04:59:11 getty, gettytab, termios(4) 05:03:03 i can't find a reference to 3wire in those docs or ttys(5), and apropos lists nothing 05:03:22 the gettytab manpage describes the format of /etc/gettytab 05:03:29 3wire is an entry in that file 05:10:13 I'm impressed you knew "init q" rescans the ttys file. 05:12:47 I have to keep detailed notes of everything I do or I forget by tomorrow. I'm always envious of those who can retain nuggets of knowledge like this. 05:17:32 init q is actually an old SysVism. 05:18:00 * RhodiumToad spent many years using commercial unixes before starting with freebsd 05:19:31 all it does is do kill -HUP 1 but in some respects it's a bit safer 05:21:14 that's cool. i appreciate your insights. 05:21:52 btw, where would ctrl-t be documented? ... is that a unix thing? don't recall that one in linux 05:22:47 seems really useful 05:22:49 that's a BSD thing. it's the STATUS control character in stty 05:24:32 when the terminal sees that character when in canonical mode, it outputs a line direct from the kernel showing the system load, foreground command, wait channel and cpu/mem usage 05:25:17 if terminal signals are not disabled, it also sends SIGINFO to the foreground process group, and many programs respond to that by printing their own status/progress message 05:28:57 oh, I should have linked this before: https://docs.freebsd.org/en/books/handbook/serialcomms/ 05:28:58 Title: Chapter 28. Serial Communications | FreeBSD Documentation Portal 05:31:15 thanks for all the help! it's getting late here so i think i'm going to call it a night. 07:46:02 i'm on 13.1, and i've got a src.conf that includes "WITHOUT_TOOLCHAIN=set". it allows me to build a minimal FreeBSD for a small server, and it builds quickly, because it doesn't bootstrap llvm, it just uses the base system's included compiler. 07:46:06 however, if i try to build 13.2 on the same system with the same src.conf, it will always insist on bootstrapping llvm. this is something i can't get around when trying to cross-build between releases, right? 07:48:58 (i guess i could live-boot into a 13.2 image and build on there. quite a hassle tho.) 08:45:47 trying to sign up to oracle cloud and getting "Your transaction was declined." was declined for my credit card… I loathe that i have to add a credit card for a "free account" 08:47:07 what i just love is that the website says: "Your transaction was declined." and i have to look into the console to get something more better, like: "We are unable to authorize payment. Please contact your issuing bank or provide another credit card or an alternative form of payment (Error Code 478)." (there is no alternative form of payment) 08:49:51 meena: I got that too yesterday, after it looked like it had gone through 08:50:41 i can't even find 478 as an error code Visa would issue 09:12:04 okay, it means Strong Customer Authentication required, which means 3D Secure, which they didn't ask for… funnnn! love debugging shitty websites in the early morning 09:12:43 https://danluu.com/everything-is-broken/ ← i should get back to protocolling this. 09:12:44 Title: One week of bugs 09:17:02 okay, their support chat is also broken lol 09:17:07 NEXT. 13:13:18 meena: but larry ellison is so rich! it could only be because his products are superior! 13:51:07 Demosthenex: i wonder if he's rich enough to float in the middle of the Pacific 13:57:07 actually, if i credit oracle with anything, it's taking customer money. i'm amazed they have a bug in payment ;] 14:04:53 Demosthenex: they do? 14:06:34 Demosthenex: Ireland is a tiny market, and no one cares about it 14:09:13 if they had a DC here i bet it would be different, but only Microsoft, Google Abs AWS have DCs here 14:09:54 and by "here", i mean in Dublin probably. because out here where i am, we don't even have IPv6 14:22:46 we (Siemens) have a data centre in Shannon 14:27:54 but you have so many megacorps in ireland! how could you not have dcs? 15:13:44 hello there i have a problem i run a system freebsd 13.2 and i try run inspircd inspircd-4.0.0a22 and i get error when i run it without a module geo_maxmind then everything is good but when i run with a module i get error please if someone can help to me https://bsd.to/kJBA 15:13:45 Title: dpaste/kJBA (Plain Text) 15:22:47 it looks like this is a bad drive 15:27:28 paulf: do you have a cloud i should support? 15:43:30 hi there, any idea how to use less with "colored" output text? 15:45:56 nerozero: -R 15:46:16 meena, BLESS U! 15:46:33 thank you so much for always quick replies ! 15:46:37 RESPECT ! 15:46:41 nerozero: man less should tell you (i had to verify my response was correct ;) 15:46:46 -G with linux 15:47:18 I was looking for -G and didn't found that .. sooo my bad 15:47:19 -G is hilight search on my Linux laptop 15:47:34 maybe -G implies -R on Linux? 15:47:42 possible 15:48:32 hrm… we do seem to have -g and -G 15:49:54 someone please? 15:51:07 meena: no we're only just starting to get into cloudy stuff, many customers are otally paranoid and will never use cloud 15:51:46 paulf: well, if you wanna implement your cloud-init datasource give me a shout 15:52:21 paulf: also: I'm from austria and worked in Germany for a some time, so, yeah, I know. 15:52:43 it's usually the Japanese that are the most paranoid 15:52:59 but many others are too 15:53:40 i didn't realize Siemens was … big in japan 🎵 15:55:04 * meena just looked up what that means 16:17:37 Hi, got a FreeBSD VPS rented online, getting its own public IP through DHCP pool of the server provider. How to see the IP address of the DHCP server? How to know what IP gives my VPS its IP address? 16:19:10 tercaL: To what end? 16:19:41 just trying to *whitelist* the DHCP server's IP address in my PF.conf file. 16:19:49 on my VPS 16:26:08 I assume you're talking about DHCPv4. 16:28:45 jkc: Yes. 16:28:54 Right. 16:29:15 Then don't bother. Pf won't filter that. 16:30:24 how do i chflags a file to immutable? 16:30:31 There's zero examples in the man page 16:31:45 tercaL: With DHCPv4, IP addresses aren't involved until you have an address. So how can you filter by IP address before they become involved? 16:32:17 jkc: My problem is; when I type "dmesg -a", I see: 16:32:44 "Jul 4 04:59:09 myhost dhclient[18366]: send_packet: Permission denied" and too many messages afterwards: Jul 4 05:11:29 myhost syslogd: last message repeated 18 times 16:32:53 So? 16:32:54 When I disable PF, it disappears. 16:33:08 When I enable PF, it re-appears. 16:33:11 So? 16:33:34 jkc: I'd like to know what's my mistake in my PF configuration, and what blocks the dhclient through PF. 16:33:59 The mistake is that you're blocking outbound traffic that you shouldn't be. Stop trying to whitelist outbound traffic. 16:34:21 Administratively, it's a horrible practice. 16:34:23 I don't have any blacklist/whitelist parameter or table in PF. 16:35:04 jkc: When I enable this passing rule, the message disappears again: "pass log quick on $ext_if proto udp from any to any port = 67" So it seems PF somethow interfering with DHCP server in the network. No? 16:37:29 tercaL: Stop doing that. Just `pass out quick on $ext_if`. 16:37:58 You're probably missing the "allow outbound traffic" rule. 16:44:21 jkc: For "pass out" I have two rules; 1- For Time, DNS: pass out quick on $ext_if proto udp from ($ext_if) to any port { ntp, domain } AND 2- For SMTP and Rspamd: pass out quick on $ext_if proto tcp from ($ext_if) to any port { smtp, www, https } 16:44:55 Isn't this a correct approach in terms of security, to not pass out everything - all ports to anywhere? 16:45:43 With "pass out quick on $ext_if" I think, I'd remove those two rules, as your suggestion allows communication of any port towards outside.. No? 16:46:41 Personally? No. I avoid outbound filtering. I find no value in imposing a control on the system via the same system that could remove the control if it were compromised. 16:47:42 The local system is filtering the traffic. If the local system is compromised, the attacker would just disable the firewall. You're imposing a lot of functional problems for little benefit. 16:53:24 tercaL: you can see it if you have tcpdump running when starting dhclient, but I'm not sure what the point of knowing the address is since the important parts of DHCP are done via broadcast. 16:54:36 Outbound ACLs aren't even remotely best-practice, unless you're dealing with systems that involve national security and that kind of threat level. 17:10:53 Got it! Some really good suggestions and super cool explanations! Thanks a lot jkc and debdrup 17:13:33 meena: don't you mean schg ? 17:13:54 tercaL you could also run dhclient in the foreground to see what the dhcp server is in that case 17:15:44 i don't necessarily have a credible opinion on it but i personally like outbound ACLs with whitelists, assuming it's easy to specify the whitelist...helps prevent exfiltration of data if there were some non-superuser comprimise 17:16:59 and for intnet -> intnet packets, it should help isolate such a compromise 17:40:18 jmnbtslsQE: schg needs root. i just want to set that on one of my files 17:40:40 I could also disable saving known_hosts 17:59:48 someone please? 17:59:51 hello there i have a problem i run a system freebsd 13.2 and i try run inspircd inspircd-4.0.0a22 and i get error when i run it without a module geo_maxmind then everything is good but when i run with a module i get error please if someone can help to me https://bsd.to/kJBA 17:59:53 Title: dpaste/kJBA (Plain Text) 18:02:34 ASHER: did you already open a bug on that? 18:03:02 that's not running that's building 18:03:05 yes and no boday try to help 18:03:25 ASHER: i reassigned it to the correct person 18:04:13 ok 18:05:59 https://github.com/inspircd/inspircd/issues/2044 18:06:01 Title: bug inspircd version 4 in freebsd 13.2 · Issue #2044 · inspircd/inspircd · GitHub 18:06:53 yes i told to him but he dont want to understand 18:07:07 is have a problem with a module when i run it 18:07:16 ASHER: the bug is in upstream, or rather, a dependency there: https://github.com/maxmind/libmaxminddb/issues/318 18:07:18 Title: Misuse of _POSIX_C_SOURCE feature macro · Issue #318 · maxmind/libmaxminddb · GitHub 18:07:18 318 – matcd driver not on boot or fixit floppy FDIV012 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=318 18:07:46 ASHER: Sadie sounds like a "she" to me 18:08:52 i dont what a problem with this a man or women whatever anyway when i try run the commands like it gmake CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib install i get error 18:09:06 i dont know if this my system or this a modules 18:09:31 if is have something else commands to try run? 18:10:55 ASHER: the problem is that this module doesn't build (on FreeBSD 13.2?) because one of its dependencies does something out shouldn't do 18:11:15 without a module is run good 18:11:38 but with this is have problem like in C++ i dont know why 18:12:13 we could try to patch that dependency, because I don't see any commits since October last year: https://github.com/maxmind/libmaxminddb 18:12:15 Title: GitHub - maxmind/libmaxminddb: C library for the MaxMind DB file format 18:13:06 https://www.freshports.org/net/libmaxminddb/ 18:13:07 Title: FreshPorts -- net/libmaxminddb: Library for the MaxMind DB file format used for GeoIP2 18:13:23 i install that 18:13:39 I know, but you have to patch it 18:14:12 i need run it in folder lib? 18:15:05 https://github.com/maxmind/libmaxminddb/blob/main/include/maxminddb.h#L8-L18 these ten lines need to go 18:15:06 Title: libmaxminddb/include/maxminddb.h at main · maxmind/libmaxminddb · GitHub 18:16:21 what i need to do copy the code or run it beacuse i am not see nothing abour run it in freebsd 18:16:37 and instead, you need to add that to the CFLAGS of geo_maxmind 18:17:12 ASHER: do you speak any other language other than English? 18:17:35 ohh sorry my english is very bad on sec 18:18:26 I asked in which folder I run it because I don't see commands for the operating system I'm using 18:19:07 meena> and instead, you need to add that to the CFLAGS of geo_maxmind how i do it is have commands please for that? 18:19:21 nothing to run. you have to delete those teeth lines from the .h file in your system. (somewhere in /usr/local/include) 18:20:40 ok 18:21:01 what about the CFLAGS? 18:21:10 ASHER: I'm typing this stuff on mobile phone. you're sitting in front of a computer. if you don't know how to modify a build system and patch a file, need to learn a lot before you're allowed to run an IRC server. 18:21:43 ok i will try it thanks my friend :) 20:14:57 meena i try to do what you explain and is not working 20:19:09 ASHER: I'll try to submit a patch when i get back to the computer, or you could wait for sunpoet to wake up 20:19:47 let's give them another four hours of sleep 20:35:13 but is not have there nothing configure :S you give to me the patch thanks but from here what i need to do you are good in computer me not my friend and what i am try to find this only good expalin 20:38:52 I have create the boot, the /, the swap and the /usr/home partitions by hand using Slackwares64's fdisk, however, in the step where you set the partitions to install the new system, the bsdinstall shows the error: "Error mounting partition /mnt. mount: /dev/ada0p3: invalid fstype: invalid argument" 20:39:31 I have tried with other installation images like the memstick, dvd, netinstall, etc but I still have the same error message 20:39:35 Why? 20:39:50 This is a 2TB blank dis HDD 20:41:18 The partitions were created using the GPT partition scheme 20:41:57 hello 20:42:08 Maybe this is a bug of the bsdinstaller program 20:42:25 I need some help I installed freebsd on my computer 20:42:37 another one downstairs and it says host not found 20:42:39 :'( 20:42:45 I can't pkg update or anything 20:42:52 asarch: Um. So, FreeBSD won't probably be happy installing on the filesystems a Slackware environment can create. 20:43:21 Oh 20:43:39 asarch to make us happy you need to convert 100% not 70% 20:43:43 asarch: That's talking about filesystem type. If it's just something about that partition table, that'd be interesting. You can look at the listed types. 20:44:32 I used freebsd-boot, freebsd-swap and two freebsd-ufs partitions (one for / and the other one for /usr/home) 20:44:44 asarch: gpart show -l ada0 (or whatever) will show partition types. 20:44:46 hm 20:45:07 it says hostname not found 20:45:11 and I cannot ping 20:45:32 I tried turning on nfsd that didn't help or dhclient renew 20:45:51 asarch: FWIW, freebsd-swap should be 516e7cb5-6ecf-11d6-8ff8-00022d09712b, freebsd-zfs would be 516e7cba-6ecf-11d6-8ff8-00022d09712b - not sure where there's a canonical listing. 20:45:53 I don't know why I checked the ethernet cable it was yellow and seemed to work I was able to ping locally 20:46:01 like the router 20:46:45 anyone have an idea? I installed the i386 version bootable and it connected to internet then and got a dhcp lease 20:47:10 I checked the etc/hosts file and adjusted it appropriately nothing special there 20:47:20 ada02 - exbootfs - 1.5G 20:47:26 asarch: Ah, found a list here. There's probably a better one, but: https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.utilities/topic/d/diskimage_config_file.html 20:47:41 ada03 - exrootfs - 57G 20:47:51 asarch: Better to show codes. 20:49:19 ada04 - exswapfs - 7.5G 20:49:35 ada05 - exhomefs - 5G7 20:50:05 Those symbols don't convey meaning to me. Try gpart -r show from freebsd boot media 20:50:14 hi mason did you get my question? 20:50:28 kiwichap: Didn't realize it was for me. Reading. 20:51:09 gpart: Unknown command -r 20:51:25 kiwichap: Sounds like DNS is the first thing to check. Do you have a valid /etc/resolv.conf? Can you ping the name server(s) listed thereing? 20:51:28 therein* 20:51:42 asarch: gpart show -r ada0 (for example) 20:51:53 I will go downstairs and check 20:55:24 You mean the 83BD6B9D-7F41-11DC-BE0B-001560B84F0F codes from the partitions? 20:55:39 If yes, that would be for freebsd-boot 20:56:26 516E7CB6-6ECF-11D6-8FF8-00022D09712B for freebsd-ufs for the / and the /usr/home partitions 20:57:11 And 516E7CB5-6ECF-11D6-8FF8-00022D09712B for the freebsd-swap partition 20:57:43 Everything seems to be fine 21:04:43 asarch: Yeah, those. 21:04:59 yes mason thank you 21:05:06 I changed it to google and it worked 21:05:08 8.8.8.8 21:05:45 kiwichap: Ah. The worry there is that now Google harvests everything you do. Better to use your local DNS if you can find it, from some internal router, or from your ISP, or something of the sort. 21:06:33 ok 21:06:46 asarch: Those look right. Might need more context about what's failing. 21:07:22 asarch: The error was about mounting. You're not somehow skipping the actual formatting of the partitions, are you? 21:09:02 The installer says that there is an already FreeBSD system installed in the partition, however, this is actually a blank HDD 21:09:30 asarch: Might be safest to let FreeBSD do the partitioning. There's still something missing in your procedure we're not seeing. 21:09:50 asarch: I'm going to take a wild guess that you're telling it to use the existing partitions, and it's assuming they're already formatted. 21:10:11 thanks good idea it's on the router 21:10:12 Is there a way to force to format the partition? 21:10:23 thank you mason 21:10:27 kiwichap: Sure, have fun! 21:10:46 asarch: That should just happen, although honestly I never use anything but ZFS any more, and at that I do my disk prep by hand. 21:11:41 asarch: I'm not suggesting you do this, but for kicks, an interesting thing that's possible is to spin up a VM and point it to the real disk. You can have your Slackware running FreeBSD as a VM and have it do almost all the work itself from within Slackware. 21:12:19 This is a real PC 21:12:24 I've done this on several occasions. It requires taking care to shift between a config suitable for the VM and a config suitable for the bare hardware. 21:12:40 I just used the Slackware's installation image to create the partitions with its fdisk 21:12:50 Slackware is no longer available 21:13:07 kk, I'd recommend just forgetting about what Slackware set up, and doing a straight install from FreeBSD media then. 21:13:30 Where you are right now in terms of familiarity, you're not helping yourself by deviating from the tried and tested path. 21:13:41 I am planning to use this disk to use FreeBSD, NetBSD, OpenBSD, Debian, Slackware and an Android for x86 installation setup 21:14:59 asarch: rebooting each time? 21:15:07 VM's would be easier 21:15:40 This is an old i5 PC 21:15:59 quit 21:16:17 I would like to use them in real life 21:18:45 I could also load each one of them with Xen from Debian 21:18:55 But that's not the point 21:20:32 Anyway. I think I will have to skip for now the installation of FreeBSD until I find a way to get around this bug 21:20:42 Thank you guys. Thank you very much :-) 23:50:54 anyone know of a good reference on the proper use of the feature test macros (_POSIX_C_SOURCE etc.)? I know all about them myself, but it would be useful to have a link to share 23:52:58 That's the problem with common sense based upon practical experience. We know how things are supposed to work. But not where it is documented. 23:56:49 RhodiumToad, "A POSIX-conforming application should ensure that the feature test macro _POSIX_C_SOURCE is defined before inclusion of any header." https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html 23:56:51 Title: System Interfaces Chapter 2 23:56:58 yes, I know about that 23:57:19 in context, it could be taken to mean "any system header", not just any #include 23:57:51 I would take it as before any <*.h> header inclusion. Not any "*.h" inclusion. 23:59:12 the context here is a library that defines _POSIX_C_SOURCE in its public header file, which is obviously wrong, is fairly easy to explain _why_ it's wrong, but I can't find any good reference or tutorial material explaining it 23:59:30 More standards verbage on it here: https://pubs.opengroup.org/onlinepubs/000095399/xrat/xsh_chap02.html 23:59:33 Title: Rationale 23:59:45 And here: 9699919799 23:59:59 Oops. Meant to paste: https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html