00:36:21 My apologies if I'm asking this in the wrong place, what would be the right ftp server to find source code tarballs for old, legacy versions of FreeBSD for research purposes? 00:37:56 I've looked through ftp-archive.freebsd.org, but I had serious trouble downloading the source code for the version I'm looking for (5.2) 00:45:49 rwp: thank you! "fsck -f -y" did the trick. it deleted /tmp, i made a new /tmp, and everything was back to normal 00:46:20 but you were right. this happened: https://bpa.st/UI7A 00:46:37 is this indicitive of hardware failure? 00:47:31 That certainly looks pretty much like a disk failure to me. 00:49:16 Regarding fsck I am guessing the -f was required because the disk was not marked as "dirty" and therefore the fsck was actually skipped in that case unless -f was given. So even though you ran fsck against the disk it didn't actually do anything without the -f. 00:50:38 Failures like this are why if at all possible I always use raid/mirroring on machines. Because then when things fail the system continues to function and the failing device can be replaced and recovery from backup is not needed. 00:51:30 Laptops and Raspbery Pis and mini-PCs are not conducive to having two devices for redundancy but desktops and anything I can put two storage devices in I always put two in and then mirror them. 01:06:07 rwp: i was thinking about getting a replacement and in single user mode, using dd to clone the disk 01:07:47 Hopefully that will read successfully and you will get your current data off the drive. 01:08:51 If there are problems then the GNU ddrescue tool is really about as good of a utility as it gets to do everything possible to extract as much raw data from the drive as possible. 01:09:49 Is it too much to expect that your data is already safely backed up somewhere? Following the Backup Rule of 3-2-1 with at least 3 copies of the data, on at least 2 different types of backup, with at least 1 copy off site? 01:58:46 hi quick question. I just installed Fbsd and I encrypt it my home with zfs. Now when I'm log in into my system. it says I cannot execute or create files in my home dir? 02:07:09 I see a question mark at the end. But that is more of a statement than a question. 02:30:29 ls 02:30:37 Whoops! 02:59:28 I have a couple of ZFS filesystems I don't seem to be able to unmount. I get "device busy". Nothing from the FS shows up in fstab. How can I unmount/diagnose? 03:00:19 I mean in fstat, not fstab. Fingers think they know how to type. 03:05:53 `zfs unmount -f /j/s/web` gets me a "cannot unmount '/j/s/web': pool or dataset is busy" 03:06:20 Do I just reboot? 03:40:59 if gh00p were here, i would suggest checking for nullfs mounts 03:42:07 fstat will tell you what files are still open 03:54:04 cannot mount 'zroot/home/': encryption key not loaded 03:54:13 how do. I load up the key? 08:58:34 Anyone have experience with thin jails on a loopback device, and ipv6? 08:59:54 I'm using Bastille, and there's a cloned lo1 == bastille0 device on which the ipv4 aliases for the jails live. Not sure how to configure ipv6 though. 09:02:53 Hello, all. I have filed an issue about the dangerous behavior of `reboot' that we discussed here on the 23rd of July: . Everybody is welcome to suggest ways to fix it. Notify: Grabunhold . 09:06:49 ant-x: Thank you 09:07:09 YW, VK. better late than never. 09:11:19 On a loopback where ipv4 aliases live for jails, could I assign fe80::x/128 addresses to a jail? 09:19:38 ant-x: nice :) 09:25:47 ant-x: i'll add my experience today 09:27:33 Your experience is very educating. 10:45:56 i'd suggest "many users (and especially those coming from Linux)" read the documentation, and be done with it 10:46:04 ant-x: i've tried my best in summing it up 10:46:45 I know someone who refers to every *x as "Linux" 10:46:45 yuripv: i encourage you to read my comment on that bug report for my opinion on why that doesn't fix the problem (comment 2) 10:48:20 I mean, at luser level, if you can use one modern *x, you can use 'em all with the possible exception of Solaris 10:50:49 while reading documentation is certainly always a good thing, it's very hard to read all and every documentation that may or may not be relevant. is there any reason not to add at least a hint to the "reboot" command? 10:52:12 yuripv, What about the good ole principle of least astonishment? Astonishing behavior does not become any less so if it is documented. 10:52:47 Licca, is it good or bad, that so many *x are so similar and have so little indifiduality? 10:53:43 Grabunhold, you wrote it well and in good English. Is it your native language? 10:53:47 ant-x: well, I guess compatibility is a good thing, but i'm also all for users at least being educated to the point of being able to properly name the OS they're using ;) 10:54:35 Things become more confusing when the OSes are more similar than their names :-) 10:54:57 ant-x, A little A, a little B... 10:55:03 ant-x: no, my native is german. maybe i'm at an advantage because english and german are not that different. but i also took a lot more time pondering that sentences than the stuff i blurt out on irc here, haha 10:56:49 Grabunhold, but when will that `reboot' hint be shown? During an artificially added pause before the reboot? 10:56:53 I am not a fan of GNU - feel their software is slow and bloated, and GPL fanboys are annoying 10:57:31 Licca, I like GNU Troff very much, though. And I prever SVN to Git (don't throw bricks at me). 10:57:59 ant-x: when typing in "reboot", i'd think? 10:58:03 once in a while, GNU does have the best version of something 10:58:04 immediately? 10:58:37 though, I didn't think Subversion was GNU? 10:59:02 Grabunhold, you don't mean the hint will come from the shell as the user types the command? It must come from `reboot' itself, whem the user has typed it in and pressed enter. 10:59:16 at least via typing it in via ssh that would probably suffice. i didn't think about typing it in directly on the machine 10:59:34 Licca, GNU Savannah is for SVN. It is their main version-control system, I think. 10:59:38 ant-x: of course, printed directly by the reboot binary 10:59:59 git comes from Linus Torvalds and github is owned by Microsoft lol 11:00:25 ant-x: and you are suggesting breaking the POLA because (ex)linux users are suffering :) 11:00:44 The ugnly and bloated thing called Github is hopefully not endorsed or affiliated with the Git project 11:01:03 what irks me working on a Dell Unix VM is that you have to type "shutdown -y -g0" instead of "shutdown -h now" 11:01:18 though I think it does allow "/usr/ucb/shutdown -h now" 11:01:42 yuripv, no: because the current behavior is illogical and inefficient. The frequent commands should be the shortest and simplest, therefore `reboot' instead of `shutdown -r now'. 11:03:10 Grabunhold, the user that typed `reboot' and pressed Enter is not guarrateen to the notice message, for the reboot may be fast... 11:03:45 I've seen systems where there's a default standby of 30 seconds for reboot and halt 11:06:36 ant-x: as I said, i only thought about the "it's typed in via ssh" usecase where the message would linger on the remote terminal 11:06:40 Licca, if that standby has other uses than displaying a usage hint, then it is probably OK. 11:06:55 generally it's to allow takesy-backsies 11:07:24 Grabunhold, but then reboot has no idea of how it is invoked, and many people use it directly on their PCs (I think). 11:07:57 Licca, rather than "Hold on to your false teeth, genglemen"? 11:08:10 /sbin/reboot would be able to detect if its controlling tty is a console, an xterm or a remote, not? 11:08:37 using the same code that tty(1) uses 11:08:55 Licca, able -- maybe. But should it have use that dependency instead of just doing its one thing? 11:09:00 libc? 11:09:41 I mean a conceptual dependency, awareness of the environment and its types, to modifyt the behavior in a modal manner. 11:10:21 I would argue that it shouldn't matter. some unices have heavy requirements, like for example, you have to run it from a console with pwd='/' 11:10:33 (this is often true on System V, in my experience) 11:11:37 I'm not sure if baseline SVR4 has those requirements (*cough*Icancheck*cough*) but I know Dell's complains if I'm not in / when I type shutdown 11:12:52 ant-x: is there a reason that "reboot" has to know if it's invoked using ssh or not? it should print the message unconditionally, in my opinion 11:19:03 Grabunhold, only to make sure the user has time to see it. 11:19:25 How frequent and standard are situations where one does need `reboot' instead of `shutdown -r now'? 11:20:00 Is it not too good a verb to be reserved for rare a task? 11:22:05 I believe that if a program should try to avoid dependencies on environemnt and higher-level things, if at all possible. It its behavior is determined only by the its command-line parameters, it is easier both to maintain and to use. Of course, they may be well-justified exceptions. 11:22:42 one could argue that rebooting and shutting down are _so serious_ that not only should commands like "reboot" and "halt" not exist, "shutdown" shouldn't be in the $PATH at all, even as root 11:22:50 (I think that's daft, but I have seen that) 11:24:22 Licca, that's possbible. PC users can define aliases. 11:33:09 ant-x: well, i guess adding time for the user to see it as a good thing. but atm we have nothing at all, and I feel this discussion getting into the weeds 11:33:41 a simple print to std(out or err) is very low-barrier and would at least be something 11:34:12 maybe you'd see it flashing by on the real console, and via ssh it will linger in the remote terminal 11:35:31 of course i'm still in favor of actually changing the meaning of "reboot", but i'll take what I can get 11:48:00 Grabunhold, it might help if you made it clean in the issue that you too prefer the breaking change of the `reboot' behavior... 11:48:15 s/clean/clear 12:08:15 ant-x: done 12:09:41 Yeah, I have already read it. Thanks. 12:11:06 (I recevied a notification by e-mail) 12:24:16 ant-x: thanks for staying behind this and writing that bug report 12:27:57 No problem. Things happened in my life that made me stop my FreeBSD-related activities. I still cannot cause `lighdm' to show the "Power off" and "Restart" menues, use a raster font, or a vector font with good hinting as in Windows (font-hinting is one things they did good), &c. 12:29:18 for me, FreeBSD is a pure server OS at the moment. my desktops and laptops all run some flavor of linux. i might have even typed "reboot" again when i meant proper shutdown on one of the FreeBSD machines simply out of muscle memory. 12:29:55 i can't even remember, too many reboot commands 12:30:22 i'm in a little bit of shock, too. i've been doing it wrong for years. 12:30:38 I could prolly use FreeBSD and Debian Linux more or less interchangeably, never mind Debian Linux and Debian kFreeBSD when that was a thing 12:32:15 There are hundreds of Linux, but only one true original *BSD, which is why I hope to find it easier to stick with. 12:34:41 all the BSD freenixes have a common origin but they're more specialized than Linux distros 12:34:44 that said 12:34:50 it's all Jolix, ultimately 12:36:12 NetBSD and FreeBSD are the only OSes I know that are direct forks of Jolix 12:39:25 less churn is actually one of the reasons i'm using FreeBSD, so i totally get the argument not to change the meaning of "reboot". but in this case, i'd argue it's worth the breakage. but that's just me of course. 12:40:49 I think if it weren't for two people in particular, we wouldn't have any freenixes - not even Linux. and it's not Linus or RMS 12:40:57 it's Bill Jolitz and Keith Bostic 12:41:42 all the dockers and podmans and kubernetes and whatnots have way too many moving parts and evolve way too fast, i just want my fileserver and a few other things. i'm hoping FreeBSD + jails + Ansible will give me some peace of mind 12:44:59 + ZFS of course! zfs ain't no fun on Linux 12:46:01 I'm old-fashioned 12:46:53 Licca: i knew about jolitz, but never heard of bostic. will have to read up on him 12:46:54 I've been wanting to create a "traditional" Unix clone, and I was like, well, I can write some of it... but I'd need to pinch the rest from the BSDs :/ 12:47:19 Bostic drove the project to Theseus the AT&T code out of BSD 12:47:41 enabling a fully open-source BSD 12:50:07 ah, of berkley db fame, too 12:55:18 I mean, my bias is toward NetBSD as the more direct descendant, but it's also a fair argument that NetBSD and FreeBSD, since they both built off the same codebase, are ultimately equals 12:55:46 where OpenBSD is more "I'll start my own BSD! With blackjack and hookers!" 12:56:48 that just happened to find its niche 12:57:11 in which case it's more similar to the later Drag*cough* 15:26:17 hi, trying to reconfigure an Intel iwn 5100 in FreeBSD 14, ir worked before but now no longer can do ifconfig wlan0 up scan (iwn0: iwn_read_firmware: ucode rev=0x08530501 iwn0: scan timeout 15:40:45 I redid the steps from the handbook and now it works 15:48:48 i happen to agree with the breakage being worthwhile. adding a flag reboot -fast or something to restore existing behavior would make things much more intuitive going forward IMO 15:52:22 -q, maybe? 16:05:38 uskerine, You were not in the channel to chat at the time but on Sunday I noted that ffmpeg, firefox, and ungoogled-chromium finished building and I was offered an upgrade for them. Meaning that they were once again installable. 16:12:38 I see I missed a reboot discussion but I will comment that when I worked on HP-UX it annoyed me that HP-UX reboot -q was the equiv of Linux reboot -f and that it was yet another point of portability differences. 16:12:45 That said when people read that they should reboot their machine they should typing in "shutdown -r now" rather than reboot. That's an unfortunate counter-intuitive thing. 16:15:44 the main exemplar of SVR4 I've got is Dell Unix 16:16:57 I've tried and failed to set up a cross-compiler for a known SVR3.2 for a project lol 16:17:42 I can make builds of my Strix tools for FreeBSD, OpenBSD, NetBSD, Linux and SVR4 lol 16:17:48 (I mean...why...but still) 16:21:27 Strix is still useful on a "barebones" SVR4, but who's using that in 2024? 16:21:43 for example, it brings some tools, like grep and rm, up to Posix 16:26:00 hm 16:28:23 SVR4's rm only knows -rif, Solaris adds -R, Net/2 _also_ adds -d, 4.4BSD-Lite adds -P 16:30:13 I don't support -P, but I support -vx, both claiming FreeBSD and NetBSD (plus OpenBSD for -v) 16:30:30 and I also support -I from GNU 16:32:57 looks like I'm basically in line with current Posix lol 17:35:19 Licca: both NetBSD and FreeBSD are direct descendants; the major difference is that after the lack of a VCS for 386BSD was identified as a problem, NetBSD started at the first version of 386BSD, while FreeBSD started with the last version. 17:35:47 Both arguments had merit to them 17:37:35 "VCS" ? 17:38:00 I know NetBSD and FreeBSD had different priorities 17:38:03 version control system 17:38:34 (at least I'm assuming there isn't another vcs acronym) 17:38:35 though my understanding was more that NetBSD wanted to continue the path BSD was already on and FreeBSD wanted to focus on commodity hardware (read: x86 PCs) 17:38:53 there's "Video Computer System" (i.e., Atari 2600) 17:52:55 I figured someone might be able to work out the initialism from context :) 17:55:24 Licca: project philosophy was also different, sure - but they both share a common ancestor, is the point. 17:56:57 had x86 turned out to not be the platform du jour, i'm sure freebsd would've pivoted to something else (quicker than ppc in 6.0 according to arch(7), i mean) 17:57:26 the focus was very much on a high-performance unix-like on x86 in the early days, though 17:57:54 well, you could argue that AMD64 is different from x86 if you wanted to really split hairs 17:58:06 also, things like alpha support aren't mentioned in arch(7) 17:58:32 I wouldn't say common *ancestor* so much as common *direct ancestor* 17:58:37 i ran an absolute shedload of jails on an EV7 17:59:02 because DragonflyBSD and OpenBSD also have Jolix as a common ancestor but they're not forks of Jolix 17:59:22 dragonflybsd forked from freebsd and openbsd forked from netbsd, though 17:59:27 right 17:59:40 (assuming that with enough age, "DragonflyBSD" doesn't remain a voldemort around here) 18:00:01 ppc, sparc64, ia64, arm(v4/v5), and alpha have all come and gone 18:00:24 so far as i know, dragonflybsd is happily chugging along doing its own thing 18:00:53 I meant that due to bad blood Dragonfly might be The BSD That Shall Not Be Named®™© 18:00:59 if you know what I mean 18:01:28 that water's so far under the bridge at that point, i'm not even sure you can hear it 18:01:29 hence me choking off the name earlier 18:01:31 lo0l 18:02:01 i can't imagine anyone would have the energy to sustain a grudge like that 18:02:09 oh, I can very well imagine 18:03:08 but then, I'm used to being around people who simply cannot give up a grudge, ever 18:03:33 and I've been attacked by such people 18:04:11 no future in that 18:04:28 these are the type who don't think about the future 18:05:27 no future in that, either 18:06:23 I prefer to just do my issh and be done with it, but I've often been focused on self-defence 18:06:49 in some sections of the Internet, I've become kinda infamous lol 18:08:00 because I had some expertise in audio work and synching anime, a friend got me broadcast audio for Dragon Ball Z. I made encodes with it, killing a golden goose a few people were relying on 18:09:10 you'd think a lot of the comments on a certain BT tracker would be appreciative of me leaking it but instead it was mostly people ticked off at me because they couldn't sell their pirate audio files anymore 18:10:47 maybe conversations about committing copyright crimes aren't the most appropriate for something that putitively exists in and under a copyright framework? :) 18:10:59 :P 18:11:19 my attitude toward copyright is sort-of mixed 18:11:31 "sue me" kek 18:12:21 I'm not gonna step on the little guy or on some open-source project. but when it comes to big companies or old unobtanium, I really don't care 18:13:26 I was a bit more open to messing around with the MS-DOS 6 leak, until Microsoft and IBM released 4 - then I backed off because I want to encourage them to release 6 18:14:24 because honestly, there's not THAT much difference from 4 to 6 - just that the kernel and shell enhancements are important enough 18:16:04 if they were to release MS-DOS 6.21 code, I'd be on it like white on rice and not only that, someone's trying to get 3.3 and if they get that I'd make an open 3.31 18:16:07 * kevans notes that this has veered more towards -social material 18:18:21 somewhat more related, about 25 years ago I thought of making a Unix-like environment for 16-bit DOS - there's a couple already, to be fair - and I started from the BSDs arbitrarily. of course at that time I was a C n00b 18:20:20 kevans: was just thinking this. 18:33:25 and it's going on for days 18:36:07 "#FreeBSD", 18:36:21 Whoopsie. 18:42:37 yuripv: it has? My apologies, I usually rely on people to poke me in #freebsd-ops as necessary 18:46:44 Licca: are you no more C n00b 19:19:48 rwp: yes I saw it, I did not know if it was saturday or sunday but I remember I checked the day after and it was fixed 19:20:49 I haven't looked at the other package status yet. Let's hope for the best for it. 19:21:57 I read again about the GPU accelration status in FreeBSD, I am wondering if there will ever be light at the end of the tunnel. The closest thing to use GPUs for computing is OpenCL with the Mesa runtime in a relatively old Radeon, and even in that case there are people reporting random issues (off topic) 19:25:29 hi...did anyone have success to install Haiku in byhive, please? 20:43:31 on 14.1 apache 2.4.62 core dumps on graceful but works fine when starting manually: pid 67035 (httpd), jid 0, uid 0: exited on signal 11 (core dumped) 20:43:34 is this a known issue ? 20:54:58 last1: If using mod_php8*, yes. It's been a problem for a long time from what I recall. 20:55:38 Solution: don't use mod_php and use proxy_fcgi with php-fpm. 20:57:11 thumbs: That's been the consensus. I migrated away from Apache+mod_php in favor of Nginx+PHP-FPM a long time ago. I believe the graceful core dump was the beginning of me looking for an alternative. 20:57:16 last1: https://forums.freebsd.org/threads/apache24-graceful-restart.94544/ 20:59:25 wow, fresh one too 20:59:40 ek: Or httpd + proxy_fcgi + php-fpm 21:00:18 Yes, the mod_php DSO has a tiny speed advantage; it also segfaults a lot. 21:00:22 last1: And, of course, this one: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267435 21:01:05 Nearly two years old and still going strong. 21:01:37 Using mod_php was a bad idea 12 years ago. 21:08:57 anyone knows why FreeBSD dropped usage of pecl-geoip ? https://www.freshports.org/net/pecl-geoip/Makefile 21:09:07 the alternative is much worse 21:21:13 I thought MaxMind stopped producing a free version? No? 21:21:44 you can still have a free account 21:45:19 2019-02-15 net/GeoIP: Legacy databases no longer available. Switch to net/libmaxminddb instead 21:47:15 and pecl-geoip seems to be abandonware anyway 23:39:55 i can count the num of files in a dir recursively but how can i get the total line count of all text files recursively? 23:49:56 polyex: well, file(1) says, "The type printed will usually contain one of the words text... executable... or data" 23:51:38 output looks like 23:51:45 /etc/security: directory 23:52:14 /etc/rc: POSIX shell script, ASCII text executable 23:52:49 so it's colon separated 23:52:49 why doesn't find . -type text limit results to only text files then? 23:53:23 oh, "text file" isn't one of the types for -type 23:53:40 "regular file" is, i.e. not a directory or device file or socket 23:54:09 -type f finds those; but it does not search their contents to see if they are texty 23:54:52 find only stats the directory entries, and lets you query the data there 23:57:27 find . -type f -exec wc -l {} + 23:58:29 find . -type f -exec cat {} + | wc -l 23:59:09 omg nice ty! 23:59:57 oh it doesn't filter for only text files