12:53:46 Hi, can anyone point me in the right direction when it comes to network config for smartos in virtualbox? My smartos install can connect to the outside, but the VMs are unable to. 12:54:20 I am using a Briged Adapter, if that is usefull info 14:41:07 Are the VMs using the same nic tag as the GZ nic you *can* reach? 15:22:35 Yes, there is only one NIC tag and they both use that one 15:36:12 Okay... I wonder if there's a VBox setting for the bridged Adapter where more-than-one-MAC can be assigned to it? Because I *suspect* what's happening is *something* doesn't like more than the GZ's MAC address on that link. 15:37:35 Whether it's VBox, or your VBox host, something's stopping bits from moving. 15:37:46 I take it you can move bits between GZ and NGZ just fine, right? 15:37:55 (1st-order reality check question ^^^ .) 15:39:42 I don't know if bridged mode works, way back when I used nat mode: https://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html 16:12:23 Oh shit yes this is virtualbox. 16:13:02 I have OmniOS (only global) on VBox on my personal MacBook Pros, and I can't use bridged on there at all, even for the GZ. 16:13:37 Thanks for that reminder jperkin. 18:06:28 jperkin: is there an archive of older binary packages somewhere? I'd like to find unbound-1.17.1nb1 for a test. 18:14:59 pjustice: possibly, all the older releases are archived under /pkgsrc/public/packages in Manta, but if that particular revision was only available for a certain time in e.g. trunk and then updated then no 18:15:47 is your unbound issue easily reproducible? happy to take a look after I'm done with some percona bits 18:16:57 Well, that's part of what I'm trying to determine. Wanted to put back the previous version, as my current understanding of the differences between two systems is basically that the one didn't get restarted and is still running the 1.17.1nb1 version. 18:17:14 (and I'm living in fear of it getting cycled...) 18:17:18 2022Q4 has 1.17.0 18:17:20 Lemme see if the tgz is in manta 18:17:37 trunk only has 1.18.0 now 18:18:08 Yup, that's the issue 18:23:12 Ok, 1.17.0 installed. The problem has vanished. These machines previously had 1.17.1nb1, and the upgrade to 1.18.0 arrived in early September, I think. 18:25:30 I've spent hours poring over the diff between 1.17.1 and 1.18.0, but it's huge. 18:40:57 I'm noticing that 1.18.0 calls sendmsg(), but 1.17.0 doesn't seem to, for queries that generally trigger the misbehavior in 1.18.0. 18:56:40 Ahhh, so there WAS a difference. 18:57:54 pjustice: were you mailing smartos-discuss? 18:57:55 https://smartos.topicbox.com/groups/smartos-discuss/Tdf917f8bb6aea7a7-M41c9ae0b16807c6c059e6c9e 18:57:58 eys 18:57:59 yes 18:58:30 Okay... I wonder if 1.18.0 is doing sendmsg without turning on "xnet sockets" which support the modern sendmsg() semantics? 18:58:36 But the differences, as noted there, have resolved to the package version. 18:58:57 It appears that older versions don't do sendmsg() at all. 18:59:00 I know jperkin understands that issue/problem/design-decision-back-from-sun-days. 18:59:06 Or at least I'm not seeing any. 18:59:11 I saw that up top... fascinating. 18:59:26 Anyway, lemme look at something... 19:03:18 ... okay, I have 1.17.1 on my OmniOS zone. I don't see any odd patches in their build of 1.18 (which will likely show up on the next stable, 151048). 19:03:35 Our sendmsg() SHOULDN'T be any different than Omni's. 19:04:36 There are some sendmsg() apps that need "-D_XPG4_2" to use the modern sendmsg(). 19:04:56 No idea why your unbound 1.18 is throwing these errors. 19:05:35 dtrace -n 'sendmsg:entry { printf("\n\tsendmsg from: %s", execname);}' 19:05:51 that shows no sendmsg from "unbound" (but if I swap to "send" I see them). 19:07:47 Yes, I'm seeing send() and sendto() happening, but no sendmsg() in 1.17.0. 19:09:12 I haven't had much luck figuring out where to look to see if _XPG4_2 is getting defined in the build. 19:10:32 The choice of which variant of send*() to call seems to come down to which callback gets used -- comm_point_udp_ancil_callback or comm_point_udp_callback 19:23:24 perhaps check if the omnios-extras unbound has extra patches? 19:24:26 pjustice: Are you running virtualbox bridged to a wifi interface? 19:26:09 bahamat: I think that was a different conversation with someone else. 19:26:31 pjustice: Oh, sorry, yes it was.. 19:26:35 ( bahamat vbox is @jhertz) "ancil" ==> Ancillary data. THIS is why you need sendmsg()./ 19:26:36 no worries 19:26:45 Looking up that symbol... 19:29:04 ... yeah.. .IPV6_PKTINFO 19:30:51 So to send ancillary data like that you need to use X/Net sockets not normal libsocket ones. (It's a distinction I think we need to kill, but that's a whole #illumos problem, not specific to us in #smartos). 19:31:06 I'm sure jperkin has seen stuff like this in OTHER pkgsrc apps. 19:32:54 Given that, the question would seem to be what defines to the build changed between these two versions. 19:33:27 _XPG4_2 would seem to be a prime candidate. 19:34:31 Did the ...ancil... function get introduced with 1.18 ? 19:35:24 Oooh.. 19:35:25 https://github.com/NLnetLabs/unbound/issues/928 19:35:34 No, I don't think there's really a significant change to the code as regards calling sendmsg. The difference would seem to have to be in defines. 19:38:28 Or linking with `-lxnet` 19:38:53 Both versions are linked with -lsocket 19:38:59 You can cheat by using #define _XPG_42 or whatever it is... this is a problem jperkin is best-suited to solving. 19:39:38 * danmcd wonders if Oracle Solaris got rid of old-fashined SunOS 4.x sendmsg() or not? 19:47:47 I'm going to have to wander off to an appointment for a bit here. Will check here when I return.