06:52:39 so this directory has three files: one named `a file`, a second named `another file`, and a third named just `files` that showed up after i did `ls > files` 06:52:51 i'm trying to get `grep someterm $(cat files)` to work like i want 06:53:09 i.e. search `a file` and `another file` for someterm 06:58:16 Do you want to search files for a term & list of files is another file? 06:58:56 If so, what you showed, should work 06:59:47 Or you could recursive search via "-r" option: grep -r regex 07:00:09 i get errors: `grep: a: No such file or directory\ngrep: file: No such file or directory\ngrep: another: No such file or directory\ngrep: file: No such file or directory` 07:06:50 Could you show your files & their parent directories; the directory where you create the file list; and the directory in which you run "grep"? I am thinking that you are either having path issues or are spitting out file contents instead of a file list 07:13:49 https://gist.github.com/fa2deefe25fcb6c87261b192bc80ff88 07:13:51 Title: gist:fa2deefe25fcb6c87261b192bc80ff88 · GitHub 07:14:00 that oughta contain all the vital bits 07:16:06 Ah I see, spaces in the file name which are causing the issue 07:18:23 Try this: while read file ; do grep term "$file" ; done < list 07:21:04 unfortunately, that doesn't show which file `term` was found in 07:21:41 i'm really hoping there's a way to avoid explicit iteration 07:22:21 Slap a /dev/null after the file name: ... ; grep term "$file" /dev/null ; ... 07:23:26 My preferred way is to use "find | xrags grep" or just "grep -r" instead of creating a file list (if I can help it) 07:24:40 With "find | xargs grep" : find -type f -print0 | xargs -0 grep term 07:25:02 With "grep -r" : grep -r term directory 07:27:37 whoops, i messed up the problem definition: i'm actually trying to find files without that term 07:30:26 grep may not help by itself. Love to be corrected. 07:31:51 find directory -type f | while read path ; do grep term "$path" || printf "%s\n" "$path"; done 07:34:14 yeah, `while read file; do grep -q someterm $file || echo $file; done < files` works well enough 07:34:15 Corrected: use "-L" option of "grep". 07:34:45 well sure, i would like to avoid iteration 07:35:08 ... then can avoid "|| echo" part 07:35:18 mangling IFS any which way doesn't seem to give me a workable result 07:36:36 Someone or something has to iterate, regardless of you would see it or not 07:37:15 well sure i just meant explicitly specified 07:37:29 Yeah, "grep -r ..." 07:39:18 sure, tho in my particular use case there are a bunch of unrelated files in the same dir. that's why i'm using a file fulla filenames. 07:42:09 Well, then. Could use "find" in ("find ... -print0 | xargs -0 grep") to match some file pattern or not (including complete names). Or, do the explicit "while loop" with file names from a list 07:45:04 i really just want to find a general way to interpret a file full of names with spaces in them as individual files. plenty of times in the past that coulda come in handy. 07:45:36 iterable forms i've no problem figuring out 07:45:51 find ... -print0 | xargs -0 ..." 07:46:15 Instead of a shell, use Python, Perl etc 07:47:03 yeah, also easy solutions. 07:47:12 Then you would only need to worry abut shell splitting file names on a space 07:47:14 and what i generally end up doing 07:48:40 i guess i really want to force the shell into a specific manner of interpretation 07:51:51 Zsh behaves if one helps: ls x\ * # lists all the files that start with "x" followed by a space 07:52:08 sorry, didn't mean to try and trick you into solving an unrelated problem 07:52:21 No worries 07:53:41 Zsh also includes the "escaping \" during file name completion 07:59:49 hmm 08:00:37 Yehuuup 08:07:27 hello 08:08:07 is there difference between freebsd libc from openbsd libc? 08:08:52 I would think substituting one for the other would not work 08:08:53 that is to say, can i just leave some openbsd configuration and alias to freebsd? 08:18:06 please don't breaak 08:31:59 yeah 08:40:23 is there any one line command for system info for such as testing report? 08:43:04 What are you looking for? 08:43:33 making note for my test info in case of discussion? 08:44:51 My shell script that collects various output in one directory: https://termbin.com/7v9h3 08:45:17 sh user based 08:45:46 That is 08:48:31 you don't put help logic? 08:48:49 is your brain non-volatile permanent memory? 08:49:23 comment... 08:50:17 I've to upgrade a CARP-based router/firewall. I've already upgraded the BACKUP node and I was wondering what's the fastest way to switch CARP status? is it enough to raise advskew on one interface on the MASTER node (if preempt=1) ? 08:52:36 mictty, I wrote it for own use to collect different data/files; nothing more. 08:53:23 parv: no echo based 08:53:50 mictty, What do you mean by "echo based"? 08:54:48 parv: printf+\n 08:55:21 Ok I have no idea anymore what you are looking for 08:55:52 parv: I am appreciating 08:59:10 parv: i will name parvesting/parvest 09:00:13 thank you parv 09:04:36 Aye 09:05:24 Note that you may get permission errors for some commands if run as non-root 11:36:46 mage, I don't know much about CARP so take that with a grain of salt, but one way could be to disable the CARP interface alias on the master. Or https://docs.freebsd.org/en/books/handbook/advanced-networking/#carp-10x (the command at the end of that section) to switch master and backup temporarily. 11:36:47 Title: Chapter 33. Advanced Networking | FreeBSD Documentation Portal 11:44:10 i just love Linux documentation: https://github.com/canonical/cloud-init/blob/main/cloudinit/net/__init__.py#L230 reads /sys/class/net//device/features which, per documentation, https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-class-net doesn't exist 11:44:11 Title: cloud-init/__init__.py at main · canonical/cloud-init · GitHub 11:45:37 I was gonna ask: does anyone know what the equivalent of Linux' /sys/class/net//device/features is on FreeBSD? instead i have to ask: wtf is /sys/class/net//device/features on Linux? 11:46:24 descriptive https://github.com/lattera/freebsd/blob/master/include/stdlib.h#L246 11:46:26 Title: freebsd/stdlib.h at master · lattera/freebsd · GitHub 11:47:52 this kinda comment makes me laugh when i am reading code 11:47:53 V_PauAmma_V: I raised the advskew to 254, worked 11:48:26 whos cute here 11:49:00 * meena checks mirror 11:49:10 mictty: I'm alright 11:49:42 lol 11:50:26 another one of those days where i haven't had time to look into the mirror until noon 11:51:26 * V_PauAmma_V is crabby, not cute. :-) 11:52:33 * V_PauAmma_V nods at mage. 12:41:39 what's the status of ALTQ on FreeBSD? is it production ready? 12:52:17 It's been here since 5.3. I would be surprised if it weren't. 13:04:24 It's not enabled by default and doesn't work with all hardware. Unless you have very good reason to want altq look at dummynet instead. 13:04:43 (In 14) you can use dummynet with pf too. 13:12:47 I haven't used dummynet yet, will take a look, thanks 13:13:51 although it would be fantastic if PF could one day support the OpenBSD queue equivalent (aka ALTQ successor) 13:14:31 I doubt that will happen, with dummynet already implemented 13:16:09 in fact what I'd like to do is to bandwidth limit some VPN clients (wireguard) and pf is already used 13:17:35 kp: is it possible to "use" pf with dummynet on 12 and/or 13 ? 13:20:23 No 13:21:30 Well, 14 is "just 'round the corner": https://www.freebsd.org/releases/14.0R/schedule/ 13:21:31 Title: FreeBSD 14.0 Release Process | The FreeBSD Project 13:22:31 re@ is having a bit of a busy time. 13:22:47 They're just done with 12.4, will start on 13.2 soon and when they're done with that it's 14.0 13:23:24 There's a number of shiny things coming in 14. OpenVPN DCO, pf dummynet and ethernet support in pf. 13:23:58 good to hear that! 13:24:23 and.. (finally) if_wg 13:24:40 kp: what is ethernet support in pf? Layer 2? 13:24:44 Yeah. 13:25:00 Ah, just remembered, I saw it in quarterly report. Thank you! 13:25:06 Pretty basic, but you can tag packets based on MAC address, or send them into dummynet limiters. 13:25:34 It's there because of pfsense's captive portal. That needs to look at the mac address, and used to use ipfw for that. Now pfsense is pf exclusively. 13:25:46 Mind you, OpenVPN DCO is also thanks to pfsense. 13:25:54 Netgate. Rubicon, whatever. 13:27:47 where can I find the "2021q2 pf_ethernet report" ? 13:28:05 As a (ab)user of OpenVPN, it is really nice news for me 13:28:26 https://www.freebsd.org/status/report-2022-04-2022-06/#_openvpn_dco 13:28:27 Title: FreeBSD Quarterly Status Report Second Quarter 2022 | The FreeBSD Project 13:29:06 https://www.freebsd.org/status/report-2021-04-2021-06/#_dummynet_support_for_pf 13:29:07 Title: FreeBSD Quarterly Status Report 2nd Quarter 2021 | The FreeBSD Project 13:29:10 https://www.freebsd.org/status/report-2021-04-2021-06/#_ethernet_support_for_pf 13:29:11 Title: FreeBSD Quarterly Status Report 2nd Quarter 2021 | The FreeBSD Project 13:29:33 thanks 17:15:17 I have an old HP server with 4xOpteron CPUs in it - the kernel I just upgraded to seems to only detect apic 0 - so only one core as opposed to earlier kernels. 17:15:30 info here https://pastebin.com/t40eDJbU 17:15:31 Title: CPU-Info - Pastebin.com 17:16:18 anyone know what has changed lately with apic and apic detection? 17:24:53 yayyy 17:25:01 I lovely freebsd!!! :D 19:09:50 BarnabasDK, can you pastebin /var/run/dmesg.boot for the server that's missing CPUs? 20:59:59 hi 21:00:44 hi 21:00:49 i have upgraded the pool on a FreeBSD 13.1 system and now can no longer boot from it: https://pastebin.com/4bcz1hG2 21:00:50 Title: cannot boot from zpool supporting encryption - Pastebin.com 21:01:11 how can i solve this? there is only some encrypted snapshot received from my ubuntu 22.04 on it, everything else is unencrypted... 21:06:40 deever: EFI? 21:15:57 deever, First let me say "I think" here. I think you need to read man zpool-features in order to understand what is happening. Then boot a live system and inspect the pool for the feature mismatch. 21:16:54 Since the boot system is rejecting the pool due to it having unsupported features you will need to boot a system which supports those features. 21:17:49 It seems impossible though that a "zpool upgrade" would upgrade the pool beyond what the current system supported. 21:17:55 Might that have been done on a different newer system than what you are booting? 21:33:02 So, what's a good (GUI) e-mail client on FreeBSD? I'm using Claws Mail on Linux, which is nice, except for some major quirks. 21:33:33 evolution is nice 21:33:36 or thunderbird 21:34:35 FreeBSd also has claws-mail 21:34:41 I've actually abandoned Thunderbrid in favor of Claws. 21:35:06 type pkg search claws and then pkg install package 21:35:57 A list of mail clients https://en.wikipedia.org/wiki/Comparison_of_email_clients 21:35:58 Title: Comparison of email clients - Wikipedia 21:37:04 I use mutt in a text terminal (plus firefox if needed) myself so no help here. 21:38:44 I support a friend's email with RoundCube which is a webmail platform. Been told I should look at Mailpile too. But those would be heavy admin setups. 21:39:23 Oka,y I'm probably just go with Claws then. 21:39:41 ok 21:40:57 I have heard good things about sylpheed and that is in ports. 21:41:33 thunderbird > * (if only they would remove the "chat" and add proper exchange calendar/contacts without using addons) 21:42:23 More often then not, I can't even type anything in Thunderbird because it's downloading messages… 21:42:48 Also, the address book implementation is somewhat off. 21:43:25 Oh, and it uses way too much RAM, too. 21:45:51 true. 21:45:56 msiism: yeah the RAM usage is wayyy too much 21:46:03 evolution is nicer 21:47:30 I actually have half a mind on trying out KDE Plasma and whatever mail client comes with that. 21:48:09 I think its called KMail or so 21:48:16 Oh right. 21:49:39 iirc it was not bad, but some options where kinda confusing. 21:52:01 The only thing that keeps me from the KDE tools are the dependencies... that are so many if you do not use KDE 21:52:51 Yeah. But there's a "Qt-only" version of Falkon in packages, for example. 21:52:55 I've already installed that. 21:58:21 we need a better way to configure pointopoint routes in FreeBSD: https://gist.github.com/642efb4e0f4da255382bc299ec65ce83 21:58:22 Title: rc.conf · GitHub 21:58:42 By the way, why is it that I have to configure the X cursor theme in two places to make it work throughout? 21:59:11 msiism: Ok, I never used Falkon, is it any good? 21:59:56 Yeah, Falkon is pretty neat. I mean, you can't really manage JS in a meaninful way, but I just usally switch it off. 22:03:19 Hmm, I might try it some time this weekend. 22:37:37 Okay, got Claws Mail working. 22:40:18 Does anybody know why some zathura plugins (mupdf, epub) disappeared from the ports collection? 22:42:45 pmnw: zathura-pdf-mupdf is in ports 22:46:39 otis: wait, you're right. I don't know why I thought it was missing. I swear I didn't imagine it. No problem then. 22:52:31 That redglass X cursor theme is really neat, by the way.