00:00:52 If you are going to do serious programming then use a better language. Go-lang or something. I refuse to say that Python is better since it is abominable. 00:00:58 And other people don't like Perl for its irregularities. Ruby has a gem problem. Rust is taking the world over but it is also not great either. There is no good answer! 00:02:20 When I examine other popular languages of today I think, the shell is not really so bad in comparison. At least the rules are well known. 00:04:21 hearing that rust is good but the ppl that took over the top are shitty just like politicians 00:04:28 makes me leary tbh 00:05:32 I don't find the syntax of the language endearing. And I don't really like the opinionated software way (cargo) the library is managed. 00:06:17 That there are so many dozens and dozens of languages goes to prove that none of them make people truly happy. Therefore they are always trying to create something better. And failing. 00:14:14 when i make a scripted bsdinstall out of an extracted iso, i put my custom.txz distribution in usr/freebsd-dist. but trying to do the same thing from src, when i build and installworld installkernel somewhere, there's no freebsd-dist dir. so where do i put my custom.txz? 00:31:24 polyex, (as no one had replied yet) There is "DESTDIR" "make(1)" variable (related to world building). Search for that in src/{Makefile,UPDATING} and on the web, terms related to making a custom FreeBSD release. 00:34:05 parv ya i use DESTDIR but that's where to put the whole installed world/kernel. but in their, there's usr/ but no usr/freebsd-dist 00:35:13 polyex, Sorry for I have no further insight into that. 00:35:31 ty 00:41:15 i'm sure rhodium knows 04:22:22 Can I disable IPv6 on lo0 running 13.2-STABLE ? Every suggestion I have tried appears to have worked at one point, but not anymore. 04:25:14 ox1eef_ have ipv6_network_interfaces set to none? have ip6addrctrl_enable set to no? ip6addrctl_policy set to ipv4_prefer? 04:25:49 have net.inet6.ip6.auto_linklocal=0 in sysctl.conf? 06:13:45 polyex: Yep to all except ip6addrctrl_enable and ip6addrctl_policy. I will give those a try. Thanks. 06:14:20 tell me if it helps ox1eef_ 06:19:14 I will try with ip6addrctl_enable="NO" first. I guess the second one does not apply unless it is enabled. Brb. 06:21:37 Seems to have not helped. I can disable IPv6 on other interfaces, but not the loopback interface. 06:22:49 ya i guess it's not working for me either. just saw ifconfig and lo0 has ipv6 06:23:07 The other option would be to remove support from the kernel, but then I have to reinstall world too, and that didn't go well last time. 06:23:07 pretty sure you can remove it if you compile out a kernel knob? 06:23:32 Yeah, as long as I rebuild world too, that works. But last compile failed. And kernel alone leaves 'pf' in a broken state. 06:27:00 Thanks for the help. It is a situation I can live with :) 06:31:11 yw! 06:32:49 ox1eef_ how come it leaves pf in broken state? 06:32:58 did you try a clean src tree? 06:35:06 Probably because pf was compiled with IPv6 support, and I wasn't able to rebuild world with IPv6 turned off. Only successful rebuilding the kernel. 06:42:17 ox1eef_: why do you want to disable IPv6 on lo0? (only on lo0?) 06:43:18 I have disabled IPv6 on all interfaces, but lo0 looks to be a special case where I can't disable it easily. 06:55:50 ox1eef_: what's your rc.conf / sysctl.conf look like right now? 06:57:56 yay irssi figured out kinda maybe 07:06:32 when i make a scripted bsdinstall out of an extracted iso, i put my custom.txz distribution in usr/freebsd-dist. but trying to do the same thing from src, when i build and installworld installkernel somewhere, there's no freebsd-dist dir. so where do i put my custom.txz? 07:17:51 polyex: maybe that's only created when assembling the ISO? 07:40:43 meena i wanna test but i try to tar -xf FreeBSD...iso and i get a bunch of permission and no such file/dir errors 07:41:24 oh -C 07:44:09 meena ok i tested it and no. the mkisoimage.sh script makes an iso and that doesn't have freebsd-dist in usr/ 07:44:31 freebsd-dist is in the official install ISO files but nowhere else? where do they come from then 07:57:58 polyex: check makefiles in "release" directory of FreeBSD src 07:59:18 check them for what? 07:59:21 i'm in the dir now dh 13:43:32 https://www.youtube.com/playlist?list=PLskKNopggjc7s6nAMxKF0tAO77ZIowZdx from EuroBSDcon 13:43:33 Title: EuroBSDcon 2023, Portugal - YouTube 13:44:17 \o/ 14:44:20 how come everyone in the linux community is proud of their cgroup? been using it for couple of days, it's a complete mess 14:45:12 antranigv: that's ok, linux doesn't actually enforce quotas. that has caused me so much anguish 14:45:35 "ulimits" :P 14:46:15 * psydroid2 has never consciously used cgroups 14:48:03 systemd specific crap 14:48:24 now, in aix i know we enforce ulimits, even on root. i wonder if freebsd honors ulimits correctly 14:48:28 i haven't looked 14:51:10 cgroup has nothing to do with systemd 14:52:32 Demosthenex: cgroup isn't systemd-specific. It's unrelated to systemd aside from systemd using it. 14:52:55 That's like calling libc xterm-specific because xterm links to it. 14:54:59 isn't that the only thing managing cgroups? 14:55:42 nope, i stand corrected. it's a bit more generic and administered by several tools 14:55:45 not just sytemd 15:01:34 Demosthenex: yeah, I think even OpenRC lets you manage cgroups 15:01:59 My use here is managed by LXC. 15:02:20 ...to make FreeBSD jail-like containers. 15:04:39 ... or you can simply mount the cgroupfs and set via mkdir / appends 15:18:13 yep. i'll never use it, so it isn't that important to me ;] 15:19:18 but, my other question stands, does freebsd enforce ulimits even on root? seems to me it should for jails 15:19:32 my experience is linux has memory ulimits it honors on non-root users 15:19:36 but no cpu/io limits 15:19:55 aix has all those ulimits, and creates wpars (jails) leveraging a chroot + ulimits 15:20:16 i'm fighting with a piece of backup software that didn't understand that on aix root has limits :P 15:34:44 Demosthenex: not sure off-hand, but crude testing seems to indicate that it does 15:35:12 (e.g., ulimit -c 0; sh -c 'kill -SEGV $$' wont' generate a core file) 15:35:22 core could be special 15:36:09 `ulimit -n 2` makes the session relatively useless, so that's a good indicator 15:39:56 afaik, all limits are enforced for root, it's just that root can't be prevented from raising the limits 15:41:24 pardon the very n00b question. i'd like to setup my fresh freebsd server to host vpn connections. what software do i want to look at? 15:45:39 RhodiumToad: exactly what i'd expect. ty 15:45:54 linux never enforced ulimits, which is why root can always forkbomb the whole host 15:46:21 hrm, i found some minor page explaining limits, anyone know where it's documented that root has them too? 15:49:58 why would the documentation say that? it would say if they _didn't_ apply to root 16:03:10 deepthaw: You want to see what clients your users require. 16:06:30 RhodiumToad: i just read the system calls for limits, it doesn't mention root exemptions. 16:06:46 i just recall on linux it wasn't well documented, that root was basically always exempt. it's been a while 16:07:56 setrlimit(2) does at least note that only the super-user may raise the maximum limits, which seems sufficient 16:12:01 when i make a scripted bsdinstall out of an extracted iso, i put my custom.txz distribution in usr/freebsd-dist. but trying to do the same thing from src, when i build and installworld installkernel somewhere, there's no freebsd-dist dir. so where do i put my custom.txz? 17:21:55 you create usr/freebsd-dist and put it there 17:22:10 ohhhh 17:22:46 seems like a disparity tho no? extract official iso, usr/freebsd-dist is there. build from source and make iso image, no usr/freebsd-dist in it 17:22:49 like wtf? 17:23:44 why does git clone https://cgit.freebsd.org/src say that the repository isn't found? is it not for the use of the public for cloning the repo, or is there something I'm doing wrong or is the site misconfigured? 17:23:45 Title: src - FreeBSD source tree 17:29:45 rsjw: https://git.FreeBSD.org/src.git 17:29:46 Title: src - FreeBSD source tree 17:30:42 ah thanks, I'll use that. I'm looking on the website but I can't find where that URL is listed 17:31:29 except in some posting on the mailing list 17:33:12 ah found it in the Git Primer section of the Developer's Handbook 17:34:30 rsjw: "Clone (public mirror) https://git.FreeBSD.org/src.git" right on the bottom of YOUR link 17:34:32 Title: src - FreeBSD source tree 17:35:49 polyex: installworld's job isn't to create an installer image, it's to create the actual running system 17:36:11 i know but i run mkisoimage.sh to make the image, and IT doesn't make usr/freebsd-dist 17:36:18 so where's it coming from in the official isos? 17:36:44 see release/Makefile 17:37:59 line 163 17:38:26 so the makefile adds it, but mkisoimage.sh doesn't 17:38:31 when is the makefile run? 17:39:28 iirc, that one is invoked explicitly to make release images, not from the top-level makefile, but I could be wrong 17:39:42 CueXXIII: on https://cgit.freebsd.org/ ? that's not showing up for me (on iridium on freebsd 13.2) 17:39:43 Title: FreeBSD Git repositories 17:40:22 rsjw: on https://cgit.freebsd.org/src/ (scroll down) 17:40:23 Title: src - FreeBSD source tree 17:40:57 ahh ok. I would not have thought to look there 17:41:08 tyvm RhodiumToad 17:41:37 when i git pull latest freebsd src and buildworld buildkernel, should i delete the old build artifacts first like i do to the installworld installkernel DESTDIR to get a fresh build or is that only necessary for the installworld and installkernel DESTDIR? 17:42:35 iirc, buildworld/buildkernel delete stuff themselves if meta mode is not on (and if meta mode is on you want to keep those files anyway) 17:43:24 ok so no need to delete build world/kernel build artifacts between builds, DO need to delete install world/kernel DESTDIR between builds. ty!! 19:39:04 i don't know much about EFI. i'm trying to boot a bhyve vm that has an efi partition with BOOTX64.efi and a ufs partition that has nothing but base.txz and kernel-dbg.txz installed. starting the VM results in it trying to find 'zfs:zroot/ROOT/default' and failing with zfs errors (since there is no zfs on this disk). 19:39:18 i'm wondering if somehow there is something left over from a previous use of the disk, which did use zfs 19:46:16 Well... I think you have already answered the question yourself! It is booting the previous boot on the disk which did previously use zfs. 19:48:21 yeah, it's just that there are no partitions still remaining from the previous setup 19:48:29 created EFI and freebsd-ufs from scratch 19:48:45 efi typically uses its own partition to store stuff 19:49:15 it's some manner of FAT file system so you could mount it and look around 19:49:18 yeah, there is an efi partition and a freebsd-ufs partition 19:49:23 created it from scratch 19:49:35 going to try to recreate the whole disk image now 19:56:24 ah of course i did not run zpool labelclear on that partition after installing ufs onto it. that solved it 21:10:36 Steam seems to be a pita for me. I imagine that's kind of typical on FreeBSD. 21:12:49 RhodiumToad there a channel log with your msgs? i remember you telling me about a command related to building freebsd images that ended with "distribution", just the literal word. i don't remember the command but i wanna 21:40:33 is there a channel log public? 21:44:04 polyex: not according to https://wiki.freebsd.org/IRC and if we look here: https://wiki.freebsd.org/IRC/Channels the only channel (officially) logged is #freebsd-xorg 21:44:06 Title: IRC - FreeBSD Wiki 22:11:14 this is so weird. i build and installed world/kernel. then i run mkisoimages.sh manually and it makes an .iso 3.5GB, but if i run the same script from a script i made to do it in a temporary dir the resuilt is 5.9GB 22:12:13 how could that be possible? 22:15:41 and when these installer isos built from source start up, they don't automatically start bsdinstall like the official distro isos do. why not? 22:41:52 make -DDB_FROM_SRC DESTDIR=~/temp/build KERNCONF=GENERIC installworld installkernel distribution 22:42:03 from Friday 22:56:28 scoobybejesus ty! does it matter if KERNCONF=GENERIC comes there or just before distribution? 22:59:02 perhaps this will do, polyex: https://bsd.to/G23J 22:59:03 Title: dpaste/G23J (Plain Text) 23:04:42 On the make command line usually one places the command followed by options followed by variable assignments followed by make targets. Because that's the traditional portable ordering. But in practice the order is now loosened and allows permutations to the ordering. 23:05:21 In other words... It's declarative rather than procedural and the order does not matter. Mostly. Target order still matters. 23:19:40 ok well i wonder why i'm getting such different results then 23:19:57 ty scoobybejesus 23:54:02 ok weird. the freebsd build dir is 1.7GB but when i cp -R it to a temp dir it's 3.2GB. why? 23:58:19 soft links pointing outside the build dir? 23:59:08 ya probably. hmm 23:59:58 well what i'm trying to do is copy the freebsd build dir into a tmp dir, overlay my custom.txz distribution and /etc/installerconfig, then generate an image from it. i don't wanna modify the original freebsd build dir directly