01:25:27 This is probably bad form, but is anyone here from Netflix on the Open Connect program? If so please DM 01:26:08 not seeing any of the OCA netflix'ers in here 01:26:37 (sorr) 01:32:57 No worries! 01:48:08 hey anyone have any idea why my enlightenment desktop is restarting continuously and the error log is saying it failed to connect to dbus? 01:50:02 Is dbus installed and running? 01:53:54 pretty sure 01:54:03 yes 01:54:35 you get a pid from service dbus status right? 01:54:59 yes 01:57:23 I run plasma.. and it uses SDDM for the login system. one of the things that does is call a script - plasma-dbus-run-session-if-needed 01:57:54 presumably if the dbus session is already started, that can tell in some way and use it, or just fire up a new one as needed 01:58:29 yeah I think it is something else 01:58:38 something causing issues with enlightenment on FreeBSD 01:58:45 I shall spam the #e channel 01:58:47 and I have a couple dbus-someID= in /tmp 01:59:10 AumShivaya: have you tried "dbus-run-session enlightemnt" (or whatever the executable is called)? 02:00:07 no 02:04:34 did not work, I think it requires startx 02:04:43 do I try putting that in .xinitrc? 02:05:49 just put 'dbus-run-session' before whatever the command is that starts the desktop. it might not make any difference but some applications require it 02:06:27 nah still has issues 02:06:28 oh well 02:06:29 bbl 03:02:32 hey everyone, yesterday I was reporting a ssh "dropped connection" issue with a bastille container.. i did some work, restart container, changed network from vnet -> direct bridge and i am still experiencing "dropped" ssh (which did work at one point in time). From the logs I do not see anything either, is there possibly something in this output, that I am missing? https://bsd.to/SSdw 03:02:33 Title: dpaste/SSdw (Plain Text) 03:02:38 i am able to login to other boxes just fine 03:04:50 well that is just a horrible paste.. it was pulling buffer 03:05:35 https://bsd.to/8sC3#L17 03:05:36 Title: dpaste/8sC3 (Plain Text) 03:37:52 launch ssh with plenty of verbosity, it should tell you why it disconnects 03:40:06 I would also launch an sshd -d in debug mode and see the other end of the connection. 03:48:47 ha! 03:48:52 thank you! PAM initialization fail 03:49:08 well that is odd as i really never touch PAM but at least it is something 03:49:35 https://bsd.to/D5Gk 03:49:36 Title: dpaste/D5Gk (Plain Text) 03:51:27 What, in ports, do you guys use for basic file hosting? I mean like *very* basic. I just don't want to create a script that generates an html file with somefile
(on multiple lines). 03:52:29 TommyC: are you just focusing on a HTTP server or you talking like windows shares, apple file protocol, nfs? there are many ways to "host files" 03:53:51 voy4g3r2: ah my bad, yeah just http(s) 03:56:03 TommyC: i use nginx, but i think openbsd's http server might in ports and it's even smaller than nginx (i can't remember what it's called though) 03:56:37 ah, www/obhttpd 03:57:22 if you want to go down apache route, i typically see nginx used more.. here are steps for apache: https://docs.freebsd.org/en/books/handbook/network-servers/#_configuring_and_starting_apache 03:57:23 Title: Chapter 32. Network Servers | FreeBSD Documentation Portal 03:58:37 ok I apologize. I really should've clarified: I don't mean http daemon software (apache's httpd is what I'm using), I meant what do you use "on" the web server. I've never done webdev work so I really don't know what it's called (content management system, maybe?), but for example, I'm not looking for anything as heavy as wordpress. 03:59:07 you're just serving a static set of files from a directory, right? i don't use anything for that, i just enable directory indexing on the server. maybe i misunderstood the question... 03:59:47 or do you want to let people upload files by http as well? 04:00:37 lw: no uploads outside of myself, but the files are going to be updated every now and then 04:01:52 so i just do something like this in nginx: https://www.le-fay.org/tmp/30d/9rBMnU.txt 04:02:27 ah ok, I'll try that out 04:02:37 apache can do that with mod_autoindex (which i think used to be enabled by default, but they might have changed that for security reasons) but i wouldn't suggest apache for this unless you already use it 04:03:45 I do use apache but I'm not all too familiar with any http daemon software. Webdev isn't something I've tried to tackle (no interest and I get paid to do something completely different) 04:04:48 if it helps this is my entire virtual host definition in nginx https://www.le-fay.org/tmp/30d/5dc9KI.txt but the location /pub is the only important part. you can put that in location / if you want to serve files at the site root 04:04:48 I'll check out apache's autoindex feature. It may be what I'm looking for. 04:05:45 the generated listing looks like this, which is pretty basic but sounds like it's enough for you: https://www.le-fay.org/tmp/30d/Screenshot.from.2024-01-17.at.04_05_00.399773358.png - Apache can do more fancy stuff here like including html headers/footers based on files in each directory 04:07:45 lw: yeah that looks pretty good, and that's enough for me 04:08:23 lw, voy4g3r2: Cheers. Sorry for wording my question confusingly. 04:17:26 good luck 04:40:43 I have a DLP-TEMP-G I'd like to use if possible. This is a small USB device that shows up as a FDDI serial interface with an arcane protocol. Anybody familiar with it? It *works*, but I don't have a way to convert its output back into temperatures. 04:41:51 The datasheet is here: https://www.dlpdesign.com/usb/images/dlp-temp-ds21.pdf 04:48:51 I mean FTDI, of course. 04:54:29 FDDI temperature sensor :-D 05:03:57 TommyC, I suggest Nginx myself. It's what I use. It's much lighter on resources than Apache. But anything that works for you, works for you! :-) 05:07:54 things that are must aren't 05:13:12 lw: the fingers type what's most familiar. :/ 05:25:49 ghoti, I think I have played with one of those DLP-TEMP-G in the past and I think it just prints temperatures to the serial port continuously if it is the one I am remembering. If you plug it into the machine and then connect to the serial port do you find it printing temperatures back to you? 05:29:23 rwp, per the datasheet I linked to, there's a serial protocol and a response that must be interpreted when you send a request for one of the 3 connected devices. You might be thinking of the TEMPHUM. 05:29:59 I might be thinking of TEMPHUM. Or any of several other random temperature sensors. Memory? What's that? 05:33:31 TEMPHUM is notorioutly approximate. I might use numbers from a bank of 5 of them where I toss the outliers, but those units are really only good for recording relative changes, not absolute values. 05:34:17 I'd love to use a DHI22, but I have no GPIO on this server. :/ 06:26:53 hmm, why does /usr/local/etc/poudriere.conf not have the option to add overlays automatically? 06:27:26 kenrap: FWIW, there are #poudriere channels on Libera and EFnet if you don't get an answer here. 06:35:15 i wish portlint would pick up the current ports directory automatically 08:14:26 ghoti: seen this? http://svn.andrew.net.au/viewvc.cgi/svn.andrew.net.au/scripts/read-temperature.py?diff_format=l&hideattic=1&sortdir=down&logsort=rev&sortby=author&limit_changes=0&view=markup&revision=22 08:14:41 could work with some modification in freebsd as well I suppose 09:27:31 Hi there, where is the proper place to change environment variable TERM for serial terminal ? 09:27:45 need this for bhyve virtual console 09:28:54 nevermind /etc/ttys ... 09:55:41 Fixed! Seems the upgrade wasn't entirely clean and there still references to pam_opie in /etc/pam.d/ files which was causing su to break 09:55:59 there were* 10:23:39 hey with updating ports collection to latest Quarterly branch 10:24:07 do I have to remove the ports in /usr/ports before checking out with git? 10:24:12 I installed them with the bsdinstaller 10:28:53 ok, I have a question.... enlightenment (desktop) depends on EFL (foundation libs) 10:29:05 I updated via pkg enlightenment, but had lots of issues 10:29:28 until I realised that EFL did not get upgraded with enlightenment upgrade 10:29:53 so I updated to latest EFL and issues are fixed 10:30:09 but my questions are: why did it not upgrade EFL when I upgraded enlightenment 10:30:25 and should I let someone know about this so it is fixed? 10:44:24 AumShivaya: Not sure why it didn't get upgraded if it was a necessary dependency, but if you're 100% sure it was an error on the port's part, then the port maintainer(s) should be notified. 10:45:09 yeah I am not 100% 10:45:14 I am trying to figure it out 10:45:26 though I did upgrade e and EFL was not upgraded 10:45:41 but have no way to know why, if I was my fault or... if it has been since fixed 11:15:16 hi, how to make Alt+b/Alt+f work in zsh in freebsd console (not X)? when i press alt+b i get , pressing Esc+b works fine, for xterm there is a workaround with metaSendEscape, but i need this behaviour in console, i'm out of google terms 11:17:15 mp3: what should Alt+b/f do? move the cursor? 11:17:19 yes 11:17:25 ah. 11:17:30 * SKull has vi keybindings 11:18:58 mp3: well, Alt+b/f work in vi mode as well. my .inputrc isn't special either. i'm afraid i can't tell what's causing your ffffffffff 11:19:19 in console or in X? 11:20:02 ssh with x-forwarding 11:21:04 man zshzle maybe has answers 11:21:43 just tried alt+b/f in console with zsh, works for me 11:22:10 (vt, if that matters) 11:22:23 mp3: also, thank's for the alt-b/f keycombo. that's handy 11:24:12 yuripv, echo $TERM ? 11:25:08 xterm, the default setting 11:26:58 'kbdmap' and then selecting US and it started to work 11:28:14 which kbdmap were you using previously? 12:20:06 anyone knows how can I reset the network stats? 12:26:12 they're counters, you don't reset them (other than when they're reset from boot) 12:26:37 its up to your time-series database that you're hopefully ingesting the data into, to handle that 12:46:34 antranigv: the stats in netstat -s can be reset with netstat -sz, the ones in netstat -i can't as far as i know 12:47:20 rip6: 18446744073709551610 delivered 12:47:27 * lw thinks this might not be accurate 12:49:23 lw what about the stats in `ip -s` ? 12:49:43 what is ip? 12:50:10 lw oh sorry, wrong chat. I was asking the same question in #linux. I'm debugging a connection issue between FreeBSD and Linux :D 13:41:12 antranigv: check out siftr(4) too 13:49:56 topic 13:50:00 *ahem* 13:50:16 * n-st hits / key harder this time 13:51:56 so, i'm sure you've heard this one before… can i `freebsd-upgrade upgrade -r 14.0-RELEASE` directly from 12.2-RELEASE-p15 (last -p release of its series, i made sure of that), or should i go to 13.2-RELEASE first? 13:53:05 (or maybe also to 12.4-RELEASE, the last 12.x, first?) 14:06:01 n-st: so long as the version you're upgrading from is still supported, it should work 14:07:49 debdrup: hmm, 12.2 went eol March 31, 2022, and 14.0 was released on November 20, 2023, so i guess that's not a safe path? 14:08:24 12.4 was still supported on November 20, 2023, though (went eol a month after that), so i assume 12.2 -> 12.4 -> 14.0 would work? 14:09:38 I would probably upgrade through 13 from 12 to 14, but that might be excessive. 14:10:47 12.2 didn't get the fix for EN-23:12 which prevents it from updating certain files correctly when upgrading to 14.0 https://www.freebsd.org/security/advisories/FreeBSD-EN-23:12.freebsd-update.asc 14:10:53 so at least the you want to upgrade to 12.4 first 14:11:17 https://www.freebsd.org/releases/14.0R/installation/#upgrade-binary mentions "Systems running 12.4-RELEASE or 13.2-RELEASE can upgrade as follows", so skipping 13 is probably fine. but what debdrup said makes sense, there wouldn't be a tested upgrade path originating from a version that was already eol at the time 14:11:18 Title: FreeBSD 14.0-RELEASE Installation Instructions | The FreeBSD Project 14:20:08 so long as the key fingerprints and update servers haven't changed, the actual "apply binary patches to files as needed" should work regardless of the version, i think. 14:20:42 i think not, without the fix for EN-23:12 you will end up with missing files in /usr/include and the C++ compiler won't work 14:21:55 lw: freebsd-update will grab all the patches from the version you're on to the one you're going to, including patchsets, so i'm not sure how that'd affect things - but, well, it'll be interesting to find out, i guess :D 14:22:13 remember: backups don't count unless you follow the 3-2-1 strategy ;) 14:22:16 debdrup: it will download the patches, and it will fail to install some of them, because of a bug in freebsd-update itself which was only fixed in 12.4 14:22:58 * debdrup shrugs 14:24:37 I had issues from 13.2-RELEASE-p4 to 14.0-RELEASE. Got stuck with the "missing files in /usr/include and the C++" issues. Rollback bectl, updated to 13.2-RELEASE-p9 (p9?), and it worked. 14:24:51 It was issue #273661 I think 14:24:52 273661 – freebsd-update install: ///usr/include/c++/v1/__string exists but is not a directory https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661 14:25:07 yeah, that's the one 14:25:37 seems like a fun thing 14:26:06 confusingly it still produces a (different) error message even with the fix, but it does upgrade correctly 14:27:04 For me it was error free from 13.2-RELEASE-p9. Not even sure if it's p9. The latest 13.2 patch 14:27:24 it was supposed to be fixed in 13.2-p4 according to the EN 14:27:39 i wonder why you ran it into it on p4 14:27:56 Or it was,.. p3? Sorry.. can't remember :p 14:28:03 p3 probably 14:28:06 ah 14:28:29 maybe it got fixed better later, i think i got the 'new' error last time i did an upgrade from 13.2 to 14.0 14:28:40 that was a while ago so honestly can't really remember 14:29:51 Oh I mean my system was p3 instead of p4.. Yeah p3 I think 14:30:22 oh yeah, no, i just mean when you did the upgrade the second time from a later version maybe a better fix was committed so you don't get the error at all 14:30:41 I see 14:30:54 * lw checks 14:32:05 hmm maybe not. oh well 14:32:30 n-st: anyway the tl;dr is don't upgrade from 12.2 to 14.0 because it'll break your system, upgrade to latest 12.4 first (or latest 13.2 if you like) 14:34:37 If can use bectl, and its not headless, or not remote, usually ok to try anything. I prefer going step by step otherwise 15:10:44 hi, anyone could help me configure rabbitmq ? 15:11:19 I get a 'node 'rabbit' not running at all' error 15:26:08 is there a standalone vnc client for freebsd that can run directly from console and do 1920x1080 ? 15:26:55 or better yet a "dual head" vnc client that can output on two monitors? 15:27:21 i don't think the freebsd console supports graphics, does it? 15:35:24 i'd expect something with builtin generic vga drivers like windows 15:36:05 there's a VGA driver but it's just used to run the text console (vt(4)). in theory you could write a VNC client that uses DRI to draw the display but i would be surprised if that exists 15:39:11 so it all runs under X or something? 15:39:20 X or Wayland 15:39:50 Linux has (had?) something called svgalib that let applications draw graphics on the console but i don't think freebsd has any equivalent 15:44:17 ah well ok. 15:44:37 anyone managed to add a boot splash with efi? 15:52:07 Bheam, running the vncviewer on top of X probably the simplest. Feasible at least. and optionally some lightweight WM like TWM 15:56:45 trying tightvnc 16:17:19 bah. tightvnc is no fun. default fullscreen is maximized across all screens. 16:25:26 vnc in general on *nix is not fun 16:36:30 ssh with X is better in my experience 16:37:27 on a gigabit lan, yes 16:39:02 rdp is better than vnc (with regards to remoting to windows) 16:47:55 i have a gigabit lan on the server side at least 17:08:00 right i got vncviewer (tightvnc) running 1920x1080 showing bhyve. usb, nic and audio passthru. gpu passthru will have to wait. 17:08:46 now. can i add communication between guest and host by dedicating 2 lan ports (one on host, one on guest) and connecting them by physical cable? 17:08:54 stupid but works? better solutions? 17:49:12 hm, pkg query doesn't have some way to query some ports and all their transitive dependencies? 19:35:00 nimaje: what do you mean by "transitive"? 19:45:52 yuripv, transitive. . . like A depends on B, B depends on C, so A depends on C too. 19:48:39 if A depends on B and B on C when I give it A I want to have the query-format evaluated for A B and C 19:52:26 hm, as I generate a dot graph anyway a tool to remove everything not reachable from the given nodes would work too 20:24:02 debdrup: my new mobo won’t even POST did you need to “bootstrap” it somehow to set eg RAM settings or anything? 20:25:25 dch: AM5 motherboards can take several minutes to train memory first time (or if you disable memory context restore, every boot) - it's just an artefact of DDR5 being what DDR5 is. 20:25:52 Think of it like servers used to work. :P 20:26:13 (Servers used to have memory context restore disabled, so training memory could easily take half an hour) 20:30:26 Ah that explains it. Relatively recently, I tried building a PC with an Asus AM5 motherboard and noticed it would take a bit of time to POST with it. And I ended up returning it due to untolerable coil whine. 20:32:20 good call 20:32:24 though I wonder what coil whine is 20:33:04 https://en.wikipedia.org/wiki/Electromagnetically_induced_acoustic_noise 20:33:05 Title: Electromagnetically induced acoustic noise - Wikipedia 20:33:06 that sort of high pitched noise that a computer can make when starting/running? 20:33:19 Yeah 20:33:30 wow 20:34:23 hmmm I guess this training is less than 10-15 minutes? 20:36:30 more to the point it should POST and beep before it starts that, right? 20:42:17 same here with intel 1700 motherboard (with 14gen cpu), it took several minutes on first power on 20:42:33 (just bought and was worried that something is wrong :D) 20:44:52 i hope i remember reading this the next time i build a DDR5 machine 20:57:22 Well this has been 20m and not a peep so I guess it’s borked somehow 21:11:13 weird problem: i have multiple vservers at a provider in the netherlands, and after upgrading two of them from freebsd 12.4 to 14.0, they consistently boot up with a blatantly wrong system clock, always somewhen on Tue 8 Apr 2025 21:12:07 i can manually set the clock (necessary since ntp refuses to correct such a big discrepancy) and everything runs fine, but after a reboot i'm back in the future again… 21:12:12 That is pretty crazy. Do you have ntpd_enable="YES" and ntpd_sync_on_start="YES" set in your /etc/rc.conf file? 21:12:52 ntpd starts on boot and then balks "Clock offset exceeds panic threshold." into syslog 21:14:09 even the very first message in the dmesg buffer is already timestamped wrong: 21:14:10 Jan 17 21:05:39 beithe syslogd: exiting on signal 15 21:14:10 Apr 8 18:44:34 beithe syslogd: kernel boot file is /boot/kernel/kernel 21:14:29 (reboot takes about 15 seconds on this machine) 21:16:00 i suspected the kvm hypervisor, so i booted into the rescue system provided by the hoster. comes up with Wed 17 Jan 2024 just fine -- so either they have a very fast (and less squeamish) ntpd then freebsd, or the hypervisor clock is correct and it's only going wrong in my OS somehow… 21:16:51 Do I have to nuke /usr/ports before I can git fetch the latest 2004Q1? 21:20:28 n-st: so you don't have ntpd_sync_on_start="YES" which allows the first sync to exceed the threshold 21:20:51 n-st try with time.windows.com or some other timeserver, as a check? 21:21:12 AumShivaya: where does your /usr/ports come from? is it a git repo? 21:21:30 AumShivaya: no, `git fetch origin 2024Q1` should do it, assuming its already a git repo 21:24:35 no, it was installed at time of install (bsdinstaller) 21:24:46 that is the thing 21:25:50 nimaje: ah, i didn't know that it would do that. but that still leaves me with the wrong time at boot, and only once ntpd has started does it overwrite the time with the correct one 21:26:20 vnstat starts logging with the wrong time, for example. so that's not really a solution yet… 21:26:41 Jan 17 21:22:13 beithe syslogd: exiting on signal 15 --- Apr 8 19:01:08 beithe syslogd: kernel boot file is /boot/kernel/kernel 21:27:02 the offset from reality is pretty consistent, which is also odd 21:31:03 oh, and here's the next data point: it is always at that offset *from reality*, not from the time set during the previous boot -- i've just set the system time to February 2023, and it still came back as April 2025 after the reboot. so there is outside influence of some sort. 21:32:18 yeah, ask your provider, using ntpd_sync_on_start="YES" shouldn't be necessary in your case, it is just a workaround until you get it fixed, ntpd_sync_on_start="YES" is for systems that can't hold the time (or not good enought) but in your case it *should* be able to 21:33:59 but (checked again right now) the rescue linux boots up with the correct time, it's not just getting it from ntp… 21:37:59 n-st, Do you have ntpd_enable="YES" and ntpd_sync_on_start="YES" set in your /etc/rc.conf file? 21:38:14 I asked that before but do not see a confirmation one way or the other. 21:38:45 If you don't have those set then that is the problem. Set those and then reboot. If you do have those set then it is worth debugging further. 21:40:41 rwp: no, that is not the problem, as the system starts with a completly diffrent and wrong time after setting a time and rebooting 21:40:59 Okay then. 21:41:15 oh and now we have Jun 18 2025 13:45:11 21:41:28 (this is after rebooting from the rescue linux into my freebsd) 21:41:36 (see the message from 21:31:03UTC) 21:42:16 nimaje: yeah, but what do i tell the provider? "my clock is off on my own OS, but works fine on your rescue system"? :/ 21:42:47 nimaje: (also, bold to be referring to timestamps in this situation :P) 21:43:34 that one was as a reference to rwp 21:44:32 n-st: both freebsd 12.4 and 14.0 are official releases or was 12.4 from your provider, if so, do you know if they have any changes to upstream? 21:47:17 nimaje: all official releases, the provider doesn't do *bsd at all afaik 21:47:56 (bootstrapped via ipxe and netbooting back in the day, i don't fancy doing that again anytime soon -.-) 21:50:52 can you boot 12.4 again on a system where you updated to 14.0 to see if you have that problem then too? I have no idea why 12.4 and 14.0 should behave diffrent or how upgrading to 14.0 should have broke the hwclock and on two systems at that 21:53:37 so do I nuke /usr/ports ? 21:54:04 nimaje: eh, with boot envs, maybe? looks like i have them, but i don't know how to switch… 21:56:42 nimaje: ah, from the bootloader, just following the menu instructions 21:56:56 so that shows: it's not the freebsd version, even 12.3 is broken 21:59:11 ok, are you sure it wasn't broken before? maybe you just didn't notice can you check one of your remaining 12.x systems? 22:00:21 AumShivaya: yes, if it isn't a git repo, then git can't use what you already have there 22:01:54 nimaje: the only remaining "old" one is my backup fileserver, so i'd rather not touch it until i've figured this out… it currently has the correct time, but that might just be because it hasn't been rebooted in a long time 22:02:24 i'm pretty confident that the update wasn't actually the cause; it just exposed the problem because it involved a reboot 22:02:38 ty 22:03:51 so it's ticket time… and then waiting until the morning, unless the provider runs a night shift 23:06:54 n-st, i've had different results in a KVM host along the years. From network/clock only working in full virt mode in the past to things just working right in the present. 23:08:13 If your provider don't explicity support freebsd so indeed a good idea asking. Knowing what timer are enabled (pit rtc tsc kvmclock). I dont know exactly which ones are supported in freebsd, or if all of them 23:09:42 'sysctl kern.timecounters' from guest should spit out some clues I think 23:19:00 does anyone run thin jails inside thick jails? 23:20:01 and i wonder what the overhead cost is for the middle jail?