00:01:07 is link(2) is not included in the “system calls” section of https://man.freebsd.org/cgi/man.cgi?query=symlink&sektion=7 00:12:27 mjacob: 1) the symlink itself 2) symlink(7) focuses on symbolic links, while link(2) focuses on hard links, i agree that's confusing 00:46:01 where's some meaningful documentation for the read(1) builtin command? 00:46:09 I'm trying to eliminate a dependency on bash 00:56:45 probably in each of the manpages for the various shells 00:59:25 dgriffi: sh(1) has a decent description, don't try to look at read(1) 01:00:22 imo builtin(1) is a load of bullshit but I don't think I'd get any buy-in for what I'd prefer 01:00:23 I'm trying to get the functionality of bash's "read" builtin with its -d option. 01:01:46 bash(1) has a description of its 'read' with -d 01:02:10 using bash is not an option here, I suppose? 01:03:15 all good citizens de-bash what they can :-p 01:07:51 builtin(1) is still a load of bullshit, even if what they really wanted is bash' description 01:09:11 I've been told to not admit too loud that I'm a BASH fetishist 01:09:38 kevans: I'm trying to eliminate the use of "read -d" 01:10:03 I do like using bash interactively, but for what I'm working on, I don't want to have to tell people "you must install bash" 01:10:44 it's looking like I'll have to port this script to perl 01:13:30 Well, now you're telling people "you must install perl". :3 01:14:36 oh.. right 01:16:15 * TommyC never got a ticket for the bash hate train 01:17:07 I'm still WAY too deep in love with BASH... 01:17:31 It's not my interactive shell but if I need to create a script to be shared with others, it's my go to. 01:17:43 My interactive shell is ZSH. 01:18:59 It just happened to work a tiny bit better than BASH in my case, less surprises, syntax highlighting, well there was a bit of benefits, yea 01:23:24 I ended up with some 200-300 lines ZSH configuration file that does everything that I could ever ask for 01:23:37 Like yea without any framework whatsoever 01:24:14 That's a lot of reconstruction, re-structuring, refactoring (I guess that's the term) but it's so worth it 01:28:10 i don't mind bash as much if the shebang is properly written 01:29:21 my #1 annoyance with it is that it doesn't really put any effort into disabling some of the bash-isms if executed as 'sh' 01:31:31 screw it. I'll just like bash as a requirement 01:31:34 list 06:00:16 I have some warnings about a corrupted GPT table on one of my zfs disk, does this happen when you dedicate a disk to ZFS without partitioning it and using a partition? I've been a bit hesitant to fix it for fear that doing so might overnight some ZFS data 06:07:47 crb: yes, but it's fine to have ZFS on unpartitioned drive, unless you want to boot from it 06:11:28 I mean it does seem to work fine and has for a long time, I guess I'm just thinking it might be safer to partition and then use the partition 06:12:03 I dislike having the warning come up, and for some reason I thought that ZFS put a fake partition table at the front of the disk even when you dedicate the whole disk 06:23:34 crb: Most applications would like/prefer a partition as a safeguard to make sure there isn't anything overwritten. However, they're certainly not required by any means. You can dedicate an entire disk to any FS if you want to. 06:24:05 No partitions needed. Unless, as mzar mentioned, you're trying to boot from it. 06:25:09 What, exactly, is producing the warning message you're seeing? Is this at boot time or something? 06:27:23 What type of disk is it (gpt? mbr?) and how is it being mounted? 06:28:48 If you can, just toss the data on that disk to somewhere else and then reformat again creating a partition (slice.) I'm not sure if that'll actually make any difference, but you might not see those errors anymore? 06:29:04 I've never experienced this, so I'm just guessing. 06:29:32 ek: GEOM produces them at boot 06:30:06 it's an SSD that I didn't partition but merely used in a zfs create like zfs create foo nda0 06:30:36 ek: as it's terabytes of info it's not really easy to just toss somewhere 06:31:53 Does FreeBSD have the ability to update its kernel "on the fly", meaning no reboot needed? Linux cannot, but I can't for the life of me remember doing this while using FreeBSD. Maybe I was always running an out of date kernel without realizing it? (Since full disk encryption was used, it didn't come back on its own if I just rebooted it remotely.) 06:32:11 Unit640, no 06:32:30 Hmm. 06:34:05 Unit640: Definitely not. But, kernel modules can rebuilt and re-loaded on-the-fly (usually.) 06:36:18 Unit640: Actually https://ksplice.oracle.com/ https://tuxcare.com/enterprise-live-patching-services/comparing-kernelcare-enterprise-to-oracle-ksplice/ 06:36:47 Unit640: Ubuntu and RHEL/Clones can do live kernel patching 06:37:17 crb: I wouldn't worry about the boot message. It's likely just a safeguard or fail safe to alert someone about a possible issue with partition issues. Again, I've never seen this, but I can't fathom why that would be an actual issue. 06:39:13 I don't partition my data drives at all. Only my OS drive 06:40:34 Same. Never had any problems. 06:42:47 Although, I also don't generally use single ZFS drives. It's been a long time since I've done that. 06:43:21 Kinda has me curious now, though. 06:45:01 Oh, my! I didn't realize how late it was. I'd better get to sleep. Lots of prep tomorrow for the US holiday that follows. 07:20:47 armin: i already suspected that the symlink itself is hardlinked. but is there a referencable, quotable source for that? 07:22:01 armin: i still don’t understand why link(2) is not listed in symlink(7) as “does not follow symlinks” 08:15:05 is there an easy way to zfs send a whole set up filesystems under a parent? 08:26:39 never mind, thank you 08:30:18 SponiX: Well, I use Debian Linux. Didn't think such major things differed between distros. 08:30:45 It bothers me that a server has to be manually "babysat", regardless of the OS running. 08:35:25 can i run 3rd os other than linux in jail? 08:36:14 luke_jobless_sb, I didn't think you could run linux in a jail, you can run linux in a VM like bhyve 08:36:38 luke_jobless_sb, as I understand it jails are not a VM 08:36:53 * luke_jobless_sb is confused 08:38:33 luke_jobless_sb: jails use the FreeBSD kernel and provide a restricted FreeBSD user space on the host machine 08:39:28 crb: not that i have used it, but https://docs.freebsd.org/en/books/handbook/jails/#creating-linux-jail 08:39:38 A linux userspace wouldn't be able to make use of the FreeBSD kernel (except maybe Gentoo but that's some dark magic I don't study) 08:40:21 luke_jobless_sb: If you're familiar with Linux's lxc project, think of it like that, lxc can act as a container for multiple distributions because they all use the Linux kernel but lxc can't make Windows containers. 08:41:26 i dont any meaningful linux server. but it seems it's time to try such container 08:42:31 Unit640: What do you mean by babysat, exactly? 08:42:50 There's plenty of logging/monitoring utilities and 99% of the time I just use ansible to handle something. 08:43:15 i ssh 08:43:37 lots of people do 08:43:54 luke_jobless_sb, ok but I think the difference there is that it's not a linux kernel running it's linux binaries running under the freebsd kernel 08:44:54 FreeBSD has special sys call support for running linux binaries. There aren't other OS that can be emulated in this way whereas a bhyve VM can run virtually any OS and that OS kernel is actually running 08:45:13 crb: I don't have any opinion. 08:48:38 crb: can i run haiku or darwin in freebsd containerization? 08:48:46 luke_jobless_sb: no. 08:49:03 luke_jobless_sb: you seem to misunderstand the concept of "containers". 08:49:04 Do those projects use FreeBSD kernels (I don't know if they actually do)? 08:49:10 They don't. 08:49:14 ah, then no 08:49:25 (... well, Darwin in some distant past was sorta kinda BSD related) 08:49:26 Alver: I think I misunderstand and this beer helped 08:49:47 You *might* be able to run Gentoo/FreeBSD (the Gentoo project but using the FreeBSD kernel, although I don't know the status of that project). 08:50:18 luke_jobless_sb: you can either run current or older FreeBSD versions in a jail, which can sorta kinda run Linux binaries if you want, or you can install a full OS in bhyve VMs, and then your CPU architecture is the limit. 08:50:42 Debian used to have a kFreeBSD branch. Doubt it gets much testing though. 08:50:49 But, even there, not in a jail. 08:51:03 that's a dayum shame 08:51:23 Eh, it's a "look mon I'm using a nonstandard kernel" kind of thing. 08:51:31 s/mon/mom/ 08:51:37 lol 08:51:52 They have (had?) the same with GNU HURD. 08:52:33 Alver: so if there exists a linux project that runs all of these 3rd os binaries(which belongs to linux) in this manner, can i still run their binaries but it is still on bsd kernel? 08:52:36 "The development of Debian GNU/kFreeBSD has officially terminated as of July 2023 due to the lack of interest and volunteers" 08:52:52 very sad 08:53:02 luke_jobless_sb: a jail is using the same kernel as the host, period 08:53:22 You cannot "install" an OS in a jail. You can have a different userland, provided it can use the host kernel 08:53:30 So, short answer, no 08:53:54 If you want a different OS, use VMs. That's what they exist for. Jails have a different purpose 08:54:04 afaik FreeBSD can only run FreeBSD jails (for now, again I'm not sure of the status of the Gentoo/kFreeBSD project) 08:55:42 That being said, I was trying to get podman to work in a jail. Would have enabled "standard" docker images to run, which tends to be Linux oriented. Quite unsuccesfully 08:56:04 Alver: i just use jails for all. I think those you call purpose is at some point diminished. I just like the fact that I can try them on a new jail and delete it. 08:57:20 o_0 08:57:42 i also like that I can cut internet connection within the jail sometimes 08:57:45 luke_jobless_sb: are you telling us, when you want to use firefox or something you install it in a jail and use that? 08:57:48 You cannot use jails "for all". 08:58:09 TommyC: heh, that would be a fun thing to do, in a way. 08:58:40 Alver: i was thinking about my jails and they don't really fit in those purpose. they are just jailed. nothing so much sake of purposeful 08:58:47 *fullness 08:59:03 luke_jobless_sb: What are you, a docker dev? 08:59:35 TommyC: it's like api jail, nginx jail, client jail, ... 08:59:48 TommyC: you get the idea 09:00:11 git server jail, znc jail 09:00:17 yeah those makes sense 09:02:08 that's for example my uses of jails. pretty much what docker folks do 09:02:55 i feel lazy to 'exactly' try other OS 09:07:24 It's much more efficient doing it in jails too. VMs have overhead, both in resources and time spent in admin 09:08:00 Alver: yes. i am cheap. 09:19:02 * luke_jobless_sb winks 09:41:22 luke_jobless_sb: you should call it "cost-efficiënt". :D 12:57:26 TommyC: By "babysit", I mean any kind of action that a human being has to do related to the server, as opposed to it applying all updates on its own in a fully automated manner. 12:58:03 I repeatedly get the feeling that many people don't want such a scenario/computer world because of job security/sense of purpose reasons. 12:58:51 Do... do you guys not automate that? :3 12:59:03 Automate the unautomateable? 12:59:42 Why are updates not automatable? 13:00:00 I feel like that's one of the first things that people automate. 13:57:03 Some servers are retarded. BIOS set to always on and one hp prolient dl360 for some reason ignores it 13:57:21 but that's hopefully an exception to normal 13:58:06 it also prompts for whether we want auto rebuild or not 13:58:40 on the something or other smart array 420 or so... 13:59:08 I think they're professional comedians 19:28:34 TommyC: Because kernel updates to Linux (and apparently FreeBSD) cannot be applied on the spot, while running, so a reboot is needed, which means downtime and getting stuck at the "enter decryption passphrase" thing. For one. 19:29:10 TommyC: And even with "automatic upgrades" enabled on Debian Linux, it doesn't actually auto-restart the services affected by the updates (except in some cases), so you still need a human to do that. 19:29:19 Unit640: I thought I linked you to the methods that provide that for Linux lol 19:29:38 SponiX: Still researching that, but the downtime for the reboot still would happen. 19:29:58 SponiX: The hacking of the boot process is scary. 19:31:12 Unit640: there is a commonly used service in linux debian based distributions called "unattended-upgrades" that has removed much of that manual intervention... 19:32:06 Well kernel live patching is available for Linux, It only really supports Ubuntu and RHEL. but it does exist 19:32:59 SponiX: kexec supports realisticlly any env properly setup for it.. 19:34:17 Tenkawa: Yeah, but every time I've looked at it - It was too complicated for me. Oracle Ksplice was easy to use, and the Tuxcare support likely isn't that tough either 19:34:18 kexec would be cool to have here 19:34:44 SponiX: yeah I was going to mention it has a high learning curve 19:35:44 I just Unix as a hobby, so the once a week or so reboot doesn't bother my users too much 19:36:36 Ah.. I've been using Unix since 79 19:36:38 heheh 19:37:15 Tenkawa: then you are even OLDER than I am... I started playing with Slackware in about 1995 19:37:34 SponiX: yeah started on Slack in 93 19:38:00 Was running an ISP with it... 19:40:44 https://wiki.freebsd.org/Kload 19:41:03 looks like last activity was in 2016 19:41:09 based on the github 19:41:47 kexec in linux sat for years too... just recently got popular again 19:45:16 his talk goes over a lot of the same stuff you would be expected to solve if you wrote your own bootloader 19:45:59 GDT, IDT, Page tables, TSS 19:59:10 so can I run other os or other os binaries? 19:59:34 other than linux? 20:02:21 i was just asked back and answered some questions(drunk), gone sleep. and it seems I just need to work it out myself 21:13:44 Tenkawa: I'm using "unattended-upgrades", like I mentioned. It doesn't automate it. 21:14:01 It very much requires "attention" from a human, in spite of the name. 21:15:34 Unit640: not from what I've seen.. 21:17:56 ok, linux updates can be discussed in a different channel 21:54:50 Diablo-D3: Governments aren't strictly anti- but are acting on the extreme of "safe side". Everyone is trying to find a "no-trip approach", but several medicinal startups already bakrupted on this - they were trying to synthesize similar molecules but with no trip effect, or to find some trip stoppers (apart from known ethanol and bezno, which are stopping the trip immediately, which also results 21:54:52 in no meaningful effects from the unfinished trip), but it's all crap. The psio+SSRI=notrip will have no effects as well. I believe that it's the absolute chaos in serotonin receptors that "makes" the trip (pleasant or unpleasant experience - doesn't matter) which actually triggers the change in the following weeks. Numbing how the psilocybin affects the 5-HT1A receptor with SSRIs simply will make 21:54:54 it not work at all. 21:55:00 Apologies, wrong channel. 22:03:18 o_O 22:06:47 Wrong chan, as I said. That's a conversation related to Polish government's study on psilocybin on despression treatment, which they are planning to do with psilo along with SSRI. No drug abuse stuff here. My comment was supposed to go on #nutrition. I again apologise for being a dumbass after changing IRC clients ;-) 22:14:58 ssri stop psilo from working however 22:27:39 Yup, that's the topic discussed. Polish government is going however planning to spend some $4M to "test" this theory and they proudly call it "one of the world-first attempts at assessing the efficacy and tolerance of SSRI with psilocybin. It's a complete waste of public money. Apologies for Polish link but it's not available in English. Translate on your own: 22:27:41 https://www.rynekzdrowia.pl/Psychiatria/Bedzie-pierwsze-w-Polsce-badanie-psylocybiny-w-leczeniu-depresji-Psychiatrzy-czekaja-na-16-mln-zl-potem-ruszy-rekrutacja,265327,16.html 22:32:30 cool, anyway, when do we get a working libuuid implementation? 22:32:32 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221293 22:42:17 does it do more than generate uuid's? 22:48:26 yeah, i mean, the current e2fsprogs implementation is missing a slew of features... https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251489 23:55:54 SponiX, Tenkawa: Out of curiosity, why did you two stop using Slackware? 23:56:50 TommyC: moved to Debian and HP-UX (for my job) 23:57:09 ah 23:57:13 TommyC: Think mine is because Linux Mint was more friendly to new users in the friends and family category. So, I started running it too in order to help them 23:57:51 I was a Sun/HP/Linux admin back then