00:20:43 nimaje: what do you mean by units ? i know on my old laptop i needed to look at default.hints or something about units buts thats all i kow 00:23:03 what do the numbers you wrote there mean? what are their units? you only wrote that for one of the numbers "10 mins" 00:28:55 oh, my battery jumpe from 65 to 58 percent in 10 mins 00:29:20 just a meature of how fast the battery is dying 00:41:58 how do i get the uid of a std::process? 00:42:18 is getuid() from libc the only way nothing in std? 00:42:18 polyex: in C++? 00:42:33 sorry wrong chan! 01:58:09 Hi, I'd like to install software like chromium and frescobaldi which pull in pipewire/pulseaudio/alsa dependencies/xdg-desktop-portal/et.al. I'm running a fairly vanilla freebsd 14.0-RC4 with sway/wayland. Is it likely to mess with the audio setup I have at the moment? 02:50:07 id -un lets me get the effective username but is there a way to get the username, or the username running sudo if it's being run? 02:56:40 ps auxww | grep [s]udo 02:57:43 that's it? ick 02:58:44 It's a way. . . you can clean it up more. . . or dig more into the man pages. 03:05:43 Could probably script something that walks the ppid. 03:07:51 /part 04:21:29 polyex: https://www.google.com/search?q=is+there+a+way+to+get+the+username+running+sudo+if+it's+being+run%253F 04:21:31 Title: is there a way to get the username running sudo if it's being run%3F - Google Search 04:22:46 Hello71 CrtxReavr wait all we have to do is check $USER 04:22:51 no? 06:08:23 polyex: that google link already lays out your answer in a 2-sentence generated summary at the top of the page: "If you execute a script with sudo , the tool will set the SUDO_USER environment variable. Use it to retrieve the login name of the user who invoked sudo ." 06:40:35 Does efi alignment size need to be 4K or is it better to use 1M? 06:46:02 iirc the spec mandates 4k as a minimum alignment with no upper bound constraint 07:11:34 kevans thanks for answering 07:23:11 Hello, using poudriere, how can I compile just the ports which have been updated, instead of compiling everything listed in my ports file passed to 'poudriere bulk', in other words, I do 'poudriere bulk -j 13amd64 -p local -f /usr/local/etc/poudriere.d/port-list' but it compiles everything, not just the ports that have been updated using 'poudriere ports -u -p local' 07:57:46 Grell: poudriere will delete and rebuild packages if it thinks that is nessesary, it prints a line at start for each such port 08:05:33 yeah, i just started it up again and there's over 1600 packages on queue, which is pretty much every package on my whole system 08:22:33 hm, maybe because of the libuv update 09:23:52 Hey guys :) we are just reading and discussing https://www.freebsd.org/security/advisories/FreeBSD-SA-23:15.stdio.asc and are not really sure, on how and how fast we need to patch all of our servers.. As we saw, some of the stuff has been fixed back in 2014 when https://www.freebsd.org/security/advisories/FreeBSD-SA-14:27.stdio.asc was announced. But there still is a possibility, to exploit with the patches that have been made 09:23:52 in the past. Only line-buffered streams - and not unbuffered or fully buffered streams - are affected. Correct? Could someone maybe help me to classify this a little bit further? 09:36:56 babz: nimaje: `id` says uid=1001(user1) gid=1001(user1) groups=1001(user1),0(wheel),5(operator),44(video),145(webcamd),920(vboxusers) 09:37:14 not sure if I am in the webcamd group but I do that (webcamd command) via root. and use wacom tablet as another user. 09:37:26 I did `webcamd -d ugen2.3` to make wacom tablet/pen working. it worked but now I see /usr/local/libexec/Xorg :0 -auth /home/user1/.serverauth.2199 taking 200% of cpu. What should I do? 09:39:25 "groups=[…],44(video),145(webcamd),[…]" so you are in the needed groups, so no real idea then, maybe you have to install some mesa stuff, mesa-dri and mesa-libs I think 09:45:06 I was just answering the question "how do I know which group I'm in". 09:45:07 it seemed to me that the message it displayed was clear enough. 09:45:07 As for your problem, I've never used a graphics tablet, but I don't see what being in the wrong group has to do with high cpu usage... 09:47:39 nimaje: mesa-.. already installed 09:48:02 babz: ya 10:51:33 danel1: read log message from commit d09a3bf72c0b5f1779c52269671872368c99f02a 10:51:33 TL;DR CVE-2014-8611 was about all buffering modes, the "fix" was incorrect, and introduced a new, similar bug for line-buffered streams (CVE-2023-5941) 10:54:42 Thats what i already understood. What isn't really clear to me is, how big is the chance of being able to trigger that bug and exploit the "hole". Especially from remote (e. g. apache webserver with logging in buffered streams) but also in general. 10:54:59 can I install a specific ( older ) version of nginx via pkg ? 10:55:17 it seems there's a disconnect between pkgs nginx and modsecurity-nginx 10:55:29 nginx is now @ 1.24 but modsecurity expects version 1.22 10:55:48 hence this error: nginx: [emerg] module "/usr/local/libexec/nginx/ngx_http_modsecurity_module.so" version 1022000 instead of 1024000 in /usr/local/etc/nginx/nginx.conf:3 11:09:58 even /usr/ports/security/modsecurity3-nginx builds against nginx 1.22 11:16:49 eh, I modified the Makefile/distinfo manually. heading into uncharted territories 12:05:48 last1: good luck 12:12:31 danel1: hypothetically maybe https://github.com/apache/httpd/blob/5875b400ee051852c58f3c2738fc2607b76b0549/server/log.c#L1056 12:12:32 Title: httpd/server/log.c at 5875b400ee051852c58f3c2738fc2607b76b0549 · apache/httpd · GitHub 12:45:50 hmm... one of my bhyve VMs does no longer want to boot. I get: 12:45:52 Failed to emulate instruction sequence [ 41f646040874064c017d90eb144c89 ] at 0xbfbb45e3 12:45:52 fbuf frame buffer base: 0x37ca66600000 [sz 16777216] 12:45:54 any ideas? 12:58:23 jbo: i see a similar thing here, https://github.com/churchers/vm-bhyve/issues/261 12:58:26 Title: Guest fails to boot with Failed to emulate instruction error · Issue #261 · churchers/vm-bhyve · GitHub 12:58:26 261 – There is no manpage for `ctm' itself; the ctm_{r,s}mail https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261 12:59:17 but, usually that means: you're trying to run a piece of software that was complied for a different machine 13:05:55 meena, interesting 13:06:06 meena, bhyve would be part of base tho 13:06:16 meena, and other VMs are not affected :/ 13:27:56 morning all 13:39:47 hi, it's midnight here 13:42:08 jbo: that's just the first hit i found, and it's most likely coming from bhyve directly not from vm-bhyve. 14:00:44 https://hastebin.milkywan.fr/raw/akohexeceq 14:04:36 jbo: reads like bhyve is complaining ("Failed to emulate") so the software for the wrong machine would be inside the vm, not bhyve 14:06:02 babz: same here 14:06:58 (but that's inside a VM …let's see what outside says) 14:10:43 nimaje, yeah. I've been using this VM without any problems for month now (it's an Ubuntu guest) 14:10:56 and other VMs still run just fine q__q 14:15:12 yeah, laptop also says invalid. 14:15:43 jbo: which Ubuntu version is this? 14:16:02 meena, 22 something 14:16:11 freebsd host is stable/13 14:55:21 Hello. What this thing __BEGIN_DECLS ... __END_DECLS doing in my /usr/include directory? 14:55:44 who originates this code? what is that command doing? 14:56:08 I think it's a C++ vs. C compat thing 14:56:09 i found it in /usr/include/ctype.h 14:57:01 is that what i add with #include ? where can i know more? 14:57:13 which package puts it there? 14:58:03 in this Fedora, the defines are in /usr/include/sys/cdefs.h 14:58:27 commented /* C++ needs to know that types and declarations are C, not C++. */ 14:59:24 i found here only once https://www.gnu.org/software/libtool/manual/html_node/C-header-files.html 14:59:24 Title: C header files (Libtool) 14:59:45 We used to recommend __P, __BEGIN_DECLS and __END_DECLS. This was bad advice since symbols (even preprocessor macro names) that begin with an underscore are reserved for the use of the compiler. 15:00:04 though, where is an explanation of those? 15:00:32 why wouldn't they write about them in article, not only footnotes? 15:11:26 jgh: can you find __BEGIN_DECLS there? 15:11:38 before int isalnum(int); 15:15:10 they are supposed to expand to 15:15:10 extern "C" { 15:15:10 } 15:15:10 when building c++ and to nothing otherise 15:15:45 babz: could you kindly advice me where did you find that information though? 15:15:50 thanks 15:17:08 /usr/include/sys/cdefs.h 17:27:33 So i'm going on campus today and i need to connect to there network. currently at home i like wpa_supplicant it just works. the security at school is eap PEAP there some examples on how to connect this ? 17:27:46 i saw some in wpa_supplicant.conf but i don't know which one to use 17:28:02 wpa_supplicant.conf man page that is 17:29:12 here is an example https://forums.freebsd.org/threads/wpa_supplicant-2-6-eap-peap-iwm-8260.63962/#post-371416 17:29:13 Title: wpa_supplicant 2.6 EAP-PEAP iwm (8260) | The FreeBSD Forums 17:36:47 do they not provide documentation how to connect to their network? you need the ssid and what to use for identity/password and phase1 and phase2 17:40:36 They do but basic not complex and not for linux/BSD they tell me this https://dpaste.org/dNJXH 17:40:38 Title: dpaste/dNJXH (Python) 17:47:07 hm, except for phase1 it contains everything, and as I understand the man page phase1="peaplabel=0" probably works for that one 18:33:07 jb1277976: WPA-EAP is a bit of pain to connect to. But if you have the relevant config file snippet, that should be no problem. 18:33:42 Thanks 18:34:11 jb1277976: So if you have a smartphone with you for example, you could just google for "wpa supplicant conf wpa eap enterprise" or something, which would reveal stuff like this: https://gist.github.com/aspyct/994b603aaefe5996ca331f107d6abb67 18:34:12 Title: Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file. I used this to connect to my university's wireless network. · GitHub 18:35:46 armin: in rc.cinf instead of just WPA DHCP should I add something else? 18:35:59 jb1277976: So if you're comfortable with editing such a wpa_supplicant.conf from scratch inside some terminal editor, you could just call wpa_supplicant without arguments, then the last line would emit a working commandline, that you can use to connect, and then you just need to dhclient/dhcpcd I believe. 18:36:01 rc.conf* 18:36:08 jb1277976: that will not work, no. 18:36:41 jb1277976: At least I think it won't, i'm not aware if that even works, connecting automatically to WPA-EAP *on boot, without any interaction*. 18:36:52 But the manual way should work at least, so you could easily script something. 18:37:21 before-my-time question, how did one know what version of FreeBSD your userland is back on 9.x? 18:38:16 dch: There's the "freebsd-version" command, but I don't know since when. 18:38:49 armin: it wasn't present then, and it looks like it has a hardcoded at build time for userland version. 18:40:14 I can `fgrep \$FreeBSD /boot/version.4th` which seems reasonable enough for my purposes, I wondered if there was a better canonical way 18:42:22 dch: I don't think there is one, the freebsd-update script even has the version number hardcoded as USERLAND_VERSION 18:42:32 dch: I think your attempt is fairly reasonable. 18:44:19 https://people.freebsd.org/~dch/posts/2021-02-25-what-version.html 18:44:21 Title: What version am I running anyway? - Random Musings 18:44:25 oh I just stumbled upon your post. :) 18:44:36 lol somebody should update that for 9.3 :D 18:44:48 *hides* :-) 18:45:26 I started immediately using 10-CURRENT before 9.3 was released, because of zfs stuff. I never actually used 9.x in anger. 18:45:59 My first FreeBSD version was I think 4.something? The first one before the 5 release. 18:46:28 Then 5 came and everything was SO much easier, but I can't remember what exactly the difference was. :) 18:46:33 I missed out on all the fun times. 18:46:45 those were my Management Years. 18:47:08 I was just job-less, living in a much too small flat, no warm water but DSL. 18:47:59 And so it somehow happened that I ended up trying FreeBSD, and wow was that mind-changing. 18:48:43 sometimes we only need 1 good thing to get through the hard times 18:49:42 OH, keep in mind that fgrep and egrep are considered "obsolete" (at least on some weird userlands), I've read some warning a couple of days ago but I can't remember on what system that was. 18:50:12 I'm pretty sure a lot of scripts will break when they just silently remove that. 18:50:19 all of mine will 18:50:25 :) 18:51:11 I even have shell aliases for gerp, grpe, and variations of fat-fingered mistypes. 18:51:21 I'll just add 2 more aliases and be done with it. 18:52:05 I have weeeeiiiird wrapper scripts for ALL the things, with HIGHLY questionable names, sometimes one-letter names, and sometimes the scripts are entirely un-readable and just more a piece of "art" than actual code. 18:52:39 https://uno.m2m.pm/np.sh.txt 18:52:45 This here is a good example. 18:53:03 * dch splutters 18:53:16 There's no logical reason to write stuff like that except "boredom" I believe. 18:53:40 I have lots of 2 letter funcs, thats short enough. 18:54:01 I love to use one-letter aliases and stuff like that. :) 18:56:44 But yea, that's one HUGE reason for me to stay with *BSD operating systems: Almost anything is just plain-text, you can simply reverse-engineer almost the whole system just while you work. 18:57:37 I also feel that the levels of indirection are the lowest you can anyhow get with any operating system. FreeBSD is really really nice in that regard. 18:58:15 * kevans notes that removing [ef]grep and friends is silly 18:58:41 if there's any real maintenance burden to keeping a couple hardlinks around then you're doing something wrong 18:58:55 the implementation in grep itself should be stupid simple 18:59:01 I agree. But still, just put some tiny wrapper scripts there that call grep -E "$@" or something and call it a day. 18:59:06 (it is stupid simple in bsdgrep) 18:59:36 while i'm already angry about things, you can pry rgrep from my cold dead hands thanks 18:59:47 * kevans runs away 18:59:58 what about rg? :) 19:01:01 fwiw, I just "ln -s /usr/bin/rg /usr/bin/ripgrep" that thing... 19:01:48 same with "chromium" being symlinked to "chrome", the only reason being that I don't want to type "chrome" in dmenu and end up with "chromedriver": 19:02:44 "ugrep" is much easier to use than "ripgrep". "-r" option, for recursive search, works just as expected (wrt "grep"). It could be that having equivalent option bundles of the two, "-r" does misbehaves for "ripgrep". I use "ripgrep" when "ugrep" is missing, as it is on Rocky Linux 8 19:03:25 parv: Wasn't aware that ugrep exists. Thank you. 19:04:56 Speaking of which, last time I tried "the_silver_searcher", its file ignoring option were massively not working; abandoned it; found "ugrep". 19:07:43 What annoys me major time currently is that my "cloud VM hoster" (or whatever you choose to call it) recently moved to a new web UI. That thing does NOT allow me anymore to upload custom ISO files. 19:08:13 I mean it's not THAT much of a problem, I can just write them a mail like "plz attach the following ISO kthxbai" and they will do that within a matter of minutes, but it's still itching me. 19:09:50 Also now the OpenBSD 7.3 and 7.4 ISOs hang when trying to boot, something with SCSI controller blahblahblah. I'm just thankful that FreeBSD and NetBSD still work fine. 19:12:24 armin: i can't use rg out of principle, I maintain bsdgrep 19:12:29 :-) 19:12:37 kevans: ahahahaha no way :D 19:13:02 *laughs tears* ok. :) 19:13:26 I can't tell people that complain about bsdgrep's speed that it's "not that bad" if I go off and use something else 19:14:08 I honestly don't care that much, I mean, if *I* would try to write something like grep, I can tell you 100% that it would work but also be damn slow and terrible code. 19:14:23 =D 19:15:11 I also value an elegant solution over a performant one. 19:15:51 I mean code, UNIX, shell, all that stuff is ART. People who do that stuff are ARTISTS. It's okay if someone just wants to build something beautiful instead of something sellable. 19:16:13 Come on, kevans! You can certainly use "ripgrep" evven if you maintain "bsdgrep"; just look at all the reports of FreeBS developers using Mac for FreeBSD developement 19:16:51 parv: They just use a Mac to connect to FreeBSD computers, that's not actually using a Mac to run FreeBSD. ;-) 19:16:54 I know too many FreeBSD developers not using Macs to fall for that kind of bullshit 19:17:00 * parv should retire for now as can't rite no more 19:18:22 And with the current M1/M2/M3 Macs, yea it's theoretically possible to emulate FreeBSD arm64 on these, but it's still so much harder than it should be. 19:19:01 It's also simply fun to run FreeBSD vanilla natively on your computer. It's good. Why not do that. 19:19:48 I have some cool M1 Macbook but I still want my workstations with Linux and FreeBSD/OpenBSD, it's a sane world for me. 19:20:51 I can't even say why. Most of the time I run some 800kbyte window manager and just some terminal windows. 19:21:25 On some Ryzen 9 with 32GB of RAM and 43" monitor. It makes no logical sense. It's just using a very fast computer with a sane operating system and I like that. 19:23:41 But meh, FreeBSD is damn damn damn good as a desktop, I see absolutely no reason to not run that. 19:26:24 I also have FreeBSD on my workstation and I love it. 19:28:24 FreeBSD moog 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 19:28:28 works just fine over here, yea 19:32:44 I've always had *some* desktop running FreeBSD since I think version 5 now. 19:34:51 While I do weird stuff like making music, making graphical art, DJing and whatnot, and while not everything of that works for me on FreeBSD (yet), I still must say it's a safe harbour for me. 19:47:36 oof groggy 19:48:12 Wow, I'm not using FreeBSD for that long... I think the first version I used was 12 or 11 19:49:40 Back then my whole flat (I think 7 computers) ran on FreeBSD. 19:50:02 Router was also FreeBSD, attaching the other 6 computers to the internet by a 56k modem (shared). 19:50:14 holy 19:50:25 That's crazy 19:50:59 No, what' scrazy was doing that with a 14.4k modem. 19:51:05 It was less crazy than you might think, everything just worked, I was able to set up everything out of muscle-memory, all fine. 19:51:12 56k, not 14.4 19:51:30 The point. . . you missed it. 19:51:39 meh :) 19:52:15 But yeah that's the life that I still want to live, terminal-focused, just text, nothing weird going on. 19:52:24 Actually, I think when I was using a 14.4k modem it was with linux & ipmasq. 19:52:51 Had a chat script that demon-dialed the university modem rack, logged in, and ran slip. 19:53:04 I still know ipfw by heart. ipfw deny any from CrtxReavr to #freebsd via libera0 19:53:39 route add armin localhost -blackhole 19:53:45 noooooooo! 19:53:52 :D 19:55:22 but yeah I'm really satisfied with Xorg/Wayland on FreeBSD these days, it works great. 19:55:42 armin: im connected to my school :P 19:56:07 jb1277976: back then we bribed the waiter of the university so he would let us sleep in the UNIX terminal rooms. We were 14 back then. 19:56:21 nice 19:56:30 you must be a boomer or something lol 19:56:40 jb1277976: All that guy asked for was a "rambo doener kebab" or a large pizza. 19:56:46 I'm 43. :) 19:56:53 * jb1277976 is 43 also 19:57:01 * kevans is not 43 19:57:06 My father was a professor at that university so it was safe legit easy to come in. 19:57:51 We just slept in the terminal rooms, ate pizza, and connected to some weird HP-UX machine that was fast as hell. 19:58:42 * ZedHedTed is only 27 19:59:10 So yes, my first love with UNIX was actually HP-UX, I'm still in love with it, I admit that. 19:59:18 been on linux my whole adult life, but i really want to try out GhostBSD, which is based on FreeBSD. 19:59:37 GhostBSD is just plain bad, try FreeBSD vanilla, if you have any issues ask just here. 20:00:03 Well it's not plain bad, it starts a working FreeBSD desktop for you, but it's slow as hell and whatnot. 20:00:16 At least *try* to do it yourself. 20:00:28 i have no experience installing and configuring the GUI manually, outside of OpenBSD which was extremely simple. 20:00:29 i've been on linux off and on since the early 2000's but neve really stuck to it casue of life. im back in teh groove and am on vanilla freebsd. i just came from gentoo like 3 days ago 20:00:53 ZedHedTed: FreeBSD is super simple, too, you just need to know how that works. Ask here, we're here to help you. 20:01:52 ZedHedTed: It's not complex or magic stuff by any means, it's 15 steps you need to learn and then it's good for the next 7 years. 20:02:03 armin: will do! i'm still gonna try GhostBSD first but getting the real deal (meaning FreeBSD) is the ultimate goal. 20:02:30 ZedHedTed: GhostBSD is superb, no question, but still, you will get a MUCH faster desktop with vanilla FreeBSD if you want that. 20:02:40 and i'll look up those 15 steps. if 1 of them doesn't go as expected, i'll ask here. 20:02:50 just ask, we will point you there. 20:03:39 You will realize why removing bloat is much more difficult than adding it. :) 20:03:49 i don't wanna be lazy. i'm cool w/ googling it first. plus i'm not doing it today. 20:04:09 nah be lazy, we're not some elitist nerds or something, we're a helpful community. 20:04:30 just ask if you're stuck, we're here to help. 20:04:37 wow thanks :D 20:04:39 :) 20:07:55 FreeBSD is *the* operating system if you're lazy, actually. :) 20:08:57 Whatever you want to do, it's most often streamlined, simple, matter of editing 1 or 2 files, and restarting 1 or 2 services, and that's about it. 20:09:42 The reduced complexity is, in my point of view, *the* selling point for FreeBSD compared to, meh I don't want to compared it to that, but here I am, Linux. 20:10:50 The multiple layers you need to dig into, that amount, is just lower than on almost any other operating system. 20:13:43 Especially for desktop usage, I think FreeBSD is very close to the best you can anyhow get currently, I see almost zero downsides anymore, stuff just works beautifully. All the stuff I complained about in the last 15 years is fixed. 20:14:03 All the stuff. 20:16:51 GhostBSD is perfect to get your hands wet, yes, but by all means, at least try to do exactly what GhostBSD does by yourself. It's super trivial and you will actually understand FreeBSD that way. 20:17:55 not to mention Linux is just a kernel w/ distributions slapping different OS components on top of it, whereas it looks like FreeBSD has the kernel and all other OS components in the same uhh, package, for lack of a better word 20:17:57 well, that's just adding a layer of complexity ;) 20:18:24 ZedHedTed: well if that's what you're after, OpenBSD might be worth a look *cough* 20:19:41 ZedHedTed: but yeah, you get an operating system that was made for your kernel, it will run on that just fine. If you want something comparable in the Linux world, maybe Alpine is worth looking at, it's very close to the BSD experience. But still, the useability of FreeBSD remains un-matched I feel. 20:19:42 armin: i actually installed OpenBSD on a thinkpad E440 almost 3 years ago. it was surprisingly easy to install and configure. but it was so slow. too slow for me. 20:20:22 ZedHedTed: I use it on an X230, it is not as fast as Linux, but I love the sanity, the structure, everything. 20:20:46 ZedHedTed: it makes sense to me, that's all that matters. 20:21:14 armin: same. and their website has very detailed guides telling you exactly what to change in the conf files to get the most sensible X11 experience. 20:21:39 ZedHedTed: I never needed that, everything just worked for me. 20:21:58 ZedHedTed: OpenBSD is, yes, there, I said it, the other safe harbour. 20:22:36 If you drug me with weird substances and put me in a room with a very old computer and a USB stick, yes, that's the thing I'll install. 20:22:56 "xset r rate 210 35" <- this here I found to be perfect 20:24:40 What's amazing me is HOW well the BSDs work on outdated hardware. It might be slow, yes, but it will still work absolutely. 20:27:49 And I refuse to buy something better if what I get already is *THAT* good, yes. :D 20:30:14 But yeah, especially with FreeBSD, there's really nothing missing anymore, even the 1337 nerd tiling wayland compositors just work... 20:31:22 honestly whatever your weird desktop setup might look like, it will VERY likely JUST WORK on FreeBSD just today. 20:31:23 hmm so i'm at school right and i have 2 laptop with freebsd on them. i have wifi on both of them with diffrent ip address. sshd is running on both but i cant' connect to one. i can't even ping the other one. any ideas ? 20:31:49 jb1277976: that might just be "wifi security" implemented by your school. 20:31:50 ap isolation 20:32:04 aw 20:32:30 jb1277976: there's usually a way to circumvent that, your wifi provider will probably know. 20:33:08 jb1277976: It's really common, also at hacker congresses and whatnot. 20:33:55 jb1277976: the default will be "no you're not allowed to do that, pal!" and if you want to override that you can usually speak to whoever runs that netWRK. 20:35:38 Cool got it. im basicaly trying to get sound on this chromebook. Comet Lake PCH-LP cAVS https://termbin.com/wel8 20:35:54 anyone up. i found a bug on it. but nobody resopnded 20:36:30 snd_driver is loader and loader.conf looks good 20:37:14 jb1277976: what does cat /dev/sndstat say? 20:37:31 litteraly somebody has a thread about it https://forums.freebsd.org/threads/no-sound-with-sound-card-intel-comet-lake-pch-lp-cavs.87085/ 20:37:32 Title: No sound with sound card Intel Comet Lake PCH-LP cAVS | The FreeBSD Forums 20:37:38 everything there matches what i'm doing 20:37:43 oh :) 20:41:32 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267817 20:41:34 Title: 267817 – No sound with Intel Comet Lake PCH-LP cAVS sound card 20:42:23 I've been enjoying my freebsd part-time desktop I put together. Nothing special though, just an old dell workstation past it's prime... But it zips! 20:42:26 Anyone have some freebsd mastery books on hand? Trying to decide on buying either the storage essentials or advanced zfs book considering I already have Absolute Freebsd and the ZFS book. Looking to install freebsd on my laptop when I get another nvme available for testing. Not sure if I'll go UFS or ZFS, but I guess ZFS is probably recommended... 20:51:45 gnuself: hmmmmmm, you *very* likely want ZFS on a laptop because the installer will offer you to encrypt the drive with GELI. 20:52:07 gnuself: which is super super nice, straightforward like hell, will just work, everything. 20:52:41 gnuself: you will ONLY get that option to encrypt the disk if you say ZFS, though. 20:52:54 gnuself, I use ZFS for joining multiple disks, UFS if only using one disk. My home FreeBSD desktop / file server has ZFS boot / root on a pair of drives with the file shares using ZFS on another pair of drives. Others will have other opinions. ;) 20:53:20 unixman_home: :) 20:54:21 armin: thanks. I've encrypted my drive before, but then I was unsure at a point...I've never tried restoring from a crashed drive. So when I thought about that, I was unsure if I wanted to add the complication of encryption on top again. Maybe I can look at a restore scenario somewhere 20:55:16 gnuself: well it's abit like a backup, it's fine to make these, it's fine to be proud of making backups, too, but, uhm, did you ever try to restore one? 20:55:27 unixman_home: I'm using what was setup in ubuntu's version of zfs for the laptop I'm using now... kind of annoying the way they did it with the snapshots though, because my bpool continues to hit the 20% threshhold they like 20:56:16 well the thing that I learned about file systems is that you can not 100% rely on it even if you fully understand it. 20:56:32 armin: yeah, that's usually the important bit. Haven't had a crash in a while, but not looking forward to it anyway. Need to get an external drive for some stuff or something 20:56:52 humans will always over-estimate their intelligence, we're just very stupid being trying to use UNIX computers. 20:57:37 armin: believe me, I understand when my professional work is on z/OS mainframe code 20:57:50 gnuself: I love oldschool machines. 20:57:57 Agree with armin about backups. If you have not tested restoring from a backup, you don't really know you are "safe". 20:58:21 unixman_home: it's super common, though, I've failed for that, too. 20:58:42 Same. Experience is a hard taskmaster. ;) 20:58:48 :) 21:07:01 anyone here have a machine with no audio ? i'm trying to figure out what it would be like 21:14:09 jb1277976: do you have the specs of you machine ? what's the audio controller ? 21:15:04 I have acces to some VM but it shows "pcm0: (play/rec) default" in /dev/sndstat 21:17:29 babz: 'Comet Lake PCH-LP cAVS' 21:17:52 this hardware has no audio 21:18:22 Quoth the sndstat: "No devices installed.\nNo devices installed from userspace.\n" 21:20:02 pcm0: (play) default 21:20:08 jb1277976, my home desktop / file server I mentioned above has audio capability, but it is not used. There is nothing attached to the audio out ports. Nice and quiet. :) 21:20:28 Nice 21:35:27 why does $SUDO_USER get set? $USER is always the original user seems redundant? 21:36:31 bsd ~  sudo -s -E 21:36:31 root@bsd ~  echo $SUDO_USER 21:36:32 armin 21:36:32 root@bsd ~  echo $USER 21:36:32 root 21:36:34 root@bsd ~  22:23:19 polyex has left already but among the useful feature of SUDO_USER is that one can use it when three people might use sudo for interactive root to personalize the interactive sessions. I do an if SUDO_USER is set and if the file exists then <<. "$HOME/.$SUDO_USER/.profile">> to source customized profiles so each of us can have personalizations. 22:30:51 hello - i currently have a cron job that is suppose to run at 2300 hours everyday and for the life of me, i do not understand why it is not. The sh script works in isolate (direct invocation) but when i add it to a user cron job entry.. it NEVER runs 22:31:54 * 23 * * * * sh /home/chrisdavidson/blinksystem/download_blink_videos.sh <--this is the entry that comes back after doing a crontab -l 22:52:21 voy4g3r2, your $PATH is probably not what you expect 22:52:52 voy4g3r2, pipe stderr to a file and see what it says 23:01:58 okay, i will give it a try and wait for tomorrow :) 23:03:42 and doing a simple echo $PATH demonstrates, that is probably the issue :) 23:04:40 voy4g3r2: also if you want it to run only once a day you need to specify the minute 23:05:04 so * 23 0 * * * 23:05:12 i think the parameter, if i am not mistaken, is the minutes? 23:05:31 good catch, thank you! 23:05:33 no 0 23 * * * 23:05:41 to be fair since it's failing anyways you could bump the time up to a closer time just to debug it, instead of 1-day debug cycles 23:13:48 kevans: true, i have other things working on and i just ran it manually.. so not many security videos to download anyway.. but definitely true 23:14:38 cron traditionally cuts out at least /usr/local/bin from PATH, so I'd also bet on that since it's different from your shell environment 23:25:22 voy4g3r2: check you mails 23:30:28 babz: never. 23:30:39 what ? 23:30:52 people who check their mails fall for phishing. I would never, ever check my mails. 23:31:12 On every new system where I am unfamiliar with the environment I always test cron's environment with "* * * * * root env | mailx -s cron.env me⊙ec" so that it will mail me the environment it is running under on the next minute. Then after getting it I delete that entry. 23:31:19 it also asssumes i have sendmail or ANY mail service operational... i have disabled all that :) 23:31:48 i do not even know if i have mailx installed.. 23:31:48 lol 23:31:49 Well if you have no email then I guess one could "env > /tmp/cron-env.out" and then look there. 23:32:07 But no email? That's such a useful thing for notifications. 23:32:45 yes, it is great.. i have no clue things are broke.. if i don't know, i have less worries :) 23:32:53 for the longest time I was trying to find a mail(1) like interface for xmpp, but the only ones I found were woefully out of date or way too clumsy for cron use 23:33:03 Regardless you should check /var/log/messages and look for the cron entry. It may have an error indicated such as permissions on the file preventing cron from using it. That's another typical problem. 23:33:07 voy4g3r2: good choice. 23:33:23 if I could find one for matrix, I'd totally take my notifications over matrix instead 23:33:30 rwp: agree, just being passive aggressive because things has annoyed me :) 23:33:39 voy4g3r2: you can also tell cron to never email you with sysrc cron_flags="-s ''" 23:34:10 -m, that is. not -s 23:34:14 good to know 23:34:26 thankfully these are just dev boxes 23:34:29 but point taken 23:34:45 I created a new /etc/cron.d/foo crontab entry just this last week and got caught myself with a permission problem. It was group writable and logged an error. But even though I know that rule I still got snagged by it. 23:35:02 that still leaves periodic trying to email you, but that can also be helped by telling it to actually just FUCKING LOG INSTEAD OF MAIL. 23:35:35 yeah well.. i did put some logging in the python program but clearly, if it never runs, it will never tell me those errors 23:35:58 voy4g3r2: https://gist.github.com/igalic/c77ed494e102977c9fd06ce9b053cda0 23:35:59 Title: disable sendmail on FreeBSD, completely. · GitHub 23:36:20 ignore the bit about "# since sendmail_enable="NONE" is deprecated (since 2004, lol), this is how to disable all of Sendmail:" it's been undeprecated. 23:36:57 I am pretty sure that has as you say been undeprecated. 23:37:04 interesting.. wouldn't sendmail_enable="NO" be sufficient or the additional items more explicit than implicit? 23:37:30 voy4g3r2: unfortunately, no. NONE it has to be. 23:37:44 * meena → bed 23:37:48 haha 23:37:56 i had it as NO not NONE 23:38:00 thanks meena , later 23:38:03 meena: hey wait 23:38:15 kevans: okay, fine 23:38:22 Here is one reference https://reviews.freebsd.org/D36950 23:38:24 Title: ⚙ D36950 disable sendmail with variables specified in rc.sendmail(8) 23:38:24 phew, ok, you're back 23:38:27 later friend =D 23:38:37 inertia is difficult 23:39:03 kevans: I feed your baby to my hound. 23:39:15 woah now 23:39:25 The old commit from 2002 that started the deprecation was https://cgit.freebsd.org/src/commit/?id=d87e0e8e230495df3be59a8a5c173aafc83bc450 but then that never happened so it was undone by the other. 23:39:26 Title: src - FreeBSD source tree 23:40:06 For all of the years between the bsdinstall program has been ignoring that and setting sendmail_enable="NONE" so lots of systems will be set that way. 23:40:10 kevans: https://im.eena.me/uploads/90836bfcdee0d4fb/IMG20231108233917.jpg 23:41:10 meena: I don't think my baaby's foot could fit in their mouth 23:41:11 Oh what a cutie! 23:41:43 she got a haircut today