00:05:14 wow dma is easy, echo ALIASES /root/etc/aliases > /etc/dma/dma.conf; echo '*:' user987⊙hdt > /root/etc/aliases 00:05:26 problem solved 00:05:55 Progress 00:07:10 indeed (c) teal'c 00:07:55 also maybe i need to make mail server tutorial 00:08:13 except i don't like the writings 00:09:04 ketas i don't get how your jails are filtered by pf running on host's bridge. i can use pf to block all traffic on host bridge, but jails happily send/receive unrestricted. they're vnet, but sounds like yours are too wtf 00:09:22 anyone have any ideas why? 00:09:29 i'm on 14.4 fwiw but can't imagine that matters 00:09:38 what 00:10:01 ? 00:10:04 i mean jails use normal networking interfaces 00:10:15 so can be filtered 00:10:28 ya and? 00:10:29 ketas: sysctl -d net.link.bridge | grep pfil 00:10:40 kerneldove: meant to highlight you on this 00:10:47 k sec 00:10:53 these sysctls control pf on the bridge 00:11:19 i'musing defaults 00:11:24 ketas you change yours? 00:11:35 bridging did change a bit in 15.0 00:12:16 unsure why this even comes into play 00:12:20 what does the "il" mean in pfil? 00:12:26 traffic comes in 00:12:35 in that point i can filter 00:13:07 ya well i've been p clear so not sure why you're so unsure and confused 00:13:33 kerneldove: pfil is packet filter, which isn't strictly pf. It includes ipfw. 00:13:47 ahhh 00:13:49 so why does bridge matter? 00:13:51 tyvm 00:14:03 bdrewery happen to have a rundown of how bridge changed in 15? 00:17:14 Does a bridge still reset all interfaces as you add/remove VMs? 00:29:17 Oof, seeing lpr going away is a bit of a shock. 00:31:36 what's lpr? 00:31:42 kerneldove: printing 00:31:56 how will ppl print? i never print from fbsd so dunno bout it 00:32:40 kerneldove: CUPS, lprng, etc. lpr is simply the traditional line printer daemon. 00:33:20 dang, end of an era 00:33:40 It would be shame if printing just went away. 00:35:34 I think I'll try 15.1 on a laptop, for kicks. 00:37:43 15.2 out soon no? 00:38:31 .1 just dropped 00:38:43 argh, it used to be easy to get to the releng pages 00:38:48 oh .1 00:39:40 kerneldove: https://www.freebsd.org/releng/#schedule 00:40:08 wow 14.6? 00:40:35 kerneldove: Yeah, you tend not to get stranded quickly with FreeBSD. 00:45:47 :-/ Upgrade instructions for 15.1 missing. I wanna be part of the cool kids 00:47:27 cool kids run CURRENT. 00:48:12 I split the difference and just run STABLE 00:48:44 more of a consistent rolling release and it's not quite as exciting as CURRENT 00:49:17 Same here. I run STABLE in production. And CURRENT only for a specific type of development. 00:49:49 bweeoop 00:50:22 for a server I'd probably just stick with RELEASE, but I like being a bit closer to the bleeding edge on my daily driver systems like this laptop 00:50:41 i only upgrade majors when .2 lands 00:54:12 I was kinda forced over to 15 in order to get newer DRM drivers. I wasn't rushing to leave 14-STABLE 00:55:46 ended up upgrading my laptop's wifi card to an AX200 around the time I was upgrading though and that might've pushed me to 15 if the GPU stuff hadn't. I remember seeing that 14 was still behind on iwlwifi patches, and it's already not great on 15/16 00:59:49 I suppose AX200 on iwlwifi on 15/16 is more stable than my old AC 9260 on iwm on 14 though 01:19:27 iwlwifi has been good for me on 15.1-RELEASE. been running the RCs. there is a bug on suspend and resume that is fixed in 15/stable 01:19:57 but, i have a good enough workaround for 15.1-RELEASE for now. I just wrote an rc.d service to bring wlan0 down/up on suspend/resume 01:20:38 that issue is finally fixed? it's still an issue on this STABLE build from a couple weeks ago 01:21:28 really great to see fbsd taking laptops seriously now 01:21:33 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632#c50 01:21:45 important for us to be able to run fbsd on every computer not just server 01:21:46 appears to have been fixed on may 27 01:22:17 I just spent a ton of time getting 15.1 working well on my thinkpad x1, i wrote up everything here: https://www.sacredheartsc.com/blog/freebsd-15-on-a-laptop/ 01:22:34 Im using kde + wayland + iwlwifi 01:22:34 nice! 01:22:58 Did you enable X11 compat in wayland? 01:23:00 Not exactly the smoothest experience to get working, but still, the improvements are crazy from just a few years ago 01:23:32 robert12: i'm not sure. I didnt do anything to explicitly enable it...and i dont see any x11 clients in my session. pure wayland afaik 01:23:50 Cool. It's suppose to be a lot more secure if you do that. 01:24:03 I had to build the emacs port with native wayland support 01:24:54 I guess I need to double check because I'm on stable/15-n283794-7fa638d6f7cf and it seemed like the suspend/resume bug was still occurring 01:25:16 mason, lpr is going away? :-( Though on a desktop it is almost impossible to not have cups installed since everything depends upon cups and pulls it in. And cups shadows lpr. lpr is more solid and reliable. But then cups shadows it. 01:25:27 yeah, definitely hit up that bug report if you are still seeing that issue on latest 15/stable builds 01:25:27 though to be fair I was in the habit of always just running netif restart wlan0 every time I'd wake from suspend 01:26:01 hard to remember if I checked whether it was connecting all on its own after resume 01:26:06 tm512: if you look at the bottom of the post i linked, there is an rc.d service for suspend and resume that does exactly that :-) 01:27:07 when I was on CURRENT, I had the stop/start stuff in my rc.suspend/rc.resume, but when I went back to 15, I never got around to re-adding it 01:27:50 I'll check resume right now 01:28:01 (might end up timing out, I dunno) 01:29:01 oh, I guess it is fixed? 01:29:55 sweet! 01:32:03 the last couple weeks I might've not been giving the driver enough time to reassociate with the AP before assuming the driver was borked and needed netif restart 01:40:43 weird, so the other day, I could not bootstrap gammastep's configure script stuff, but now it's working. I'm not sure what changed 01:41:22 I guess sidestepping ports/pkg and building manually is the way to go for stuff like this where I don't like FreeBSD's default build flags 04:27:37 i want to append a line to a file only if the file doesn't already contain the line. is `grep -qF -- "$LINE" "$FILE" || echo "$LINE" | sudo tee -a "$FILE" > /dev/null` 100% right? 05:06:30 well, it's 100% worse than real config management 05:23:41 ?! 05:24:40 not what i asked 05:24:49 and what do you use, ansible? 05:24:57 rtprio 05:25:25 puppet 05:25:44 ok and what does it do under the hood to make sure a file has a line in it only once? 05:26:07 file_ 05:26:14 uh, it has a fuck ton of ruby 05:26:44 k and that's somehow better than running a command line? 05:26:49 your hack looks like it could work, some of the time 05:30:20 kerneldove, why not just `echo $(cat file) | sort | uniq | tee file` ? seems more robust 05:31:30 Ozymandias42 how's it more robust? 05:32:09 honestly haven't really thought that far but this doesn't branch. It's idempotent 05:32:27 ya that is pretty nice 05:33:27 well it modifies change time unnecessarily 05:33:39 hmm. true 05:44:14 puppet is ruby but ppl write it like perl :)) 06:00:10 kerneldove: if you stay with shell, you should switch to an if there 06:02:20 would kinda prefer a command that doesn't need shell if possible? 06:03:39 does ``grep -qF -- "foo" /path/to/file || echo "foo" | sudo tee -a /path/to/file > /dev/null`` require shell? 06:04:34 yes for the pipe, redirect and the or (poor mans if) 06:05:19 dang, ok mind showing me how you'd rewrite it to be better? 06:07:03 if grep -qF -- "foo" /path/to/file; then echo "foo" | sudo tee -a /path/to/file > /dev/null; fi 06:07:26 mind if i ask why that's better? 06:10:56 because that better communicates the intend and isn't problematic to extend to more complex use cases 06:11:53 is it portable/standard sh? 06:12:06 yes of course 06:12:44 ok that's awesome tyvm 06:18:13 "poor mans if" lol. even in scripts I often do [[ cond ]] && codeA || codeB just more readable sometimes. 06:18:30 especially if stretched over multiple lines 06:19:33 also even that shorthand is trivial to extent. just: codeA => { codeA ; ... codeN ; } 06:23:38 and you always add a comment about how you made sure that codeA produces a succesful exit code, so that codeB doesn't get run if codeA run? 06:24:47 correct me if I'm wrong but that shouldn't happen, right? codeB being run is dependent on the exit code of cond not codeA 06:25:35 ..oh yeah. I see. I am wrong. I always treated that construct as ternary operator but it isn't. it just (badly) emulates the behaviour of one 06:26:09 thanks! I've been using this for years but never consideres those kinds of side-effects 06:26:44 hence "poor mans if" 06:27:59 nimaje what do you think of > /dev/null vs >/dev/null like i see ppl use sometimes 06:33:46 the later just skips some optional whitespace, I use both depending on my mood 06:41:20 ok tyvm, really helps to have an expert look over stuff i'm new to 07:57:54 nimaje just tested your code and it doesn't actually work. it keeps appending the text 08:09:44 oh, yeah, I forgot the ! to invert the condition of the if 08:10:39 where at? i haven't done that syntax before 08:11:29 if ! grep … 08:12:47 yep there we go! 08:12:49 tyvm 10:07:20 back from 15.1 ;D 10:07:30 so, should I convert go pkgbase? :D 10:14:59 ya pkgbase is the future 10:18:37 Hey so 15.1 was supposed to bring the KDE option in the installer (it was postponed to 15.1) 10:18:42 Is that still coming? 11:07:23 is vuxml going to be deprecated? thought i read something about that a bit ago 11:12:45 fun trying a 15.0 -> 15.1 upgrade via pkgbase... lets see if it comes back from reboot 11:12:59 wow, big moment 11:13:05 5+ years in the making 11:13:08 Hmm I'll wait for 16 with pkgbase 11:29:44 forgot to reconnect to chat but that worked great 11:30:13 what did 11:30:19 are you sbr? 11:30:27 yes, pkgbase update 11:30:34 that's really great news 11:30:39 so you're on 15.1 now? 11:30:49 did you use the pkgbaseify? 11:30:59 yea, FreeBSD fiend 15.1-RELEASE FreeBSD 15.1-RELEASE releng/15.1-n283562-96841ea08dcf GENERIC amd64 amd64 11:31:07 and yes, I originally convereted with pkgbaseify 11:31:11 nice 11:31:18 run into any issues? 11:31:21 I think I'll take a snapshot, then run pkgbasify 11:31:23 not yet ;-) 11:32:11 I'll wait a few hours and poke thing before I do my prod machine 11:33:27 kerneldove: I did pkgbaseify previously on a 14.x machine and was fine, and most recently from a fresh 15.0 install. But I assume milage will vary depending on complexity of setup 11:34:00 ya i'm just excited about pkgbase being finally here 11:34:07 like i said, 5+ years 11:35:07 heh, woops, forgot I ran a script to restart all my jails in the background 11:36:01 time to destory old boot envs 11:36:52 ah, not surpsing but I had to pkg update -f, for pkg upgrade to pickup 15.1 pkgs, now updating pkgs 11:37:30 surprising* 12:03:31 am now on pkgbase :D 12:03:56 nice! 12:04:05 any hiccups 12:04:06 ? 12:05:06 nothing 12:05:26 I created a full snapshot of the disk before (vserver), then ran the pkgbasify script 12:05:33 awesome 12:22:59 last piece, updated jails. doas bastille bootstrap --pkgbase 15.1-RELEASE;oas bastille upgrade -a dev-db 15.1-RELEASE 12:23:54 then one of my fav bastille commands, doas bastille pkg ALL upgrade -y 12:24:10 ~20 jails now running 15.1 14:12:39 ok, I wrote this up, will try and do this more often. https://tuhat.net/o/8by3/p/freebsd-15-1 14:13:20 And yea, tuhat.net runs on freebsd, obvi 14:30:11 nice writeup sbr 14:33:33 rwp: Yeah, it was in the release notes. 14:34:37 14 hours late to the stargate reference, but I feel compelled to give ketas the thumbs up 14:35:32 I am on the way to BSDCAN! And so have not had a chance to read the release notes yet. Bummer that it is being removed in the middle of a release cycle in a point release though. However as I said it is almost impossible to actually use due to cups being forced in ahead of it instead. 15:00:18 Does pkgbase also have a replacement for freebsd-update IDS? 15:01:17 pkg? 15:01:41 pkg-check rather. 15:21:17 scoobybejesus: indeed 15:24:04 Ah thanks 15:34:09 i had a pkgbase question, with the repo "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}", how do i bump minor once to move from _0 to _1? 15:34:55 pkg -o VERSION_MINOR=1 upgrade doesn't seem to to do it 15:42:22 rtprio: You need to edit a file? https://wiki.freebsd.org/action/show/pkgbase?action=show&redirect=PkgBase#Upgrades 15:43:15 I get the feeling that wiki is old info? 15:46:22 i feel like once it's on 15.1, then it goes back to the exact same file; feels awkward 15:47:54 my pkgbase upgrade from 15.0 to 15.1 went super smoothly with the https://www.freebsd.org/releases/15.1R/upgrading/ docs 15:48:02 really appreciate everyone's hard work on this 15:49:09 pkg -oABI=FreeBSD:15:$(uname -p) -oOSVERSION=1501000 15:49:11 there it is 15:52:13 i guess with _latest i could avoid this 16:32:39 So, someone replied to the announce list post. Is freebsd-update not able to jump to 15.1?? 16:33:21 ...for systems not installed with basepkg of course...? 16:37:55 Inside a jail I can't use pkg, everytime I try pkg update the process says "Waiting for another process to update repository FreeBSD-ports" but there are no other processes updating. 16:40:59 s2r: There's probably a correct answer, but I'll chroot into a jail sometimes from outside to do update-related things that the jail won't allow in its own context. 16:42:35 mason, Ok, I will try updating it from the outer realms. 16:43:47 s2r: In that particular case, I wonder if something left an errant lock in place. 17:01:23 mason, I think that person probably has a pkgbase updated system and then tried to use freebsd-update on it. It's a one-way trip. If you use pkgbase then you must continue upgrades using pkgbase. I think. 17:07:15 mason: i updated from 14.3 to 14.4 to 15.1 with freebsd-update just fine. i was somewhat confused, that announce@ is open to mere mortals though 17:11:42 Thank you both. 17:11:57 And ridcully - yeah, I was surprised by that too. That said, I bet it's closed now. :P 17:17:12 ohhh passthrough features in bhyve(8) 17:29:22 mason, I tried removing every .lock and sqlite cache. 17:54:22 s2r: Could be a kernel advisory lock without a physical presence. I'm not sure how pkg does its locking. 17:54:45 Might not go away until the jail comes down, or if you're very unlucky, until you reboot the host. 17:59:15 fnarr 18:18:10 mason I restarted the jail many times already and every time the same lock error. 18:31:26 s2r: this: https://forum.opnsense.org/index.php?topic=42054.0 and this: https://github.com/freebsd/pkg/commit/69e28e7a0 might have some info on the lock issue - the first suggests that some bugginess results in a lock sticking around after a dns failure, the second has a command to clear an entry in sqlite that tells pkg something is still in progress 19:02:39 And... both hosts and all my jails are on 15.1. All the programmers and testers rock. Everyone in here rocks. We salute you! 19:07:56 spork_css thanks I will read them. 19:17:11 also just curious if "ls -la /var/db/pkg/repos/*/lock" returns anything... 19:56:55 hmm 15.1 kind of broke my 'build kernel packages without building world' script with flua suddenly not being found and I tracked it down to Makefile.inc1 not having /usr/libexec in PATH when create-packages-kernel calls create-kernel-packages, and now I wonder how I can run-time hot-patch this without editing the file itself 20:05:40 Hi, does anybody uses that native sh shell? Just curious, it's really spartan software. It even doesn't save command history properly. No sure if I should instead install bash and use sudo or doas instead of login as root into that ancient Bourne shell. 20:06:30 I personally use zsh - I figure if I'm already installing ports for other purposes I might as well also grab a shell 20:06:50 pmc: do you use sudo then? 20:06:56 yup 20:07:07 that or doas, depending on my mood when I'm setting up the system 20:07:46 personally I'll only skip those if I'm trying to set up a system without ports, which is usually just a learning exercise to learn more about the base system :) 20:08:09 I was thinking that i will try to stay with native software, but it looks more and more impossible. There ae some great commands like gpart, but this sh shell is really a bit too much. 20:14:59 I am perfectly happy with bin/sh 20:20:34 JurassCZ: sh does support history 20:22:09 JurassCZ: HISTFILE File used for persistent history storage. If unset ~/.sh_history will be used. If set but empty or HISTSIZE is set to 0 the shell will not load and save the history. — sh(1) 20:23:35 it used not to but that was quite a while ago 20:32:51 JurassCZ: it's a perfectly fine shell, but if you do a lot of shell or are used to fish/bash/zsh just use them 20:44:35 pkgs.org says vikunja is in the official repo, but cannot install/search it - am I missing something? (v15) 20:52:13 I think I may have solved my package build issue by adding make bootstrap-tools to the process 20:53:38 Ive solved my problem, its in latest and not quarterly and pkgs.org doesn't show the difference 20:54:46 very recently added, since it was in 14 wasnt originally concerned. a new process learned anyway 21:11:19 is there anyway to determine BEFORE a restart.. of an upgraded kernel that .. a module will not work? 21:11:44 everytime i upgrade i always seem to have to MANUALLY login to a machine to ensure net/realtek-re-kmod198 works 21:11:49 bhyve? 21:11:52 oh 21:11:58 then probably not 21:12:51 voy4g3r2: are you restarting with the new kmod version installed? 21:13:20 the freebsd-update is saying, it MAY not work and to rebuild 21:13:37 but then i am in the chicken and egg issue.. which means i get to drag the machine, from remote location, and plug keyboard/monitor to fix 21:13:53 bhyve 21:14:13 create a VM with the new kernel version, build the kmod port there 21:14:40 * Mahiro simply builds everything in a Hyper-V VM that the actual hosts fetch everything from afterwards in package form 21:15:09 the VM has a generic kernel and no modules being loaded 21:15:40 (because the hv NIC driver is there already) 21:19:29 Hello, all. I plumb forgot the core FreeBSD tool (installed by default) that can show the current traffic (in MB/sec) across any or all interfaces. Can you please name it? 21:20:39 ant-x: `systat -ifstat`? 21:21:19 does wpa3 work for anyone 21:21:21 Mahiro, that's it. Thanks. I wonder where I heard of it the first time, because I was not able to find it. 21:23:14 elivoncoder, I have no such executable. 21:23:38 ant-x, It's not an executable, it's a protocol for wireless network encryption 21:23:51 Mahiro: It does support history, however it;s kind of buggy, often it's not stored properly and i really depend on that functionality 21:26:07 JurassCZ: pkg install dash or something 21:26:09 Oh :-) . Beg pardon. I have WiFi-enabled machine with FreeBSD at hand, but I vagualy remember I have only used wpa2. 21:26:51 JurassCZ, sh is a complete Bourne shell. dash is not made for humans! 21:27:08 ^ And nor is dash native to FreeBSD. 21:27:41 JurassCZ, don't tell me you are not using FreeBSD's vi, nvi2. 21:27:52 Mahiro: Can't be used as Root. If I will use dash, I will have to use also sudo and never use root 21:28:13 hah. I've figured out how to use nvi, but I prefer vim :D 21:28:20 you're not supposed to use your system as root 21:28:53 wavefunction: this reminds me that we need vim-classic as the default vim :\ 21:29:47 JurassCZ: like seriously, do not log in as root, only use su/sudo/doas when required, and do not set NOPASSWD 21:30:00 Mahiro, vim classic, or evi . 21:31:53 Mahiro, doas has problems: I have too replcate my environment for root too feel comfortable, e.g.: I use The Traditional Vi (https://ex-vi.sourceforge.net/) as main editor, with an hierarchical system of startup scripts in my home. 21:32:08 -1s/too/to/g 21:32:24 JurassCZ: there's really no reason not to use a shell you like. install one from pkgs and use it for yourself. 21:32:28 Over in #vi, there are some real vi masters! 21:32:44 and it's good hygiene, generally, to use sudo or doas instead of spending a lot of time in a root shell. 21:32:48 What if one want to be feel unique and BSD-ish? 21:32:50 AND 21:33:05 ant-x (I count that as a "shell you like") 21:33:19 ant-x: then you `chsh -s /usr/bin/tcsh` 21:33:35 * Mahiro hides 21:33:37 if you need to be root, there's nothing stopping you from invoking, e.g. tcsh -l or bash --login or fish --login once you have su'd to root. 21:33:42 kona, no, I mean my .profile and .shrc &c. 21:34:08 Is it not bad hygiene to do ``doas sh'' ? 21:34:09 well. for zsh you can put all that zsh stuff in your zshrc 21:34:19 was it 12 when root shell was changed to sh? 21:34:37 and keep the .profile and .shrc to the lowest common denominator 21:34:38 doas will use the environment of the target user, not of the user that invoked doas . 21:34:55 Mahiro, what was it before sh ? 21:35:02 csh of course 21:35:14 doas will but all the shell niceties you have in whatever your user shell are substituted first before doas is even run. 21:35:14 Ah! Not Bourne-compatible? 21:35:21 Mahiro: The kmod is already installed and on 15.0 and when i did freebsd-upgrade -r 15.0-RELEASE it informed me these MAY not work 21:35:37 so i am basically trying to get AHEAD of it before a restart.. because if they won't work.. then i gotta move the machine :() 21:36:16 voy4g3r2: and this is why you need a VM to build it for the new kernel if it is not available from repos 21:36:27 kona, I lose my vi mode, set by ``set -o vi'' in my .shrc . 21:36:52 hrm.. so even though the port is installed now.. it will NOT work.. with an upgrade 21:36:54 ant-x: is that a bourne shell feature? 21:36:58 ^ Unless I do that in root's shrc, too some way or other (symlinking &c). 21:37:07 as poudriere does not recommend using jails newer than host 21:37:18 kona, a POSIX shell feature, available in FreeBSD's sh . 21:37:26 (as well as in bash) 21:37:34 voy4g3r2: kernel modules are linked against a given kernel; kernel ABI is not guaranteed to be stable 21:38:02 ok well. idk why you would lose your vi mode then if you are issuing doas commands from your user shell. 21:38:11 but i probably misunderstand what you are trying to say 21:38:17 yup.. so i guess once i do the restart i gotta manually install, thanks 21:38:21 i may hold off for a little 21:39:02 kona: sudo sh will run sh with your current environment including $HOME; doas will $HOME=user-you-are-switching-to 21:39:18 doas sh will not use your existing rc file 21:39:34 you will need a duplicate in that target user's home 21:39:35 i think i can count on one finger the number of times i have needed root to do something in my $HOME 21:39:53 it is not about doing something in $HOME 21:39:56 kona, using vi mode all thorough while on the shell.] 21:40:04 it is about sh loading $HOME/.shrc 21:40:20 Mahiro, yes, I think sudo is differnt from doas in that way. 21:40:31 'it depends' 21:41:00 As for doas, . 21:41:04 at least on my system sudo zsh definitely loads target user's .zshrc 21:41:10 i think i can also count on one finger the number of times i have wanted to have root use my .shrc for anything, at least after i understood why having root have a mostly pristine environment is a Good Idea. 21:41:15 Mahiro, yes, indeed. 21:41:19 but. ok. 21:41:32 so, use sudo. 21:41:43 OR 21:42:03 sudo vs doas holy wars 21:42:04 kona, e.g. I want to edit a file as root. I issue: `e /usr/local/etc/torrc` , where e is my script lanching my self-compiled vi . 21:42:09 i guess, if you must, su to root and then invoke the shell you want, after copying your rc files to root's home dir. 21:42:21 * Mahiro uses doas mostly for weird scrips 21:42:25 scripts* 21:42:36 Mahiro, why not sudo for weird scripts? 21:42:45 ant: put your self compiled vi in /usr/local/bin and your 'e' script as well. 21:42:55 or maybe a site-local directory 21:43:05 and put that in your paths (or in the system default paths) 21:43:10 better yet, make a local port 21:43:16 build with poudriere! 21:43:23 kona, I will also need to provide my ~/ex and .shrc. 21:43:41 Oh! Building it as-is was hard enought (for me). 21:43:44 ln -s will do that, if you absolutely need them automatically sync'd 21:43:58 Indeed. 21:44:21 sometimes you just have to respect religion 21:44:37 But linking root's stuff from a user's stuff is ... the wrong direction of dependency. 21:44:58 everyone is on about the poudriere kool-aid 21:45:10 then put it in /usr/local/etc and have users (including root) that need it, link to it there 21:45:30 I have also modified The Traditional vi to not use sbrk(2) for memory management! 21:45:58 kona, right: I keep that possibility in mind. 21:47:10 but remember it's.... "your" exrc. so maybe putting it in a sitewide share isn't quite right, either. 21:47:12 i'm not following what problem you're trying to solve 21:47:37 like, if five other users have an account on the machine, maybe they don't need access to your exrc. 21:47:59 kona, I agree, but that script is not secret, anyway. 21:48:20 rtprio, invoking doas with the source user's environment. 21:49:01 doesn't doas have some sort of keepenv/setenv 21:49:23 DOAS.CONF(5)/keepenv might help -- will test. 21:49:40 ^ also considered dangerous. 21:49:55 But I'll ingnore the warning. 21:50:23 why does he need his environment in his root shell? it's the root shell 21:51:24 they want traditional ex/vi (heirloom ex/vi) with their shrc and exrc everywhere they need to edit stuff. 21:51:36 rtprio, e.g. to use my editing setup, with my $EDITOR=e, referring to my wrapper around my self-compiled vi editor. 21:52:14 ok, aside from why does it need to be wrapped 21:52:25 It is no where near impossible. There are many options to try. 21:52:27 just checkout a copy of your dotfiles into your root shell 21:52:50 but why are you lingering in root shell enough to need your dotfiles 21:53:04 rtprio, there may reasons to have a wrapper around vi. One of them -- to use extention-specfific configuratin of the editor. 21:53:28 rtprio, re: checkout my dotfiles -- right, it is yet another solution. 21:53:44 rtprio, I am just editing files no accessible from my normal user. 21:53:58 Not lingering, no. 21:54:44 Not to mention that sudo solves it automatically and effortlessly :-) 21:54:45 i guess this is just not a problem i've ever had using my normal day to day editors and sudo or doas 21:55:08 Sounds plausible. 21:56:37 I usually copy the configuration file, make another backup copy, edit locally, then install(1) over to the old location 21:56:40 Thanks to all for your advice! 21:56:49 because paranoia 21:57:03 Mahiro: it's not paranoia if the filesystem is actually after you 21:57:13 Mahiro, that's too much of monkey business unless the file is very securyt-critical! 21:57:38 Hmmm, and I could automate the three-stage-operation with a shell script :-) 21:57:52 rtprio: look, every time I have a long, long build running and need to hibernate my PC I am like, can I just do that? what if hibernating corrupts my build? 21:58:21 1) doas cp 2) doas chown 3) e #edit locally 4) doas install 5) rm #local copy 21:58:22 so I have a lot of paranoia/anxiety 21:58:35 oh, i gave up shutting down my pc long ago 21:58:42 ant-x: you forgot backing up persimmons and uid/gid 21:58:44 paranxiety 21:58:58 you realize you editor makes a copy, right? 21:59:04 Will add them in the next commit :-) 21:59:05 you would really want those persimmons 21:59:26 If you are parsimonous. 21:59:41 rtprio: electricity costs and also noise 21:59:41 rtprio, Editor makes a copy? In the FS? No. Do you mean ex-preserve ? 22:00:48 I must go to bed now, to dream about my new imagined smooth and steramlined edit-as-root-via-doas workflow. 22:01:16 Good bye to all. 22:01:22 i don't know what ex-preserve is 22:10:25 hi, im trying to upgrade from 15.0 to 15.1 and i need to do the bootloader step. but im not finding the ??bootloader location?? here is my output https://termbin.com/x708 22:10:55 im trying to do this step: https://www.freebsd.org/releases/15.1R/installation/#upgrade-loader-uefi 22:10:59 suggestions ? 22:11:50 it's one of the ones matching \efi\freebsd\loader.efi 22:12:09 riight 22:12:53 that's the longest efi list i've ever seen 22:13:22 lol 22:13:29 yeah i dont know why it has so many crap there 22:14:05 if you reinstall / change OS, that usually needs to be cleaned up by hand 22:14:39 remake that partition 22:14:44 during install 22:16:28 Mahiro: Your VM option, for the upgrade question i had and hte network card, you would recommend making a bhyve of 15.1 and have the module compiled on that and MOVE it to the host? i am a little slow :) 22:21:22 rtprio: ex-preserve https://man.freebsd.org/cgi/man.cgi?query=ex&sektion=1&manpath=4.4BSD+Lite2 22:21:50 doesn't really explain it much, there's a paper though that does. it's an ancient vi/ex feature 22:22:05 i was born after 1975, i don't use ex 22:24:16 I think I used ex once 22:24:21 I've used ed more than I've used ex 22:24:43 if you used vi in the 80s or 90s, exrecover and expreserve were features of vi as well. 22:25:03 mostly because vi was a feature of ex 22:53:00 Hrm, the 15.1 install media fails to thrive on my T420. Doesn't configure the network, doesn't see disks after it fails to use the network and restarts, which isn't surprising. A bit disappointing. 23:12:54 mason: 14.3 installer does the same. 23:20:33 I retract above. I used 15.0 in my last install. 23:21:03 And the 15.0 installer had the same behaviour as described by mason