00:13:47 I'm not sure if this is FreeBSD specifically, but maybe someone here can help. I have a machine with ZFS, and it's been a backup target for many years. I forget or never really knew exactly how all the files came into place (mostly a mix of rsync, and perhaps some zfs send|recv when migrating to new HW). Anyway, many of the older directories are prone to "Invalid argument" in many cases. 00:15:27 In particular, the problem seems to revolve around facls. For example, with some directories, I can `ls -l` it, but I'll get "ls: path/to/file: Invalid argument". Not fetching any acls with plain `ls` works. I cannot `getfacl`: "getfacl: www: Invalid argument", cannot setfacl. But I can `stat`. Any ideas about how to fix these directories? 00:16:23 what's "zfs get aclmode " set to? 00:18:07 rtprio - passthrough 00:18:56 i wondre if setting it to discard would 'fix' it 00:19:50 can give it a shot. I'm actually in the progress of trying to migrate this data to a new machine, so anything temporary is ok by me 00:20:04 i think discard is the default, maybe it was set from a zfs recv 00:21:04 ah. I was under the impression that only impacts new files, but I might be confusing that with something else. 00:21:38 Interestingly though, everything from the last 4 years or so in the same dataset is fine, and it only affects some of the older directories :shrugs: 00:24:25 rtprio - no go on the "discard" attempt though :-( 00:25:12 youre right, it probably does 00:25:22 there are other acl flags you can twiddle with 00:35:52 hey whats the freebsd developer channel? 00:36:37 nevermind, #freebsd-dev 03:30:56 kevans: actually, it's already been reported here: https://github.com/freebsd/atf/issues/26 03:30:58 Title: execute_with_shell() failed on FreeBSD/MIPS with GCC 4.2.1 · Issue #26 · freebsd/atf · GitHub 03:30:58 26 – uucpd has wrong _PATH_UUCICO https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=26 03:31:48 the temporary string returned by atf::env::get needs to be saved to a local variable to be used later 03:36:38 oh right, because it otherwise goes out of scope and the c_str() result is invalidated 03:37:19 so is the ATF_SHELL default being substituted in there correctly, or no? 03:39:35 apteryx: bah, I thought someone had pushed our contrib/ changes back into the github repo, but apparently not 03:39:45 br@ (reporter of that issue, even) fixed this locally: https://cgit.freebsd.org/src/commit/?id=c5072d5c94034 03:39:46 Title: src - FreeBSD source tree 03:40:05 I'll get it pushed to freebsd/atf and see what else might be missing 03:43:13 the diff is actually larger than I expected: 41 files changed, 46 insertions(+), 32 deletions(-) 03:43:19 mostly small things 03:44:45 OK, I had a very small fix (the same without the typo) coming as PR in case that's needed 03:45:23 tested working 03:56:33 apteryx: this is really nitty, but can you move the `shell` declaration/definition up one line, please? I'll merge it and drop the patch in this branch that does the same 03:57:36 oh, bah, I don't think I was given access to this version of the atf repo 04:04:04 kevans: I can do this yes 04:04:33 apteryx: thanks; I'm poking around to try and get access, but we'll get it taken care of asap 04:05:25 is this fine? https://paste.debian.net/1305702/ 04:05:28 Title: debian Pastezone 04:06:38 pkgconf question: does it behave the same as pkg-config in cross-compilation contexts? 04:12:11 apteryx: yes, perfect, thank you 04:12:35 pr refreshed 06:46:29 Good morning, guys. 07:08:47 Morning 07:22:47 I wish you fast progress for today, guys. FreeBSD 14 works good so far on my tiny virtual private server, running VMWare ESXi at my providers location. 08:05:42 Hello 08:06:01 Has anyone got successful experience of using net-im/py39-matrix-synapse port? 08:06:34 I had very strange trouble on new operating system 08:06:54 V-T60: successful experience in which way? 08:07:00 after transfer. First the federation didn't work at all, as i understand. It was giving errors about SSL 08:07:13 than i reached such a state that the messages via federation were successfully transmitted 08:07:21 but nothing received back 08:07:30 i just updated some dependencies with pip 08:08:32 Probably that how it would work? https://matrix-org.github.io/synapse/latest/setup/installation.html#installing-as-a-python-module-from-pypi 08:08:33 Title: Installation - Synapse 08:08:38 you probably should uninstall the port and install the lib through pip then 08:08:43 Installing as a Python module from PyPI 08:08:47 yes 08:09:28 i did mkdir -p ~/synapse, virtualenv -p python3 ~/synapse/env, source ~/synapse/env/bin/activate, pip install --upgrade pip, pip install --upgrade setuptools 08:09:38 and now pip install matrix-synapse is getting completed 08:09:55 how will i use service synapse start/stop/enable though? 08:10:28 the daemon will be unoperable (it will even get removed with the port) 08:11:24 awooo 08:13:13 howling to the moon, Amy? :P 09:05:48 I can't remove my jail 09:06:04 root@p5kpl-am:/usr/local/jails/containers/classic/dev # ls 09:06:04 fd pts 09:06:13 these two are anyway present 09:06:24 # rm -rf fd/ 09:06:24 rm: fd/: Operation not supported 09:07:55 chflags -R noschg fd/ 09:07:58 then remove it 09:08:44 # chflags -R noschg dev/ 09:08:44 root@p5kpl-am:/usr/local/jails/containers/classic # rm -r dev/ 09:08:44 rm: dev/fd: Operation not supported 09:08:44 rm: dev/pts: Operation not supported 09:08:45 rm: dev/: Device busy 09:09:03 isn't that the same from documentation? # chflags -R 0 /usr/local/jails/classic 09:09:08 which didn't work 09:10:34 Okay, well I didn't know in the advance because you didn't explain what you already did. It sounds like you need to umount those directories. 09:11:15 Please be more specific about your problems too, we can't read your mind. 09:16:20 oh 09:16:20 devfs on /usr/local/jails/containers/classic/dev (devfs) 09:16:25 when did i mount it? 09:16:28 don't remember at all 09:55:11 I am trying to get my ThinkPad X280 to work with HDMI. It works if I boot with the cable in. But not if I plug it in after boot. Is there any "magic trick"? 10:18:15 i've just spinned up my brand new thick jail environment 10:18:22 then looked inside of the /var/log 10:18:22 ld-elf.so.1: Shared object "libssl.so.30" not found, required by "sendmail" 10:18:37 what does this error mean? do i have to worry about it? 10:20:17 V-T60: do you have /usr/lib/libssl.so.30? this should be in base, so it seems like something is wrong with the install (assuming this is base sendmail, not ports) 10:21:17 i do have on host 10:21:18 # ls -al /usr/lib/libssl.so.30 10:21:19 -r--r--r-- 1 root wheel 692208 Nov 10 10:23 /usr/lib/libssl.so.30 10:21:32 in the jail though? 10:21:40 # cat /usr/lib/libssl.so 10:21:40 /usr/lib/libssl.so /usr/lib/libssl.so.111 10:21:51 only /usr/lib/libssl.so and /usr/lib/libssl.so.111 10:21:58 no /usr/lib/libssl.so.30 though 10:22:03 did you install a different OS version in the jail than the host? 10:22:31 seems that no 10:22:32 # uname -a 10:22:32 FreeBSD matrix-synapse 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 root⊙rnfo:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 10:22:48 root@p5kpl-am:/var/log # uname -a 10:22:49 FreeBSD p5kpl-am 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 root⊙rnfo:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 10:22:56 looks more like totally same version 10:22:59 what does 'file /bin/ls' say in the jail? 10:23:20 /bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, stripped 10:23:44 host: # file /bin/ls 10:23:45 /bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.0 (1400097), FreeBSD-style, stripped 10:23:49 did you install jail with bsdinstall, after upgrading host from 13 to 14? in this cases you also need to update files in ... uh, i think it's /usr/freebsd-dist, which is what bsdinstall uses 10:23:50 so the output is different 10:24:12 i did clean install of FreeBSD 14 yesterday in the evening 10:24:22 there was no 13.2 10:24:51 though, i followed this guide https://docs.freebsd.org/en/books/handbook/jails/#classic-jail 10:24:52 Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal 10:24:54 odd, but it seems like you ended up with 13 in the jail somehow anyway 10:25:13 ah... did you edit the url in that fetch command to be 14.0 instead of 13.2? 10:25:17 they recommend this way fetch https://download.freebsd.org/ftp/releases/amd64/amd64/13.2-RELEASE/base.txz -o /usr/local/jails/media/13.2-RELEASE-base.txz 10:25:22 yesterday i did, but today i didn't 10:25:27 (fwiw, i don't understand why this breaks your sendmail, but i assume it's not wha you want) 10:25:29 and it anyway updated later 10:25:45 in the next command it got patched 10:25:59 so you updated the jail to 14 after installing it? 10:26:03 With the files copied, the next thing to do is update to the latest patch level by executing the following command: 10:26:06 10:26:09 # freebsd-update -b /usr/local/jails/containers/classic/ fetch install 10:26:14 ^ this command somehow took 13.2 and did 14 from it 10:26:34 (instead of classic i just wrote my matrix-synapse, and that's all) 10:26:34 that's odd, fetch + install shouldn't do a release upgrade, just upgrade to latest 13.2-pX 10:27:07 strange, should i substitute to 14 in url? 10:27:13 so something went wrong 10:27:15 i should start over 10:28:04 V-T60: just out of interest can you check 'file /usr/sbin/sendmail' (or it might be /usr/libexec/sendmail/sendmail) to see if that's the 13.x or 14.x version? 10:31:28 # file /usr/libexec/sendmail/sendmail 10:31:29 /usr/libexec/sendmail/sendmail: setgid ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.0 (1400097), FreeBSD-style, stripped 10:31:33 14.0 i guess 10:31:37 both in host and thick jail 10:32:13 that's odd, it seems like jail ended up half-upgraded somehow. i would suggest deleting it and start with 14.0 when creating the jail, but i don't know how it ended up like that 10:32:59 immutable files 10:33:32 (premium footgun) 10:33:38 babz: but wouldn't it still have installed the new /usr/libssl.so.30 then? that didn't exist in 13 so it couldn't be immutable 10:33:51 /usr/lib/libssl i mean 10:35:37 hm... isn't there some weird edge case / bug where freebsd-update can install updates from the host into the jail? maybe sendmail was updated on the host... i can't remember where i saw that now 10:40:43 ah i was thinking of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235318 but that's something else, probably not related 10:40:46 Title: 235318 – when updating jails using -b, freebsd-update is reusing host's /var/db/freebsd-update without indication of doing so, unless explicit -d as well 11:59:56 I fixed the issue with mentioned earlier wya 11:59:58 way 15:13:08 jbo: i can't assign sublime-music PR back to you anymore (since it was assigned away from me by triage) but based on vvd@'s comment i hope this is ready for merging now 15:16:10 postgres:\ :lang=en_US.UTF-8:\ :setenv=LC_COLLATE=C:\ :tc=default: 15:16:28 i will be creating such: createdb --encoding=UTF8 --locale=C --template=template0 --owner=synapse_user synapse 15:16:48 what do i have to substitute in my system for such command? 15:17:10 i know that it required me to set up the lang to C 15:17:18 V-T60: i think what you have is correct for UTF-8 encoding / C collation. run initdb and try to start postgres, if the locale is wrong, it will produce an error 15:17:19 remember it from before 15:17:27 okay 15:17:40 --locale is equal to collation? 15:18:17 --locale sets all the various --lc-* options including --lc-collate 15:19:06 i think --lc-collate is the only one that has to match at both initdb and runtime though because it affects how indexes are created 15:28:37 can sysvmsg=new sysvsem=new sysvshm=new harm anything to me in /etc/jail.conf? 15:29:52 running bootstrap script ... 2024-01-30 17:29:47.402 EET [46210] FATAL: could not create shared memory segment: Function not implemented 15:29:56 that's what i have now 15:30:04 won't that break another features? 15:30:13 V-T60: that should be fine, i think it's only not the default because it's a fairly new feature 15:30:28 used to be you had to let the jail access the global shm which is obviously much worse 15:55:11 debdrup: finally got my pc migrated, running my first buildworld on it, can't get cpu temp > 86˚C so far 15:55:48 dch: you're doing well, i can't get my CPU to go above ~62C in buildworld or poudriere. but i think this is because the AMD X3D CPUs just run cooler 15:56:42 lw do you have that fancy AIO cooler stuff? I am using humble fans for the moment 15:57:45 it's not in a case yet, just sitting on my desk. 15:58:20 dch: no, just a (large) fan 15:59:12 I'd move to an AIO thing if it turns out that the pc is noisy overnight, but atm it seems pretty quiet 15:59:38 maybe i build my own case out of wood, all I really need is power buttons and a few more USB slots on the front 16:14:44 lw, sorry mate, I had some terrible weeks. won't be able to jump on this before weekend 16:25:36 jbo: no rush at all, just wanted to mention it 16:33:16 lw, lol, I just saw that mark was not happy about me assigning the PR to you - I didn't know that :s 16:33:48 jbo: i found it a bit odd but i guess it sort of makes sense if it's policy? ... but like, i could have done something about it: i could have assigned it back to you :-P 16:34:15 i guess maybe the idea is that you personally don't "own" the bug and perhaps someone else could have picked it up in the mean time? although that would be odd/annoying 16:35:10 (i mean, annoying for you mostly since you put all that effort into this then someone comes and take the bug out from under you) 16:35:42 they are welcome to do that - plenty of work for everybody :) 16:36:43 lw, if you want to help me out: I wanted to do this myself (because it's a minor change and easy to be handled by the committer) but you could address the requested change here: https://reviews.freebsd.org/D43477 16:36:44 Title: ⚙ D43477 multimedia/mediaelch: New port 16:37:06 ah, i didn't know about that syntax, i can fix that 16:37:17 please be sure not to change _anything_ else in the patch if possible 16:37:39 jbo: do you want me to put my branch on github or something (or even make a phab review for it) rather than submitting patches in bugzilla? i don't mind either way, just wondering if this might be easier 16:37:59 lw, nono, bugs reports via bugzilla are the way to go. 16:38:04 ok 16:38:20 lw, typically I would have changed this on-the-fly without you knowing. I just was totally buried the last two weeks 16:38:38 if you can wait a few more days you can also leave it as is - makes not much more work for me 16:38:43 just in case you're bored :p 16:39:02 i have nothing particular to do right now so it's np 16:40:19 at least i have a proper git worktree setup now + a custom testport workflow which makes all this much easier 16:40:34 no more messing with poudriere, just 'sudo testport' and it does testport, bulk, and sets up a pkg repository for the branch 16:40:43 jup, your PRs will certainly get through faster if you properly testported it and everything 16:41:11 note that committers don't do runtime tests. that is on the maintainer's plate. we only do build tests. 16:41:35 yeah, i use mediaelch all the time so i'll definitely notice if it's broken 16:45:01 jbo: i was testporting it before, it just took so long to commit, update poudriere branch, testport, install, test... now one command does it all 17:21:59 \ 17:22:18 / 17:42:40 does FreeBSD have a Video4Linux compatible API for using video en/decoding hardware on GPUs? 17:42:56 or can DRI do this directly 17:45:55 hm, multimedia/ffmpeg has a V4L option, so there seems to be video4linux stuff on freebsd, but no idea what it does 18:34:08 See v4l2 in ports this is how the webcam driver works for example 18:34:24 can’t help much more than that sorry 19:43:26 Anyone knows if I can make if_bridge support more than 1Gbps with a bhyve VM? the connection I'm interested in is between the Host and the Guest. 19:47:09 antranigv, dont know but why not try? 19:47:36 orbifx I tried, the most I can squeez is 1.8Gbps, I'd like to get much, much more. 20:07:12 antranigv: that seems… bad 20:08:10 what's your config look like? how are you measuring this? 20:08:30 have you tried alternatives like vswitch? 20:10:32 antranigv: Have seen this: https://forums.freebsd.org/threads/bhyve-vms-network-speed-test-openbsd-3x-slower-than-freebsd.92085/ 20:10:33 Title: bhyve - Bhyve VMs network speed test: OpenBSD 3x slower than FreeBSD? | The FreeBSD Forums 20:11:09 Yours similar results? 20:15:11 meena wait, openvswitch works on FreeBSD? 20:16:40 hrmm… https://www.freshports.org/net/openvswitch/ Last update has been a while 20:16:41 Title: FreshPorts -- net/openvswitch: Production quality, multilayer virtual switch 20:17:47 that's not even the latest 2.x release 20:17:58 tercaL very much so. but I haven't booted a FreeBSD guest yet. 20:18:10 meena I can try compiling manually, that's fine. 21:25:21 meena do you have a setup guide for OpenVSwitch? 21:46:31 antranigv: nope, I've only ever used it indirectly, so, no 21:46:51 welp, it begins: unxz -c Downloads/FreeBSD-14.0-STABLE-amd64-20240125-3f2c2dda2631-266523-memstick.img.xz | dd of=/dev/sdc bs=1M 21:47:21 still not sure if I will end up going with FreeBSD on this ThinkPad long-term, but I've gotta at least see how things are working in order to make an informed decision 21:49:33 That is always the best way, to try it out and see what happens 21:49:47 which thinkpad are you setting it up on? 21:50:03 it's a first-gen E14 21:50:19 one with an i3-10110U 21:50:39 mainly concerned about the wireless chip, which uses the apparently very much beta-quality rtw88 driver 21:50:56 wifi has always been pain for me on fbsd 21:51:12 tm512 as a last resort, you can use a WiFI dongle OR a Linux VM with bridging or something 21:51:30 but yes, the only way for me to use FreeBSD is with Ethernet. 21:51:31 I'm also a little bit concerned about sleep states, which on FreeBSD has driven me to OpenBSD in the past 21:52:25 this was like FreeBSD 9.x though 21:53:29 antranigv: I'm aware of wifibox, which I might end up going for. bit annoying, but it sounds like it works fine 21:53:59 tm512 I've been pretty lucky with Sleep states! all my FreeBSD support never had any issue. 21:54:18 FreeBSD laptops* 21:54:27 I suspect I won't have to rely on wifibox permanently, since this wifi chip does have a driver in the kernel already, just sounds like it needs more time in the oven 22:01:59 for some reason this laptop kinda smells like mushrooms. really curious how it was stored 22:02:12 hoping it airs out sooner rather than later 22:05:08 nice, rtw88 loads, it also appears like the bluetooth radio on this realtek chip attaches as ubt0 22:06:17 bluetooth radio connects separately from the wifi (USB vs PCIe) so even if I have to resort to passing through the wifi to a Linux VM, seems like FreeBSD will still have unrestricted access to bluetooth 22:53:29 make: "/usr/ports/Mk/bsd.port.mk" line 1204: UNAME_r (14.0-RELEASE-p3) and OSVERSION (1302001) do not agree on major version number. 22:56:15 I might be solving this issue so ignore the question for now 23:12:07 ok problem is persisting 23:30:17 does anyone here get some segfaults with these? https://paste.mozilla.org/preuMHCB https://paste.mozilla.org/MJB1rc32 23:30:18 Title: Mozilla Community Pastebin/preuMHCB (C) 23:37:09 Users can set CRYPTOGRAPHY_OPENSSL_NO_LEGACY environment variable 23:37:25 how do I set the environment variable on cryptography open ssl? 23:42:18 looking through dmesg from the live USB, and noticed a couple things that I'm a bit concerned about. only the touchpad (not the trackpoint) seems to be detected, and for the touchpad it uses the psm driver which it says is giant locked and might be removed in FreeBSD 15 23:43:01 doesn't the giant lock basically remove all concurrency in the kernel while it's active? 23:45:15 the keyboard seems to be giant locked as well