00:44:27 so how do we get wireguard connection set up as an rc service in 14? do we still gotta use wireguard-tools pkg? i thought it was just in kernel now 01:27:53 freebsd 14 unattended bsdinstall throws up a "rebooting" gui when it's done. 13 didn't do that. can disable? 01:28:51 because now every bsdinstall takes 10 seconds longer out of nowhere 04:04:08 rennj: being anti-capitalism. Also rennj: paying for hotels and Starbucks. 04:04:32 freebsd 14 unattended bsdinstall throws up a "rebooting" gui when it's done. 13 didn't do that. how can disable? because now every bsdinstall takes 10 seconds longer out of nowhere 04:05:07 it's not documented in man bsdinstall 06:34:46 what's the right way to zfs snapshot my home dir? i do a fresh install, then zfs create zroot/home/polyex, then zfs snapshot zroot/home/polyex@first. seems to work but then i can't sftp into my account (???) 06:35:58 oh, the create command deleted my home dir 06:36:05 ouch lol 06:44:05 if you destroy it, the old content comes back. similar to mounting over something 06:44:47 destroy, rename, create, rsync 06:45:06 how can i make this zfs dataset just adopt what my home dir already is? 06:45:13 as if i created then moved files in 06:45:24 because the OS creates my home dir by default so i just wanna work with that 06:49:26 * kevans notes that it's actually mounting over it rather than similar to mounting over it, to be precise 06:49:38 ya 06:49:41 but i don't want that 06:49:45 there's no zfs create adoption type flag, you'll just have to move it away then move the contents back 06:49:58 yikes 06:50:20 recent adduser(8) can create the dataset for you 06:50:23 ok so i create the dataset before creating the account and then the home dir will end up being in the dataset? 06:50:28 ya 06:50:32 correct 06:50:37 ok i'll try that now 07:00:08 tried zfs create -o mountpoint=/home/polyex zroot/home/polyex and it worked kevans! 07:01:10 hm no it didn't wtf 07:02:29 happy freebsd day 07:02:37 you too 07:06:40 polyex: did the dataset actually get mounted? 07:07:00 no clue 07:07:22 mount(8) knows all sees all 07:07:31 seems the only way to do this is zfs create THEN move the home dir files in 07:11:45 you can not create over something existing. have you checked `man adduser` if they way described there would work for you? 07:12:35 (or rather, you can create, but the content will not transfer over) 08:29:18 hi, i've upgraded my 13.2 homeserver to 14.0. my pf ruleset that seemed to work on 13.2 does not work on 14.0 anymore. the relevant parts of my pf.conf https://pastebin.com/raw/Nm3jBsXL 08:29:55 the last line does not work anymore on freebsd 14. a tcpdump -eni pflog0 looks like this https://pastebin.com/raw/zeqqA80N 08:30:51 the weird thing is, the traffic going back does get blocked. seems like keep state does not work or am i missing something? 08:34:23 Grauwolf: I'm a ipfw user, so I can't immediately spot what's wrong with your pf config - but if you have spare CPU cycles and can set up a testing environment, one thing that can help you narrow down what changed is git-bisect(1). 08:35:07 It helps a lot if you also use BSD make's meta-mode as described on https://wiki.freebsd.org/MetaMode 08:35:09 Title: MetaMode - FreeBSD Wiki 08:36:53 In my experience, it's pretty consistent in narrowing down issues that changed between versions, if you don't know what caused them and can reliably test them, regardless of what the rootcause is - it just requires a lot of patience. 08:37:26 this is probably what i'll have to do in the end. but maybe someone knows what the problem is 08:37:40 Definitely worth asking, yeah. 09:25:12 freebsd 14 unattended bsdinstall throws up a "rebooting" gui when it's done. 13 didn't do that. how can disable? because now every bsdinstall takes 10 seconds longer out of nowhere. not documented in bsdinstall man page 10:35:06 dvl thanks. I ended up using your configs and some more to get my new time machine working. 10:35:24 Does anyone know if FreeBSD has any common issues with VLAN performance? 10:36:07 I used to get 999Mbps with my old setup, but now I get half of that on VLANs 10:36:14 altho to be fair, I did change the switch 10:36:20 maybe it's a switch issue 10:37:11 I am able to get 1Gbps with iperf -P2, tho 10:43:07 Is it possible to have jail's path be a jailed dataset? How would I go about mounting devfs in that case? 10:43:39 I'd like to emulate separate machines using zfs on root without going full-vm route. 10:46:34 dautor8518050867 what do you mean? 10:46:48 dautor8518050867 the jail command is running on the host, so it *can't* be jailed 10:47:16 dautor8518050867 however, if you want to keep some kind of persistent data, you can have a jailed dataset nested under the jail's dataset 11:03:59 antranigv: I'd like to be able to create snapshots of the whole (jail) system from within jail. To allow that, I'd need to jail the dataset and zfs-jail it. But if you jail a dataset it is hidden from prison0. 11:05:27 The problem is that there is no way to jail a dataset and create a jail rooted at that dataset at the same time. 11:44:49 antranigv: good. Isn't it great how well all those components play together. Remember to do snapshots on the time machine filesystems. 14:55:01 * ZedHedTed is installing FreeBSD in a VM for the 2nd time cuz it's FreeBSD Day 15:13:11 Anyone have any idea what this file might be?: https://bpa.st/JXSA 15:13:12 Title: View paste JXSA 15:18:04 https://www.youtube.com/watch?v=EbHAW7v_-1c 15:18:05 Title: FreeBSD Day 2024 - Ed Maste - YouTube 15:18:11 live now :P 15:36:57 CrtxReavr: is it a picture of a castle ? 17:08:31 daurnimator you can use fstat I think to pass the ZFS to the jail, so the jail can control it. would you like an example? 17:16:45 I think I can get a dataset jailed and controlled from within a jail. The thing I can't is to have the dataset be mounted at the jail's /. 17:17:28 dautor8518050867 sure you can. 17:22:32 :O could you share the process, please? 17:46:50 happy 31st birthday freebsd! 18:28:58 i wish i were turning 31 19:16:47 part 19:49:53 dautor8518050867 sorry, I was AFK. so you wanted a Jail on a dataset, and a dataset that's mounted in the jail? 19:50:01 * polarian isn't gonna say what they are turning in 2 weeks time, way younger than 99% here 19:50:54 anyways I will repeat my query and try to be more clear, zfs pool encrypted with geli (which I believe is the default the installation media uses), the entire disk I believe is encrypted under zfs, so using an unencrypted home directory still has the FDE encryption protecting it, correct? 19:51:08 aka if I say no to zfs encryption, geli still will encrypt the dataset? 19:51:25 polarian you're not the only one young here :P 19:51:38 antranigv: younger than 20? 19:51:49 polarian okay you win. I am younger than FreeBSD, but not 20 19:51:59 :) 19:52:14 im sure there is that one prodigy sitting in this channel whos like 14 and got like 22 patches in the FreeBSD src tree :P 19:52:37 polarian altho my pre-20s were good, hitchhiking from city to city, I had a shitty laptop, had to go to a public library to chat with friends on IRC 19:53:36 polarian by any chance you're also Armenian? did I ask this before? -ian is the most common Armenian suffix in last names. 19:54:39 polarian to answer your question, yes, the home directory still has FDE with GELI, and ZFS would be running on//inside GELI 19:55:37 antranigv: no I am a Londoner lol 19:56:30 and thanks for the answer, just wanted to make sure... its just a server user... I am not going to store anything in the home directory (or well not much), its just FDE disks are easier to destroy when they die :P 19:56:41 less hassle destroying the platters 19:57:03 ah destroying disks, aka the hobby of btrfs 19:57:13 * antranigv is not even sorry 20:03:06 freebsd 14 unattended bsdinstall throws up a "rebooting" gui when it's done. 13 didn't do that. how can disable? because now every bsdinstall takes 10 seconds longer out of nowhere. not documented in bsdinstall man page 20:03:37 polyex does it install tho? 20:03:43 ya it works 20:04:01 gives 10 second countdown 20:04:09 nice feature for users but bad for unattended installs 20:04:30 in 13 you had to issue a reboot command in the installerconfig script. made more sense 20:08:00 antranigv those two datasets should be the same dataset 20:24:37 10sec times number of computers...500 computer would 83minutes more! 20:25:38 to push image out to computer network.. 20:25:40 how fast is our grep? Or even more pointedly, how fast is our libc regexps? Context: several times this month I've gotten the feeling that it doesn't perform well. 20:26:13 regex(3) isn't great, but grep makes the problem worse 20:26:58 the former has some optimizations that grep could take better advantage of if we didn't insist on line scanning unless we really needed it 20:28:08 I'm watching grep parsing a 320G log file --- the end of a poudriere run --- and it's 100% cpu ... which I don't really expect should happen. 20:28:23 sigh. 20:28:30 help welcome 20:29:05 I'm ENOTIME to screw with it (it's not a fun problem to try and solve) and it's one that gets lots of complaints but nobody willing to fund the work necessary to make it suck less 20:29:51 yeah... putting on the list of ideas. Right now the top of my list is finding out why math/pspp is generating 300+ gig logfiles of crap, then looking at a new hanging problem on risc-v ... then finishing my new jobd/job pair (to enhance poudriere) ... 20:30:19 oh! you're the person from the hacker lounge 20:30:23 got a link to that work, btw? 20:30:33 I hear you. I said that I put it on my list. I like optimization. I just need to solve pressing issues first. 20:30:51 I don't use github unless I have to. 20:31:10 and I'm still working on it actively. It's not in sharable state yet. 20:31:14 fair enough 20:31:36 i try to do the same, run my own git forge and mirror to github for projects that someone else may want to interact with because I don't allow registration on my source of truth 20:31:49 Been distracted by the paying-job stuff ... like moving datacenters and migrating customers. 20:33:33 respect. I don't like some of github's terms. I also trust my own process. But sharing is good. I do offer logins on my riscv host --- soon to be upgraded as soon as the 550 comes out next month. 20:35:17 why moving datacenters? 20:43:16 do you use quarterly or latest PKG repos? 20:45:10 i use latest 20:45:29 probs happen in both but atleast in latest you arent stuck with it for 3 months 20:46:52 ye, I have one machine on quarterly, the other on latest 20:55:35 if /home/foo is "not a dir" (created as a symlink) why can i touch /home/foo/bar.txt and that works, but i can't run cp -RpP /tmp/foo/ /home/foo/? says /home/foo: not a directory 21:15:37 antranigv: you hate btrfs I assume? 21:15:53 also the urge to slap a bunch of platters in a plant pot and then thermite it is overwhelming :P 21:16:34 Btrfs is basically the GPL people saying "fuck ZFS and its CDDA license!". 21:17:13 No fuck, CDDL license. 21:17:23 Still early morning here. 21:17:41 funny enough I have thought about getting a furnace... dump the platters in it and melt them... free scrap matel! 21:18:05 remiliascarlet: GNU supporters, will always be, jealous of what non-gnu supporters have :P 21:18:37 btrfs has some major problems iirc... its why I refused to use it when I built my first server 3-4 years ago 21:18:47 btrfs is developed (since 2007) by the well known GNU supporters at Oracle :) 21:19:01 I am actually running ext4... yes I have no data integrity, it is RAID 1 but any corrupted files will remain corrupted 21:19:20 I am swapping my old server out for a new server I am working on as we speak :) 21:19:43 which will use a better OS (why do you think I am in this channel? :P) and use zfs.... 21:19:55 although I do think most of the zfs features are overkill... I just need the data integrity :P 21:20:01 GPL is such a meme license. I know the intentions were good, but the consequence is that innovation is getting stagnant, nobody in free software apart from GNU wants to have anything to do with GPL licensed code, and the GNU people want to have nothing to do with BSD, CDDL, MIT, Apache, Zlib, and whatever other license that's not GPL. 21:20:16 I do wish there was a middleground filesystem 21:20:24 like UFS but with checksumming 21:20:48 Middleground filesystem, you mean FFS2? 21:20:57 FFS2 doesn't have checksumming still... 21:21:43 If you want guaranteed data corruption, just go with NTFS. 21:22:01 xD 21:22:07 Speaking of which, you might find this article interesting: https://unixdigest.com/articles/battle-testing-php-fopen-sqlite-postgresql-and-mariadb-on-ffs-ufs-ext-xfs-and-zfs.html 21:22:08 Title: Battle testing PHP fopen, SQLite, PostgreSQL and MariaDB on FFS2, UFS, ext4, XFS and ZFS 21:22:17 polarian: does it maybe try to set permissions on /home/foo? 21:22:21 because of -P? 21:22:24 I still find it hilarious how old NTFS is and Microsoft has no plans to replace it in the future (or I haven't heard of any plans if they have) 21:22:27 eeh -p 21:22:34 wrong person 21:22:38 yourfate: yes wrong person :P 21:22:48 polyex: does it maybe try to set permissions on /home/foo? because of `-p`? 21:23:41 remiliascarlet: it would be nice if there was checksumming on FFS2... however from tests I have read people conduct, it is quite rare to even get failed checksums on small installs... bit rot isn't *too* common 21:23:42 Almost had the opposite happening to me yesterday: replying to polyex, but accidentally tagging polarian. But I noticed on time, so it didn't happen. 21:23:54 I believe an error happens once or twice a year... according to the sources I have read 21:24:08 anyone who runs a zfs nas can back that up or disprove it? 21:24:11 how often does a scrub fail? 21:24:35 by fail I mean, find checksum mismatch 21:24:54 The OpenBSD people have already said "no" to ZFS, but I do hope they will adopt HAMMER2 in the future, which looks like a better ZFS. 21:26:22 Filesystem support on OpenBSD is really horrible, the only way to actually get files transferred across operating systems is by having a FreeBSD-based NAS in the middle, and have all computers connect to it over an NFS mount. 21:26:28 remiliascarlet: I think ffs2 is much much more likely to happen on OpenBSD. 21:26:32 Which works, until you put Linux in the mix. 21:26:55 armin: No, it's not going to happen on OpenBSD, it already happened long time ago. 21:27:40 Since OpenBSD 4.2 to be precise. 21:27:47 My concern though is this line from the readme 21:27:48 > "This repository will be abandoned once Linux or FreeBSD is stabilized with write support. OpenBSD is not the main area of interest." 21:28:08 And it's not in OpenBSD so far from what I've seen. 21:28:27 openbsd needs zfs or hammer2 21:28:46 after going zfs i'll never go back to fs that doesn't autoheal 21:31:30 I guess my FS wants are: compression, snapshotting, checksumming 21:33:47 What sucks is that if OpenBSD crashes, the command you have to run on bootup is `fsck_ffs`, the default layout is US, and the location where the 「_」 key is on JP keyboard doesn't exist on US, so pressing it does nothing. And always have to look for where that key is on the US layout, which really slows me down. 21:33:54 remiliascarlet: AFAIK HAMMER2 is meant to be amazing, just unstable... 21:34:12 lol 21:34:13 Linux has that exact problem >:D 21:34:16 also I get why OpenBSD dislikes zfs... they believe in small maintainable codebases, zfs is a monolithic codebase 21:34:25 So autohealing is indeed a great thing to have. 21:34:27 amazing but unstable for a filesystem 21:34:30 ya i get it too, but they need SOMETHING 21:34:36 they need an answer for zfs 21:34:48 is like "this car is great, it just catches fire from time to time" 21:34:48 maybe hammer2 21:34:54 polarian: I think so yea, the OpenBSD spirit usually emphases much much much more simple things. 21:34:57 ppl buy porches 21:35:32 polyex: autoheal == more code, openbsd doesn't like that idea :P 21:36:03 I think FFS3 with checksumming and basic data rigidity would be a good compromise 21:36:24 also FFS is a good acronym 21:36:34 And perhaps FFS9 will finally have snapshots. 21:36:40 yourfate: xD great way to describe openbsd 21:36:49 remiliascarlet: never used snapshots in my life 21:36:58 my very short life but still :) 21:37:10 we have an internal project at work called the "waveform test framework". its abbreviated exactly as you imagine it would be. 21:37:13 polarian: I make snapshots automatically once every 6 hours on my FreeBSD NAS. 21:37:33 I actually love simple things. Software I can reasonably understand before I will die is good software. 21:38:05 And then auto delete them 48 hours after each snapshot was made avoid it from bloating up. 21:38:44 Me too, and simple programs are far less bug prone too. 21:38:50 I use snapshots for backing up the rootfs of my freebsd server every night 21:39:10 don't forget to rewrite ALL THE THINGS in rust 21:39:15 ofc 21:39:58 Here's a good 1 hour long presentation about how software these days is in decline, which I agree with quite a lot: https://invidious.jing.rocks/watch?v=ZSRHeXYDLko 21:39:59 Title: Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc) - Invidious 21:40:36 I never wrote a single line in Rust. 21:40:59 I am C's waifu. 21:48:09 polyex: saving money. rationalizing. 22:02:19 in unattended bsdinstall installerconfig im trying to integrate zfs for my user to learn. having a bug pls: https://termbin.com/c3ba 22:06:19 what about fs dedupe and encryption 22:08:07 before WINE there was sun WABI, i had to give all my users a copy of winblows 3.11 workgroups nfs drive,...dedupe would have saved space i think. 22:08:49 sun WABI begat WINE 22:11:14 and grep awk and such probably faster before the utf8/unicode foobar, back in the ascii/ansi days. 22:11:47 c++ 2011 unicode support i want to say... 22:30:34 perhaps benchmark grep/awk with different "locale charmap" 22:39:53 in unattended bsdinstall installerconfig im trying to integrate zfs for my user to learn. having a bug pls: https://termbin.com/c3ba 22:50:06 why you using -P when default for -R is same. 22:50:30 -P No symbolic links are followed. This is the default if the -R option is specified. 22:50:41 you already gave the -R 22:50:58 so you dont need -P 22:50:59 it worked in another place where i did a similar thing to this. but that was /jails, instead of /home/polyex. not sure why it's acting differently 22:51:20 ill try without it 22:51:26 perhaps just rsync the foo 22:51:40 no clue 23:49:44 need help getting zfs and unattended bsdinstall working together pls https://termbin.com/mj5o 23:57:40 i guess it fails because the destination of the cp can include a symlink in its path, but it can't be the last item. weird