01:59:22 we have two Lenovo X1 Yoga ThinkPad 20s (FR,UB). The FR used to mount windows (hate it but need some software occasionally) in FreeBSD fine, but lately is having trouble loading fusefs... wondering if I need it in loader.conf or only rc.conf and which is the correct way? I read a post about it but seems they maybe got the instructions switched around? 01:59:53 works fine manually, just wondering how to automate (so it doesn't start asking for input and without network) 02:07:16 if you can do stuff via rc.conf and loader.conf, then prefer rc.conf and only use loader.conf if you really need it to boot the machine 02:19:57 maybe names of some things to load have changed? If I've used *BSD since 1997 and on these laptops since maybe FreeBSD 11, and upgraded, how can I check everything in these two .confs is up-to-date or needs changing? 02:20:06 i read fuse was renamed to fusefs 02:22:54 On those occasions I needed fusefs, I loaded it from a shell as root, so rc.conf should be fine. 02:24:48 is it fuse_enable="YES" or fusefs_enable="YES" in rc.conf? Neither worked for me, though it works manually... 02:26:11 or maybe that's the format for loader.conf? I don't want it in there rather than rc.conf because this isn't essential and should boot even if fails 02:38:21 See "kld_list" in the rc.conf manual page. 02:41:24 <_xor> Minor heads up, but the links that contain underscores on this (and I assume others?) page are broken... 02:41:30 <_xor> https://man.freebsd.org/cgi/man.cgi?query=mac&sektion=4 02:41:31 Title: mac(4) 02:42:42 okay, that worked, but what about checking the rest of my loader.conf & rc.conf for changed syntax? 02:42:50 *_enable goes in rc.conf for activating services started by rc(8). *_load="YES" goes in loader.conf to load modules vert early. 02:43:04 s/vert/very/ 02:43:45 Changed syntax between...? 02:44:13 <_xor> I have a script snippet that I saved which lists which ones belong where. 02:46:27 <_xor> comm -23 <(sysctl -T -a -N | sort) <(sysctl -W -a -N | sort) 02:46:54 <_xor> Oh wait, those are for tunables, not modules. 02:47:06 already stated--old versions--like fuse was renamed fusefs... I want to check every line to see what else might've changed 02:47:35 i think i have some mistakes in those 02:49:16 Ah, no idea then. 02:51:22 <_xor> I don't know of any facility that will inspect loader.conf and dump that info. I learned the hard way that's one reason release notes should be read between updates. I just backed up my existing loader.conf + rc.conf, moved basically everything into rc.conf, and then rebooted to see what loaded and what didn't. Whatever didn't load, I checked the 02:51:22 <_xor> man pages to make sure it's still called that and then moved it into loader.conf. Reboot, rinse, repeat. 02:52:02 alright 03:19:48 instead of altering /etc/profile is it best to add in /etc/profile.d stuff like aliases.sh, environment.sh, functions.sh ? 03:20:03 if you want them system-wide (like for personal desktop not server)? 04:38:34 darwin, It's strange to put personal configuration into /etc anywhere, that would go into $HOME. But it is typical for universities with campus workstations to put global configuration there. 04:45:01 i'm just a person, not at a university--I said personal desktop! 04:49:04 And it would be quite unusual to be storing personal settings in /etc. However if it is your machine then it is your machine and you can do anything you wish. 04:49:33 But you were asking an "is it best" question. I respond with a no, it is not best to put personal configuration in /etc. Best to keep that in $HOME. 04:54:58 "Fun" would be when system-wide directories get new files to be in conflict with personal files 05:01:39 so what's the answer? 05:02:34 i was talking about /etc--which I already use for this--the whole time... thought that was clear. With UNIX/*BSD people are always assuming it's a server or public workstation but most people I know use it for their personal PC 05:04:43 I tried to say things very clearly. Sorry if I failed at that task. When you talk about /etc we are going to think it is about global configuration. Keep personal configuration in $HOME. But it is your machine and you are allowed to break the rules if you want. But then if you break it you are the one to debug it. 05:05:33 okay, what's /etc/profile.d for? 05:06:23 The /etc/profile.d/* is a place that global configuration files may be placed whole without needing to edit the /etc/profile file. 05:06:46 Installing a file and removing a file is easy to automate with a script. Editing a file is less easy and more troublesome. 05:07:13 I don't have any global configuration on my desktop and my /etc/profile.d directory is empty. 05:07:15 i don't think editing is hard; I've been doing that since 1993 05:08:19 Have you ever seen people write a script where they ,,sed -i '' s/abc/xyz/g somefile'' and then they realize they didn't want to replace all of abcdef but only abc and screw things up? It happens. 05:09:26 Sometimes people will install things like bash_completion globally in a /etc/profile.d/bash_completion file. That's not totally uncommon. 05:11:24 But generally if it is your personal configuration like an alias for some command, or setting email address, or setting less options, then those would go into $HOME in your .profile and/or .bashrc and/or your $ENV file, and/or your .cshrc, all depending upon your shell. 05:12:03 That's also a good thing because then it is easier to transfer yourself over to another system. Just copy $HOME over and then you are set and customized on the other system. 05:12:31 Editing files in $HOME is also something you can do as yourself and no need to su or sudo to root is needed. 06:07:55 i've edited /etc/profile since around 1997 or soon after and for my PC (no one else uses) am only asking if it's better to leave that unaltered from default and move my changes to /etc/profile.d or somewhere else global like if there's a /usr/local/etc 06:10:24 i keep files I copy to servers separately 06:10:48 because I don't use all the same aliases, environment, functions on those 06:19:04 I've been adding my global env vars to /etc/login.conf as a shell agnostic approach but maybe I'm weird. Although that doesn't apply to aliases and other things. 10:04:20 anyone have experience with zfs-periodic? i installed the package pkg install zfs-periodic and when i try to find the location through which zfs-periodic or with find / -name "zfs-peri*" -type f it returns NO results 10:39:53 voy4g3r2: pkg query '%Fp' zfs-periodic 10:40:58 uhh duh i was expectiung zfs-periodic and not zfs-snapshot 10:41:01 thank you stl 10:42:04 now we wait to see what snapshots it makes to then figure out how to use zfs-zend and zfs-recv to move off machine :) 10:43:52 stl: `pkg info` has -l or --list-files btw 10:44:14 Remilia: thanks. old habit 10:45:37 well, the periodic part in the name is about the periodic system, as the message on install tells you too, that executable seems more like an implementation detail 10:46:25 it also explains why man zfs-periodic does not work but man zfs-snapshot does 10:47:08 nimaje: makes sense to me, just habit.. in my limited experience, doing pkg install usually results in a file in bin dirs fo 12:36:50 hrm.. can someone help me understand what a root zfs is? is that root in filesystem or root of the whole zpool? i ask as i am trying to snapshot storage, which has multiple datasets underneath it.. i take it best practice is to explicitly name EACH and EVER dataset under the "root" /storage such as /storage/music /storage/movies /storage/timemachine /storage/fda_aers 12:41:18 when i try to run zfs-snapshot, each hour it is NOT doing it and i think this is the reason but not sure what i am missing.. figured, as long as not mounted as / that is fine.. but clearly not 12:44:30 does periodic run hourly, as the install message indicates? periodic is run via cron and then checks what it should run, if I understand the install message correct, hourly runs aren't in the default crontab 12:44:48 nimaje: yeah i have a cron job added, as per the instructions 12:44:54 for 2 past the hour 12:45:04 i see that the cronjobs are running but defaults to no output, that i can find 12:48:29 voy4g3r2: snapshots are not recursive by default 12:48:59 you *can* take recursive snapshots using the -r flag 12:51:34 the script does not use -r 12:51:47 okay, may have to make this a little more robust as i do not even see an /etc/periodic/hourly folder 12:51:55 so you need to explicitly list every dataset you want snapshots of 12:52:12 voy4g3r2: ports install to /usr/local/etc 12:52:25 are you sure you are looking in the right location? 12:52:55 well now i am, thank you 12:53:07 The zfs-periodic hourlies call for adding to /etc/periodic.conf or one of the add-ons to that. 12:54:21 If you change hourly_show_success to YES you'll get reports of success logged or emailed. 12:54:39 (it force-replaces paths in the Makefile: post-patch: \ .for _file in ${PERIODIC_FILES} \ @${REINPLACE_CMD} -e "s|/etc/periodic/zfs-snapshot|${PREFIX}/bin/zfs-snapshot|" \ \ ${WRKSRC}/${_file} .endfor) 12:55:02 I think I found gnome solution for servers, more heavy but still 12:55:14 personally I think hourly emails are a bit much 12:55:45 yeah but it is a good idea for at least testing.. to make sure it is operational.. i will have to go logs and i do not have mail services setup on this beaste 12:55:49 weechat-4.1.2 - Lightweight and user friendly ncurses based IRC client !LIGHTWEIGHT! 12:55:59 "The process will require 117 MiB more space." 12:56:03 They probably are! But if you're just checking for success a few times, it doesn't need to be permanent. 12:56:25 morena: I tried weechat and went back to irssi ha ha 12:56:47 Remilia ye I use it too, wanted just tried it again after years 12:57:09 but that piece require to install ruby, perl , python, lua and probably every programming language it found on the internet 12:57:16 (but I stopped using irssi years ago after setting up znc) 12:57:21 excellent packaging ;/ 12:57:30 you could build your own without 12:57:33 Remilia znc with? 12:57:43 with something you would not use 12:57:55 ye, not yet familiar much with it, as it tried to build all these dependencies anyway 12:57:58 my desktop PC runs Windows because I have to do work 12:58:05 oh that's sad story 12:58:36 I should probably first install all tools needed for buiilding, then build it without these option 12:58:45 also I do not have anything against Windows :D 12:58:49 otherwise it will build all cmake and other tools 12:58:57 nobody has ;/ 12:58:58 these are the defaults: https://i.koumakan.jp/2024-01-03/1704286714.png 12:59:27 aren't you happy JS and PHP are off 12:59:29 ye, but even when unchecking it has many build dependencies, so it will start to building everything 12:59:50 not a problem for me, cmake etc. are required by a ton of other stuff so my poudriere builds those 12:59:52 I canceled it when it started to build cmake or similar packages 13:00:16 I assume I can first regulary install it with pkg so it will not be builded? 13:00:21 and then deleted? 13:00:46 as long as the port does not require a newer version 13:00:48 will try to install all 'requires' in desc 13:01:02 morena: there is a better way 13:01:06 bc. building whole day some nonsense to just build other thing ... 13:01:08 ye? 13:01:14 make build-depends-list 13:01:30 it will show everything needed, so I can install it? 13:01:33 yes 13:01:40 very good dear Remilia 13:01:49 everything needed for your current configuration 13:02:06 to be honest I was still positively surprised about that building thing 13:02:10 check ports(7) for more 13:02:13 with that pop up dialog option 13:02:26 you mean the config target? 13:02:34 ye that make config 13:02:49 so I did not need to play with makefile 13:02:59 and do typos, mistakes and ques 13:03:31 you are not expected to modify anything inside the ports tree 13:03:39 good 13:03:52 ye I am getting it 13:04:01 unless you are updating/patching a port, but for that you really would prefer something like poudriere 13:04:03 for convenience 13:04:11 poudriere testport is super nice 13:04:17 -still need some more time to get more familiar with freebsd tools and way 13:04:44 I was using OpenBSD for like a decade but was never able to build anything it never works for me, here it was pretty easy to follow doc 13:05:01 as often it's like just turn on/off some options 13:05:04 doesn't openbsd also have ports 13:05:10 ye 13:05:27 but if I wanted to change something it was pain and never worked for me somehow 13:05:37 always throwed errors and whatanot 13:06:13 usually it started with some permission and so ;/ 13:06:22 so I ditched it very early 13:06:46 that's why I was positively surprised how similar steps worked well here 13:06:54 at first try 13:07:49 and if I don't want to download and install half of the internet in freebsd, building will be necessary 13:07:58 as everything install everything it can ;/ 13:08:00 dunno I have been using ports since probably 2000 or something 13:08:05 never really had issues 13:08:12 (on freebsd) 13:08:38 even a bit of confused with , porstnap, git, poudiere 13:08:47 one have no idea what is 'the way' 13:08:52 as everything install everything it can ;/ <- the repositories use defaults that are suitable for most users 13:09:11 117 MB terminal irc client is suitable for most users? 13:09:27 I do not think 117 MB is weechat alone 13:09:33 no it's not 13:09:41 but all these languages and nonsense it install 13:09:46 most users will have Python and Perl 13:09:53 most GUI users will have Tcl and often Lua 13:09:53 for reason, one may need some pointless script or so 13:10:10 and weechat users also ruby ;/ 13:10:20 portsnap is used to update the ports tree via snapshot servers 13:10:22 git is git 13:10:27 poudriere is unrelated to these 13:10:46 poudriere is a package build system that allows you to build your own repository for pkg 13:11:27 now what I did that I locked builded/customized packag 13:11:39 I assume it is the way if port is mixed with regular packages 13:11:52 so it does not get overwritten 13:12:01 with upgrade and different option 13:12:49 morena: portsnap is obsolete, so you can forget about that. (the recommended way to fetch ports is via git now.) 13:13:07 ye, I hate git 13:13:13 no idea why everyone encourage to use it 13:13:20 but understand that on other hand 13:13:31 ye, just read that it is obsolete, did not get it at first try 13:13:42 also you know you can use portmaster? 13:13:47 no 13:13:54 it has flags like --packages-build 13:13:56 that's also other tool? 13:14:02 obsolete or not yet? 13:14:06 'use packages for all build dependencies' 13:14:11 oh 13:14:13 I don't know? 13:14:23 that sounds like solution for me 13:14:26 https://www.freshports.org/ports-mgmt/portmaster 13:14:27 Title: FreshPorts -- ports-mgmt/portmaster: Manage your ports without external databases or languages 13:14:32 Last Update: 2023-11-30 10:16:07 13:14:41 there's also synth, which is like poudriere but it can automatically use packages instead of building them where possible 13:14:48 unlike poudriere which wants to build everything itself 13:15:03 unixwitch: you can tell poudriere to use packages for certain ports 13:15:12 synth is more designed for desktop users, poudriere is (at least originally) for running bulk builds and tests, although it works for desktop too 13:15:16 oh interesting 13:15:21 but it will forgo that if there is a new version not in repositories 13:15:43 so it is somewhat useless for llvm/gcc/etc. 13:15:45 what I also found hard 13:15:51 to get info about non installed package 13:15:57 like no simple command for that? 13:16:01 Remilia: perhaps more useful for quarterly where those don't get updated often? 13:16:18 what kind of 'info' 13:16:41 you cannot really get information about a package outside its description without fetching the file 13:16:50 at least description 13:17:01 try `pkg search weechat` 13:17:10 ye, but does not give info 13:17:14 just short line 13:17:16 weechat-4.1.2 Lightweight and user friendly ncurses based IRC client 13:17:19 that's a description 13:17:44 anything detailed requires the package file itself 13:17:44 no 13:17:48 oh okay 13:18:05 I found some way to get something with weird pkg query and some shenaninagns 13:18:08 if you want details just go to freshports 13:18:08 but 13:18:16 that website is unreadable 13:18:23 sure 13:18:57 morena: pkg rquery '%e' weechat may be what you want? 13:19:34 ye something like that 13:19:40 can I get even more info? 13:19:47 or that is max 13:19:49 like what specifically? 13:19:54 morena: have you tried `pkg search -f weechat` btw 13:20:03 like, it is straight in the man page for pkg-search 13:20:36 Remilia I think yes, but the issue is, that for example I want to info about one package 13:20:45 and? 13:20:50 but that will shows info for many wich include search term inside 13:20:58 use the full package name 13:21:04 again in almost unreadable format 13:21:20 I guess you should switch to Windows :\ 13:21:37 ye but it will shows like py-name whatever-name and similar 13:21:47 11? ;/ 13:21:50 I used it for a month 13:22:02 are you using the right command? this seems readable to me: https://bsd.to/pmBs - it's basically the same as tools on other operating systems like 'apt-cache search' 13:22:03 Title: dpaste/pmBs (Plain Code) 13:22:16 had in one computer, wanted to sell it, to kept win 11 there, then kept the machine, so used it for a month 13:22:22 it was fun I wouls day 13:22:46 unixwitch: I think they want pretty tables with mouse navigation 13:22:49 and pictures 13:23:12 terminal text is boring 13:23:13 unixwitch yes, with 'unreadable' I mean, soem space, empty line or so that would make it easer to at least get the name of the package or so 13:23:22 not just bunch of text 13:23:48 Remilia no that I don't want, never wanted 13:24:00 you window user! don't expect the rest of the world is also like you ;/ 13:24:16 terminal plain text is the best 13:24:21 but I am perfectly fine with pkg output 13:24:51 We got someone working on pkg integration into gui: https://github.com/freebsd/pkg/pulls?q=author%3Aarrowd 13:24:53 Title: Pull requests · freebsd/pkg · GitHub 13:24:57 though I get the recent fixation on uhhh 13:25:06 huge spacing between UI elements 13:25:10 maye one issue is also, that if it shows more packages with all options, it will not even give a space between packages 13:25:14 I mean empty line 13:26:51 hello 13:27:11 so how do you run ipv4-only apps on an ipv6-only kernel? CLAT in libc? 13:27:47 Soni: ipfw supports CLAT, but when i looked at it, it seems to require allocating a /96 to a client which is not how i normally expect clien CLAT to work, so i'm not entire sure what the right way to use it is 13:27:58 (ipfw is kernel, not libc) 13:28:13 unixwitch: wouldn't that require a dual-stack kernel? 13:28:28 definitely 13:28:30 oh ye, that is another issue 13:28:33 right, if you don't have 'options INET' you can never run IPv4 application 13:28:36 ipv6 13:28:49 ntpd and ping complains bc. of that 13:29:09 what does 'ping complains because of ipv6' even mean 13:29:14 ping is not ipv6-compatible 13:29:16 Soni: do you mean you want to remove IPv4 sockets API but still run applications that use IPv4 sockets? ... i don't think libc is right place to support that. you could perhaps write an LD_PRELOAD library to do it 13:29:28 I think I fixed ping taht enabled ipv6, then put there option 'prefer ip4 or something like that 13:29:42 Remilia: ping6 and ping have been merged into one binary 13:29:43 if I disabled some ipv6 thing 13:29:48 I think ping tried ipv6 anyway 13:29:49 meena: oh 13:29:51 Remilia: ping does IPv6 now. traceroute still doesn't 13:29:53 so failed all the time 13:29:55 unixwitch: where else would you implement it? 13:30:05 to get hostname 13:30:09 Soni: me personally? nowhere, i'd just enable 'options INET' to get the existing IPv4 sockets API. 13:30:11 ip from hostname, dns 13:30:12 it should not try ipv6 if you did not enable ipv6 13:30:27 ye, it should 13:30:35 not only it try, it does only that 13:30:41 Soni: this seems like a very niche feature, so i don't think the increased size of libc from adding it it would be worth it. but i am not a freebsd developer, so my opinion doesn't really matter, i guess 13:30:44 unixwitch: well it's more that having the ipv4 stack is a potential vulnerability on ipv6-only networks 13:31:07 no idea why, if there is ping6 13:31:25 but okay that is fixed, now probably have some nonsense in ntpd which try ipv6 on a server 13:32:00 morena: once again, nothing will try ipv6 resolution first if you do not enable IPv6 on your interfaces 13:32:01 morena: someone else had this problem earlier and it turned out to be caused by unusual ipv6-related settings in rc.conf - have you set anything like that? ip6addrctl_policy for example 13:32:50 Remilia it does 13:32:57 ping 13:33:16 unixwitch ye some setting,w hen I disabled one ipv6 related option 13:33:33 so not only I have to enable it, but then also add some option to sys I think 13:33:39 morena: i would suggest just removing that. if you don't have IPv6 (= no v6 addresses assigned to interfaces) everything will just use v4 by default, including ping 13:34:15 ip6addrctl_enable="YES" when I disable, then ping does not work 13:34:22 as it fail withi ipv6 13:34:37 so when I enabled, I probably had to add also ip6addrctl_policy="ipv4_prefer" 13:34:57 ip6addrctl_enable="YES" is the default 13:35:02 that first option was enabled by default 13:35:04 ye 13:35:10 so I disabled it, then ping did not work 13:35:33 ip6addrctl_policy defaults to AUTO which is ipv4_prefer if no v6 interfaces are configured 13:35:34 or part of it, to get dns 13:36:02 i tested this last time it can up and could not reproduce it, removing routable IPv6 addresses made ping default to IPv4 and it worked fine. could you share the contents of your rc.conf and the output of 'ifconfig -a', as well as the ping command and the error output? 13:36:36 unixwitch okay, so should I try again to ip6addrctl_enable="NO" if ping will work? 13:36:53 you should remove that variable altogether 13:37:00 okay 13:37:04 morena: remove that option entirely, and ip6addrctl_policy and any other ipv6-related options, then reboot and try again 13:37:11 okay 13:37:21 may I boot again ;/ 13:37:37 there should be no 'ifconfig_..._ipv6' or 'ifconfig...="inet6 ..."' 13:39:22 yes, works now well 13:39:25 no idea what I had before 13:39:38 probably I just removed service or so and did not reboot or so 13:39:50 you're the second person to have this issue and although i think the correct fix is to not set these unnecessary options, i don't actually understand why it breaks things. i might have a poke at that 13:40:27 but that ip6addrctl_enable= was enabled I think by default 13:40:41 at least I saw it in bsdconfig I played it 13:40:51 maybe I just hit that optoin by mistake 13:41:39 ye, in bsdconfig it showing it's enabled 13:41:43 as I said ip6addrctl_enable is enabled by default and policy is set to AUTO 13:42:07 and it will use v4 only if you do not have ipv6 configured 13:42:18 okay 13:42:27 oh is this an option in bsdinstall, that explains why people keep setting it. 13:42:28 so it is not in rc.conf but it is enabled 13:42:37 it is in /etc/defaults/rc.conf 13:42:42 which you should not touch 13:43:05 /etc/rc.conf overrides defaults 13:43:12 https://cgit.freebsd.org/src/commit/?id=df53ae0fdd98 never seen "X-MFC" before 13:43:14 Title: src - FreeBSD source tree 13:43:33 Remilia thanks dear Remilia ;/ 13:43:38 that explain it 13:44:32 but when disabled, then it can make trouble 13:44:37 I assume 13:46:02 instead of assuming you could take a look at /etc/rc.d/ip6addrctl 13:48:37 true 13:50:22 but luckily I don't need more to check files 13:50:27 I will just come and ask Remilia 14:11:20 Dont remember who the kind soles from yesterday was. But big thanks for the crash course intro to building the kernel. Managed to add support for the serialport device now! So big thanks, this realy helped my OCD =D 14:44:50 is 'poudriere ports -u -Bwhatever' supports to work? it seems like it just silently does nothing, i wonder if -B is only for initial checkout 14:44:57 s/supports/supposed 14:45:55 only initial checkout 14:46:25 * unixwitch switches to -m null, seems easier 15:38:41 Are Intel Atom processors x86-64? 15:39:08 CrtxReavr: usually but not always, i think. you can check on ark.intel.com if you know the model number 15:40:32 Looking at the C3758 15:41:03 intel hasn't made what they call a Intel 64 processor since.. some time in the early 2010s 15:41:22 I'm not talking about IA64. 15:41:27 neither am i 15:41:37 Intel 64 is the brand name for x86_64 15:41:44 which was originally called EMT64 15:41:46 In FreeBSD speak, I'm talking about amd64. 15:41:55 CrtxReavr: https://ark.intel.com/content/www/us/en/ark/products/97926/intel-atom-processor-c3758-16m-cache-up-to-2-20-ghz.html says it does 64-bit. (there's another part with the same marketing name that also does 64-bit) 15:41:56 Title: Intel Atom Processor C3758 16M Cache up to 2.20 GHz Product Specifications 15:42:24 right, anything you're likely to be able to buy will be a 64bit x86 architecture and freebsd amd64 images will work 15:42:24 ah, the other part is C3758R 15:43:05 Looking at this guy: https://www.servethehome.com/the-everything-fanless-home-server-firewall-router-and-nas-appliance-qotom-qnap-teamgroup/ 15:43:06 Title: The Everything Fanless Home Server Firewall Router and NAS Appliance 15:43:49 peripheral device support might be less stellar 15:44:56 at least if the NIC is supported it's probably not going to be a realtek :-) 15:45:02 for example, what's the Ethernet PHY/MAC 15:45:28 net/realtek-re-kmod supports everything shipped by Realtek, it's just a question of getting it installed 15:45:48 copper ports are Intel i225, SFPs are Intel X553, according to that article 15:46:08 most people got scared off by the C2000-series developing a fault that caused the CPU to fuse itself 15:46:50 it was pretty widespread (not sure it was every C2000 ever sold, but a _lot_ of them were faulty) 15:47:33 Well, I'm sure "Intel" and "Fanless" was a painful engineering challenge to overcome. 15:55:15 CrtxReavr: what about something like https://www.aliexpress.com/item/1005006017166158.html ? 15:55:56 "ALI Express" does not inpspire confidence. 15:56:35 there are reputable sellers on aliexpress, although no idea about that particular one 15:56:47 router for the price of desktop ;/ 15:56:52 I'd need something with at last one SPF+ port. 15:57:24 (To upgrade my Google Fiber to 2 Gbit.) 15:58:25 can you use your own SFP with Google Fibre? i wish we could do that, but none of the FTTP providers support that over here, you have to use the copper port on the ONT 15:58:41 unixwitch, not exactly. . . 15:59:10 The 1 Gbit service fully supports "BYOR," but the 2 Gbit requires you to use their router. . . *BUT*. 16:00:09 IT's jsut a custom SFP+, so people have had success pulling the Google SFP from the router, and plugging it into their card. 16:00:40 Some have even managed to get 2.5 Gbit peformance out of it. 16:02:33 There's also an ONT upgrade involved with the 2 Gbit, of course. 16:02:58 ah that sounds even worse than here, even if we have to use copper it's at least supported to use your own router 16:03:09 They're even supposed to be offering 20 Gbit here soon, though at $200/mo, I'll prolly not be jumping on that. 16:04:14 Plus, it's so very rare that my 1 Gbit pipe gets saturated. . . what am I going to saturate a 20 Gbit pipe with? 16:05:50 you can offer connection to whole village ;/ 16:07:10 Actually, I could talk to my adjacent neighbors about sharing the 20 Gbit, so long as I control the router and the public v4 IP. 16:07:36 20Gbpa and you only get one IP address? that seems stingy 16:08:14 It's a residential connection. 16:08:29 we have a /28 on our residential connection :-d 16:08:34 Hell, most ISPs are doing the cgNAT bullshit, where you don't even get a public v4 IP. 16:08:57 unixwitch, is that in the 100.64.0.0/10 range? 16:09:12 no, our ISP doesn't use CG-NAT at all 16:09:44 (they are more business-oriented, but our service is explicitly sold as 'home' package... it's not uncommon to be able to get at least a /29 from residential ISPs here) 16:10:19 All I've ever *NEEDED* at home, is one public v4 IP. 16:10:30 'Course. . . I love me some v6. 16:11:01 Despite Google's warts, Google Fiber really is a great ISP. 16:11:22 You get the bandwidth you're promised, it's crazy reliable, they don't block shit. 16:11:46 did i see they've stopped deploying it in new locations now? i wondered why that was 16:11:48 I could run SMTP on 25/tcp if I was inclined. 16:12:16 unixwitch, they paused new deployments a few years ago, but they've resumed. 16:12:23 [15:56:46] router for the price of desktop ;/ <- yes that is pretty cheap for a router 16:12:26 They had a lessons to learn when they first got started. 16:14:13 Remilia, well, if it says "Cisco," "Juniper," Et al. on it, then yes, a router for the price of a desktop is quite cheap. 16:14:14 I could run SMTP on 25/tcp if I was inclined. <- and yet you would be unable to deliver mail to a whole lot of hosts, unless you use smart relay 16:14:33 Though. .. $400 for a home router is. . . pretty pricy, depending on your needs. 16:17:09 oh cgnat nonsense, that's reason I can't host home, sad 16:19:00 I had some mikrotik hap ac2, so at least was able to put openwrt there 16:19:37 does Google Fiber let you set your own PTR / does it delegate v6 reverse? 16:20:05 Remilia, no but it does assign you a fairly static /56 16:20:20 means you can only receive over SMTP 16:20:22 not send 16:21:29 Remilia, depends, plus. . . I'm not looking to. . . I just know that I can open and receive connections on 25/tcp, which is bloody rare for a residential connection. 16:22:31 Remilia, though. . . I can (and have) run an HE tunnel on my GF connection, which gives me full DNS delegation. 16:23:45 The only issue I ever had with an HE tunnel is with Netflix. 16:24:20 They block HE v6 space, as they consider it a means to bypass country content restrictions. 16:26:19 it does not really matter because 90% of the email traffic goes through v4 16:27:08 and most SMTP servers will not receive from a host on an assumed-residential line without a PTR record 16:35:06 hmm, deskutils/xdg-desktop-portal seems to be broken, wonder if it's missing a dependency: meson.build:106:17: ERROR: Dependency "gdk-pixbuf-2.0" not found, tried pkgconfig 16:37:43 unixwitch: https://bugs.freebsd.org/bugzilla/buglist.cgi?component=Individual%20Port%28s%29&list_id=663085&product=Ports%20%26%20Packages&query_format=advanced&resolution=---&short_desc=deskutils%2Fxdg-desktop-portal&short_desc_type=allwordssubstr zarro boogs 16:37:45 Title: Bug List 16:41:24 meena: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276100 16:41:27 Title: 276100 – deskutils/xdg-desktop-portal: add required gdkpixbuf2 to USE_GNOME 16:43:32 strangely, i'm sure i built this port last week without this patch... perhaps i changed the build options on something else that stopped it from being pulled in properly 16:49:04 it does seem to be needed though, /usr/local/libexec/xdg-desktop-portal-validate-icon links to it 16:57:40 Anyone know how to set pourdriere to use an n amount of CPU cores? I can set the max amount of jobs, but for ports to use all available cores I want to limit it to n cores. 16:59:20 weust: i'm not sure there's a way to do that. you could use -J1 and set ALLOW_MAKE_JOBS=yes (so each package uses all available ports), then set MAKE_JOBS_NUMBER= in make.conf if needed, but some ports are still broken with ALLOW_MAKE_JOBS 17:02:53 weust: did I understand you right you found some port that doesn't respect MAKE_JOBS_NUMBER and just starts more jobs instead? that sounds like a problem that should get reported 17:03:03 unixwitch: Can try that. Thing is, I have set PARALLEL_JOBS=8 (8 core CPU with HT) and I don't mind when (for example) 1 job is running is can take 8 cores. I just want the other cores to be "free" so the system is still responsive 17:03:16 nimaje: no, no. not that 17:03:42 weust: what you want is for poudriere to know that one porting is using 7 cores, so another should only use 1, or whatever, right? 17:03:47 s/one porting/one port 17:04:02 (this is the thing that i don't think is possible) 17:04:56 i use PARALLEL_JOBS=4 and MAKE_JOBS_NUMBER=4 which seems to be a reasonable compromise on an 8-core desktop, but it does mean the actual number of running processes varies a lot over the build 17:05:07 but the default for poudriere is to build one port per core and limit that build to one job, so a build shouldn't take mor than one core (?) 17:05:15 for example, I have ALLOW_MAKE_JOBS_PACKAGES=electron*. it will use all CPU cores it can that are free. So say it's the only job running, it will use 16 CPU cores. 17:05:43 yeah. i think it *should* be possible to have to do something like this by looking at ALLOW_MAKE_JOBS_PACKAGES, but currently i don't think it can do that 17:05:54 So even when there are 8 parallel jobs, it still in that case still use 16 cores 17:06:04 OK 17:06:34 set MAKE_JOBS_NUMBER 17:06:54 nimaje: the problem is if you do a build with 1 core per package and you're building electron, or firefox, or something, your build ends up taking 10 hours for that one package while everything else finishes in 1 hour 17:07:08 exactly 17:07:48 so the fix for that is to use ALLOW_MAKE_JOBS_PACKAGES, but poudriere will consider that one 'job' and run it alongisde the other 8 packages, which can result in a *lot* of running cc processes 17:07:57 but the use case was limiting the jobs of some port in ALLOW_MAKE_JOBS_PACKAGES? MAKE_JOBS_NUMBER should do that 17:08:15 i'm trying to install immich in a jail. the logger is spitting escape and color codes into the log rending it very difficult to read. is there magically a way to tell the daemon to ignore them? i'm guessing no, but asking in case there's some magic i'm unaware of also, i will be afk so i will read any replies later. many thanks 17:08:28 the issue is limiting the concurrency across all running package builds, not inside a single build, which is what MAKE_JOBS_NUMBER does 17:08:45 nimaje: no, I have limited the amount of parallel jobs already, to 8. 17:09:18 nimaje: for example, say you set ALLOW_MAKE_JOBS_PACKAGES="firefox thunderbird electron* llvm*", and you set MAKE_JOBS_NUMBER=4, then poudriere ends up building those 4 packages at the same time, you now have 4*4 = 16 jobs of concurrent when you only wanted 4-8 17:09:53 (assumimg PARALLEL_JOBS=4) 17:10:20 yeah, basically I want an option to limit poudriere to use 8 cores. more as a global option. 17:10:31 if that makes sense 17:10:53 so the fix i can see for that is, if it starts building firefox, it should know that build will use 4 cores, and not schedule any other jobs until it's finished... but i have no idea how hard that would be to implement 17:11:55 ah, yeah, poudriere can't limit that, that's why I let it build two ports and have MAKE_JOBS_NUMBER=3 which leaves my desktop somewhat useable even if two heavy ports build in parallel 17:12:50 Where is MAKE_JOBS_NUMBER= set? I don't see it in my pourdiere.conf. perhaps it's an older version? 17:13:40 iirc in a -make.conf 17:13:52 aah 17:14:00 yes, in poudriere's make conf, so /usr/local/etc/poudriere.d/make.conf usually 17:14:11 (i think there are per-jail make.confs as well, but that one applies to everything) 17:15:00 I don't have a make.conf there, only the one for the jail. currently I only build for 14.0 anyway, so that's fine 17:15:14 you can put it in the jail-specific make.conf too 17:15:32 just doesn't work in /etc/make.conf (afair) because poudriere ignores that 17:15:41 understandable 17:16:00 I've set MAKE_JOBS_NUMBER=8 and will see what happens 17:17:02 I had a jail running on this server, when I first build it, with a DNS server. I couldn't even query the DNS server when it was using 16 cores at 100% :-) 17:19:22 hadn't seen Ctrl-T show TMPF, CPU% and MEM% now. cool 17:19:44 it grew those in one of the recently updates, it's quite handy 17:19:52 indeed 17:21:52 still used all 16 cores at 100% or close too it 17:22:37 it'll be using up to PARALLEL_JOBS * MAKE_NUMBERS_NUMBER jobs, so you probably want to reduce the former if you set the latter to 8 17:22:54 ok 17:24:07 if you like living on the edge, you could try something like PARALLEL_JOBS=1; PREPARE_PARALLEL_JOBS=2; MAKE_JOBS_NUMBER=8; ALLOW_MAKE_JOBS=yes but this has never resulted in a functional build for me. i wonder if there's a way to disable make jobs for only some packages... 17:25:24 just for my sanity, PARALLEL_JOBS= means JOB = CPU core? or CPU thread? 17:26:01 it's just the number of concurrent jails to run (so, roughly, number of processes), i don't know if it's better to consider number of cores or number of threads when setting it 17:27:12 iirc, and this has been several years since I set it up, parallel_jobs is the amount of ports to build at the same time. because, again iirc, I had it set to 16 at first but then set it it 8. 17:27:28 so yeah, amount of jails 17:27:29 right, that's what i intended to say :-) 17:27:59 you mentioned jobs before which sounded like CPU core to me :=_) 17:28:02 :-) 17:28:56 maybe i should go back to using ALLOW_MAKE_JOBS=yes and submit patches for the things that don't build 17:30:17 Now it's only doing 1 port/job at a time 17:30:58 and using only 1 core during build 17:31:18 if you used the settings i mentioned above ^ then yes, but it'll use make -j for all of them. it's probably slower for small ports due to the overhead of configure, etc 17:32:48 but MAKE_JOBS_NUMBER= = make -j, right? 17:33:00 yes 17:33:22 Then it's ignoring the jails make.conf option for it 17:33:27 but if the compiler processes are very fast (which is common for C code) it may not be able to spawn them fast enough to use 8 cores at once. it's more helpful with c++/rust 17:33:36 aah ok 17:33:47 so something like Electron or Firefox 17:33:51 yeah 17:34:43 Then I will experiment with parallel_jobs=4 and make_jobs_number=4 17:35:00 just to get a feel for it 17:37:29 I have my poudriere bulk run once a week from midnight onwards, but if decide to move some jails to it from my other server it would be nice if those jails were actually still usable 17:41:35 it just did ffmpeg, which is in allow_make_jobs_packages, and with the three other jobs running CPU core usage was alright 17:51:08 hi all! Anyone know if FreeBSD exports libfetch to MacOS or Linux? 17:51:53 MacPorts has libfetch 17:52:04 hm..need to figure out how to install it :) 17:52:08 new'ish to mac 17:53:35 Have you checked https://www.macports.org/ ? Using `ports` on Mac is kind of like using `pkg`. Except different. 17:53:37 Title: The MacPorts Project -- Home 17:53:51 At least, once installed. 17:54:37 (No built-in bootstrap.) 17:57:50 Also, NetBSD packages includes libfetch and that installs on just about any OS. 18:01:33 s/`ports`/`port`/ 18:06:38 Got it installed! 18:06:44 Wondering how to proceed here... 18:07:16 `cc file.c -o file -lfetch` tells me `ld: library 'fetch' not found` 18:08:51 fikran: use '-L/opt/local/lib -lfetch', but you want to be using something like autoconf, cmake or meson to find dependencies like this automatically 18:17:03 thank you unixwitch ! 18:28:08 first time booting Windows (client) in vm-bhyve, surprisingly hassle-free other than needing a VNC client 18:29:00 now all I need is a Makefile that will build a library... 19:23:39 unixwitch, /opt/local is an odd prefix. 19:23:50 Why not /usr/opt? 19:23:57 somewhat, yes, but it's where MacPorts installs by default for whatever reason 19:24:18 Strange. 19:24:22 /opt/macports would seem like a better choice, rather than /usr, although /opt is more of a System V thing and not often found on BSD... 19:24:50 /opt is normally for commercial stuff you're paying for, whereas /usr/opt is common for stuff built/maintained by hand. 19:26:42 I commonly maintain a /usr/opt/ prefix on workstations, or application servers. 19:27:16 Keep stuff separate from ports/packages that I've built by hand, or customized in any way. 19:30:04 well, freebsd and macos hier(7) don't mention either /opt or /usr/opt. solaris filesystem(7) says /opt is for 'unbundled application packages', which would seem to cover macports, but of course macos isn't solaris, so... 19:30:12 * meena never paid anything for /opt/csw 19:30:44 unixwitch, I don't think that would forbid you from using it. 19:32:47 homebrew went heavy for /opt in response to macos increasing its data protection on /usr 19:37:03 * unixwitch wonders how to make remmina do rdp scaling properly under sway 19:47:40 HELP!!! 19:47:55 HELP ME!!11!!! 19:53:47 experemental: what's wrong? 19:53:51 experemental: You would need to ask your actual question first. 19:54:07 THEYRS COMING!!!11 19:54:24 HELP!!! 19:54:29 I never found a Mac Makefile, not sure how to build a library on MacOS. Wrong channel, I guess 19:55:12 drugs are bad, mkay? 19:55:31 LINUX 6.0 IS COMING!!!!!HELP!!!HELP E!! 19:57:45 even debian is already on linux 6.1 20:39:45 unixwitch: I suspect MacPorts picked up /opt from Solaris from the time MacOS 10.5 went for officially counting as Unix. 20:47:55 is there a way to disallow pkg from updating a port? 20:48:12 audacious-plugins: 4.3.1_1 -> 4.3.1_3 20:48:44 ports should be handled by ports and pkg by packages 20:49:30 packages are just the result of building a port 20:49:39 pkg lock I guess 21:06:13 thanks nimaje