01:16:20 can I set my git-daemon keeps lurking and if something happens to my sshd it takes over the port? 02:50:43 this libmd sovers bump is *really* way more annoying that it should be with pkgbase 02:51:17 hah 02:51:22 i dealt with that transition years ago :-D 02:51:33 kevans: what? it was only committed like a month ago 02:51:40 was there a make.conf option for it? 02:51:58 no, i did all of that work two years ago and only just now got to land it 02:52:01 =) 02:52:19 so the first problem is the poudriere bug where it claims to upgrade jails but actually doesn't, which i really should report 02:52:34 then even after you get packages rebuilt, you have to 'pkg upgrade -f' everywhere to actually install the fixed ports 02:52:52 and for bonus, 'pkg' will be broken while you do this, so you have to know about pkg-static, which i do, but many users do not 02:53:00 that latter point is true of any soversion bump in base with or iwthout pkgbase 02:53:15 i agree, it's true, but it should not be 02:53:28 it's simply not feasible to identify all of the packages and bump PORTREVISION like you would with an soversion bump in ports 02:53:37 we need a way for ports to declare dependencies on pkgbase packages/libraries 02:54:04 although, I thought bapt was saying somewhere that the hash should've changed and it would pick up that it needed to be reinstalled 02:54:12 maybe that was ideal-world and it was broken 02:54:15 especially now that 15.0 is no stable there is never any need for normal users to run stable/release builds, we need to fix pain points like this in current 02:54:24 s/no stable/so stable/ 02:55:09 kevans: while you're here, ever seen a build error like this? https://0x0.st/XlCr.txt - i am much confused 02:56:26 funky, but I think I saw a transcript much like this just the other day, actually 02:57:03 i was going to mail current@ but i accidentally deleted ${WORLDTMP} while debugging it which fixed the problem 02:58:53 the sample the other day was building a poudriere jail, sjg noted that you can run -DWITH_META_ERROR_TARGET and bmake will drop the aborted target's .meta file in ${ERROR_LOGDIR} 02:58:58 run it with 02:59:34 'make will exit 6 when it sees an abort token' 03:00:09 oh is this going to be a meta mode problem, maybe i should ask sjg directly 03:00:25 it happened on the second build after i moved the build to a new host though which makes me think i did something wrong 03:00:53 maybe, though from the sound of it he wouldn't be able ot tell you much more without understanding which target precisely failed 03:01:06 sounds like a good opportunity to improve diagnostics 03:03:04 sed -ie 's/@//' Makefile*' 03:03:45 ivy: if you could pick one resource that helped you the most to learn FreeBSD, what would it be? 03:06:53 jauntyd: "Understanding UNIX", second edition, Stan Kelly-Bootle, Sybex, 1994 03:07:05 ty 03:07:48 i would not necessarily recommend this book to modern readers though considering it is 30 years old 03:08:04 i almost bought it just now lol 03:08:34 despite its age i do think it does a good job of introducing the basic Unix userland, which hasn't really changed much in that time 03:08:45 but it won't teach you how to install FreeBSD on your laptop or how to be a sysadmin 03:08:59 * jauntyd pats the handbook 03:09:40 i mean, its $10. would you pay $10 for it in modern times knowing what you know about it? 03:10:03 if someone gave me a FreeBSD shell account somewhere and i wanted to learn how to use it, yes. if i wanted to install FreeBSD on my laptop, no 03:10:25 gotcha 03:12:13 i can't really offer any more up to date recommendations since i learn Unix in the 90s when that book was current and i don't get paid to review books about Unix :-) 03:13:11 lol i understand. I have 4 or 5 specifically on FreeBSD, but they just gloss over things 03:16:22 anyways, thanks for sharing your brain :) 03:18:06 any Unix book would be good, I would think. Unix Power Tools from O'Reilly would be a good one. 03:18:33 great! i will add it to my cart as well 03:20:12 I basically learnt by reading the man pages, and then had Unix System Administration Handbook (1st ed), and Unix Power Tools. 03:20:49 Yes I'm dating myself with all that, late 80s and early 90s. 03:21:23 jauntyd: have you used any other Unix type system? 03:22:50 Well, I used FreeBSD before the split....since then off and on. I had a Mac for a few years, but mostly just BSD 03:23:07 I find the books I have lack the details I crave 03:23:08 i remember "Unix Power Tools" being good but it's more of a second good 03:23:17 it's like, okay, i know how to use 'ls' and 'cat', now what? 03:23:25 ^ 03:23:25 s/second good/second book/ 03:23:50 what details are you craving jauntyd ? 03:23:52 the best reason to obtain a copy of "Unix Power Tools" will be the CD-ROM that came with it 03:24:00 that must have a bunch of really interesting ancient software on it 03:25:04 mns: Anything that can help me level up. I am a solid user, but I would like to know how FreeBSD works internally. 03:25:18 ivy: remember user group disks? :D 03:25:44 the first one had roughly 100 pieces of software on it, for 7 different versions of Unix (HPUX, AIX, SunOS, Ultrix, etc.) 03:28:29 jauntyd: if you're looking for internals than the book would be The Design and Implementation of the 4.4 BSD Operating System. There is a version for 4.3 BSD and for FreeBSD 03:29:26 jauntyd: that was out of my baileywick at the time, but i remember Fred Fish and PD libraries 03:33:49 I have lua54 installed. I want to have a /usr/local/bin/lua but doesn't seem like any of the lua packages provide a symlink. I know other packages provide it, like python. 03:35:58 ok build worked this time, let's reboot then we are going to have such fun with sr-iov 03:37:31 ONE HUNDREEEEEEEEEEEEEEEEEEEEEEEED AND TWENTY EIGHT VIRTUAL FUNCTIONS 03:37:45 sr-iov? 03:38:34 mns: sr-iov lets you expose "copies" of a PCI card to virtual machines. so you can connect all your VMs directly to your NIC and their traffic doesn't have to go via the host = better performance 03:39:59 virtual machines as in jails? 03:40:09 no, as in bhyve 03:40:15 ahh ok 03:40:15 (or kvm, if you speak linux) 03:40:21 hah it worked 03:40:24 pci10: at device 0.11 (no driver attached) 03:40:24 pci10: at device 0.15 (no driver attached) 03:40:25 pci10: at device 0.19 (no driver attached) 03:40:37 this never worked with my Intel card, Chelsio is fine though 03:41:18 let's see if it works in the VM though... need to configure the switch first i guess 03:47:07 Oct 23 04:46:43: fatal; pci passthrough not supported on this system (no VT-d or amdvi) 03:47:10 hmm 04:27:31 how do i do PCI passthrough on vm-bhyve, i feel like i'm missing something here 04:28:54 that would be an interesting question for me too, since im just setting up my new server and want to pass through my soundcard 04:32:06 i looked at vm-bhyve.log and it says this 04:32:07 Oct 23 04:50:10: booting 04:32:07 Oct 23 04:50:10: [bhyve options: -c 2 -m 1g -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -S -U 4d47f56a-6519-4039-9368-d63c0fabeeef -u -S] 04:32:07 Oct 23 04:50:10: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/data/vm/lily/disk0.img,sectorsize=4096 -s 5:0,passthru,10/0/11] 04:32:08 Oct 23 04:50:10: [bhyve console: -l com1,/dev/nmdm-lily.1A] 04:32:37 but this just produces a usage error if i actually try to run it 04:32:39 # bhyve -c 2 -m 1g -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -S -U 4d47f56a-6519-4039-9368-d63c0fabeeef -u -S -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/data/vm/lily/disk0.img,sectorsize=4096 -s 5:0,passthru,10/0/11 -l com1,/dev/nmdm-lily.1A 04:32:40 Usage: bhyve [-aCDeHhPSuWwxY] 04:33:07 and i really can't work out what i'm doing wrong 04:39:13 even if i disable passthru0 in the config file, the options it prints don't work 04:41:28 maybe this just doesn't work on AMD? 05:09:35 apparently AMD does support this but i need to find ivhd0 device somehow 05:11:10 * ivy tries booting with GENERIC kernel 05:25:06 okay progress: bhyve: Found 1 AMD-Vi/IOMMU device(s), use hw.vmm.amdvi.enable=1 to enable pass-through. 05:25:15 this is a loader tunable though, so another reboot... 05:34:34 holw fuck it works 05:34:35 what file does regdomain attribute locate in freebsd14 05:34:39 root@lily:~ # ifconfig cxlv0 05:34:39 cxlv0: flags=1008802 metric 0 mtu 1500 05:34:39 options=6ec07bb 05:34:39 ether 06:44:3f:e7:60:30 05:34:39 media: Ethernet 10Gbase-Twinax (10Gbase-Twinax ) 05:38:43 ok, it doesn't actually work: cxlv0: a looped back NS message is detected during DAD for fe80:3::444:3fff:fee7:6030. Another DAD probes are being sent. 05:46:49 kevans: hello frand 05:47:10 Waiting for PIDS: 29703 97832 1242 4323 05:47:11 90 second watchdOct 23 06:46:10 hemlock init[1]: /etc/rc.shutdown terminated abnormally, going to single user mode 05:47:11 Oct 23 06:46:10 hemlock syslogd: exiting on signal 15 05:47:11 vmnet8: link state changed to DOWN 05:47:11 vmnet7: link state changed to DOWN 05:47:11 Waiting (max 60 seconds) for system process `vnlru' to stop... done 05:47:11 Waiting (max 60 seconds) for system process `syncer' to stop... 05:47:12 Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 0 0 done 05:47:12 All buffers synced. 05:47:12 Uptime: 19m16s 05:47:13 panic: VERIFY(avl_is_empty(&sk->sk_dsl_keys)) failed 05:51:47 i have to say, i've never seen a panic after the 'Uptime:' report, this is now 05:51:49 new 06:07:17 bug @ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282281, hope kevin can produce a fix for this soon 06:21:42 do i get some sort of bonus for finding a cxgbe bug and a zfs bug in the same day? i wasn't even trying 06:51:28 help me kevin evans you are my only hope 08:09:40 installing chromium from pkg in freebsd, i can't use proxy of chromium, i tried "proxychains chrome" firstly , it didn't work, then i tried [chrome --proxy-server="socks://127.0.0.1:10608" 08:09:58 ], it still not work 08:10:16 k 08:11:30 Define "does not work" 08:11:52 It errors out? Does not use the proxy at all? Tries but fails? 08:13:50 Alver: yes , and chromium page proxy setting don't work yet ,not setting option, when i click it , then it forward to PC setting panel 08:17:35 exit 08:17:46 Alver: it works , i forget shutdown chromium window opened in the past 08:17:53 ast 10:14:41 I'm trying to manage (create, mount, unmount, destroy) ZFS "legacy" datasets inside a jail. I can create them, but mounting gets "Operation not permitted". Anyone have a hint? 10:22:27 I tried with devfs_ruleset=4, devfs_ruleset=0 - no difference. 10:27:03 ivy: i've always wondered what that last message means when I shutdown my system. 10:27:17 in particular the 10 zeros 10:27:38 Alver: i do not know but there is a book on the topic of ZFS. a whole textbook! 10:28:31 Alver: i have not played with it iun a long time but have taken two approaches: 1.) Mount the zfs on teh host and then nullfs the dataset 2.) You can also "jailed" the data set upon creation and then have a mount point setup 10:29:06 Alver: https://search.brave.com/search?q=mount+a+ZFS+dataset+within+a+jail&summary=%7B%22query%22%3A%22mount+zfs+dataset+within+jails%22%2C%22country%22%3A%22us%22%2C%22language%22%3A%22en%22%2C%22safesearch%22%3A%22moderate%22%2C%22results_hash%22%3A%22b7e1eb5d895911d6e006cebb7b956f3ea38d0fc53084e457e3d720a4bb4dbbf7%22%7D&source=llmFollowup&summary_og=bfa1495c3befe43c13a304 10:29:11 bah 10:49:43 >brave 11:21:20 well i mailed support⊙cc about my cxgbe issue, basically to say hi, i have your card and it doesn't work, will you help me? 11:21:23 i hope they take pity on me 11:30:11 voy4g3r2: that is already done; I can mount the datasets using zfs nicely. But, for some reason, *legacy* mounts - which is what podman uses - does not work 11:33:08 Alver: ah, my area of expertise on that is non-existent.. hopefully someone with more knowledge can help 11:36:46 It's silly because podman uses legacy mounts - no idea why, honestly - and yet those are not working inside a jail, whereas zfs mounts do work nicely. 11:57:48 I read somewhere that vfs.usermount=1 on the host might be needed to allow legacy mounts inside a jail, but no dice. 12:21:37 Alright, reverted the jail to devfs_ruleset=4, securelevel=2 and vfs.usermount=0. 12:22:31 Does anyone have a hint on how I could get "legacy" mount working on a specific ZFS (jailed) dataset inside a jail? I can already create/destroy what I need, but mounting fails when using mount instead of zfs. 12:42:51 hello 12:42:55 hey 12:43:19 i have a ssd with zfs that is not mounted, the pool is called zroot, just as my real zroot on another drive 12:43:27 i need to mount or view this ssd 12:43:59 https://dumpinen.com/fSGUKjJHnHY 12:44:18 how can i mount it? 12:48:03 or export it whatever 12:48:05 i just need the data 12:49:43 sopparus: have you tried `zpool import -d tmproot zroot/the-id-of-the-thing` ? 12:52:19 what is the id? 12:52:34 how do i find it 12:53:31 sopparus: `zpool import` should show it 13:23:02 hi, can you display all cores with top? I am reading in linux it is done with -l 13:23:48 uskerine: top -P 13:24:05 uskerine: or configure installing 'htop' and use thst instead, which imo is a better interface 13:24:14 s/configure/consider 13:25:15 thanks 13:46:27 Alver: do you have those allow mount controls set for the jail? 13:47:48 allow.mount and allow.mount.zfs for example 13:49:39 if I get my $WORK stuff finished today or tomorrow, I have a whole day of podman funsies planned... its hard juggling all the things 13:54:10 If I want to create a custom freebsd image bootable from optical or usb drive, what tooling should I look at? 13:54:55 Essentially, I just want it to be able to run a custom shellscriptafter it booted. 13:58:38 * dch waves 13:58:40 mfsbsd 13:58:50 https://github.com/mmatuska/mfsbsd/ 13:58:55 henlo, thanks :3 13:59:38 it might be overkill, but it basically boots DHCP and then can do anything you want if you stuff it with rc.local 14:00:16 phryk: https://eradman.com/posts/automated-freebsd-install.html has a reasonable walkthrough 14:00:22 AMA 14:01:43 What are the images at https://mfsbsd.vx.sk/ and are those required? 14:02:42 dch: yes, they are set. I can mount zfs using the zfs command, but 'mount' fails. 14:03:11 phryk: those are pre-generated ones from a fbsd committer, you can grab that and try it. 14:03:17 Which is even more strange because the jail is also mounting a lot of other things using 'mount' - but zfs does not work 14:03:56 phryk: mfsbsd just boots an in-memory freebsd that supports DHCP and sshd directly. You can do the same thing with memstick image ofc too. 14:04:32 its just you wont have remote access. eradman's one is nice as it runs in a tmux too. I remember doing this for a closed-source customer prior to covid... 14:05:36 Alver: IMO its very confusing to follow your stuff. It's snippets of info but never enough to reproduce your exact steps. Can you post a pithy summary of your setup so I can try it? 14:05:55 dch: mind if i query you? 14:06:01 mounting normal mount via fstab in a jail should only require the jail.conf settings above 14:06:10 phryk: ofc 14:07:45 dch: long story short, I have a zfs dataset which is created with -o jailed=on. The jail.conf settings are set and are working for everything - except when the jail creates something with mountpoint=legacy, and tries to mount it 'anywhere'. Let me see if I can cobble up something which is not an ongoing stream of discoveries :) 14:08:01 ;-) 14:09:01 so its the zfs canmount=legacy option that seems to screw things up? that should just allow using fstab, iirc 14:09:27 so long as /dev/zfs is available i would expect that to work 14:12:25 dch: I think the relevant bits are all in https://www.pastebin.cz/en/p/BTHEPJf 14:13:15 dch: I cannot use 'mount' to mount anything zfs on a chosen location. Using 'zfs mount' works fine 14:14:35 I'm not sure this is something 'by design' or I'm just doing something stupid. It's pretty deep water for someone who hadn't touched FreeBSD until 3-4 months ago. :°) 14:16:02 Alver: do you get an error or is it just not available? 14:16:35 Tenkawa: see the pastebin link - 'Operation not permitted' 14:17:50 It's available, I can mount it the 'standard' way all I want - but not the 'legacy' way using 'mount' 14:18:06 And unfortunately, podman's zfs storage backend only supports the legacy way 14:19:42 Yeah thats odd 14:23:24 Alver: oh. I just found searching it might be trying to protect part of the zfs container 14:23:50 thats why the zfs cmd allows the way around it 14:23:54 Aha - got a link? 14:24:01 Just a sec 14:24:15 just a wild theory though: https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition 14:24:25 look at #10 14:25:33 I'm not sure I'm getting it 14:26:16 That area of the drive is locked unless the sysctl is set to allow 14:27:07 Hrm 14:27:47 The error message is the same, but I'm attempting to do things with a disk which is not even related to the "OS" part of the jail 14:27:56 That's why I said it was a stretch but it was the only thing coming up.. 14:28:17 But something is thinking it's a bad idea my jail does that, that much is certain 14:28:32 Alver: I think this will happen for anything provosioned with zfs because it contains metadata 14:28:47 s/provosioned/provisioned 14:29:25 I need to hook up a few more zfs drives on my box here 14:29:52 (Once I fix my kerel bug lol) 14:32:39 Tenkawa: tested for shits & giggles with the kern.geom.debugflags but no change 14:32:54 bummer.. well it was worth a try 14:34:29 I can't wrap my head around it - I always kind of assumed that 'mount', when called for a zfs FS, would just call on zfs itself 14:35:25 Yeah its going to be something hidden, wrapped in an enigma like most things are in today's world.... lol 15:03:35 trying to find parallel package in freshports 15:06:19 uskerine: https://www.freshports.org/sysutils/parallel 15:56:18 ˜/35 23:39:12 is it normal on STABLE to get "BOOT LOADER IS TOO OLD. PLEASE UPGRADE." at boot time? I've copied over loader.efi per LOADER.EFI(8)