07:16:45 hm, after upgrading my package builder vm to 14.4 random packages began to fail in some -depends phase, because of bad file descriptor in pkg-static :( 08:22:37 rwp: This is the ports unbound running on 15.0. I don't get the error when I run it manually, only via a script or via crontab 08:28:15 rwp: Also, you need unbound_oomprotect="YES" to trigger this 08:47:19 rwp: Following your advice with sh -x (great idea btw) it looks like the pid file isn't there yet, so `protect -p ${rc_pid}` evaluates to `protect -p `. Must be a race condition caused by unbound taking too long to start 08:55:48 are there parts of the bsd filesystem that are forbidden for users to use? 08:55:51 For example . . . 08:56:53 for many moons, when I’d set up web servers on macos, i’d put the web folder and the log folder and anything, just right at the root level of the file system. But then apple changed things so even as root, users cannot write ot the root level of the drive. So things like a web folder had to be relocated to either a specific users folder, or to /Users/Shared 08:59:07 everything but ~, /tmp, /var/tmp should be off limits for regular users. "system" users often have their own little place (e.g. logging). the rest can-but-most-likely-should-not be opended up by permissions 09:00:37 things can be changed beyond just permissions via acl 09:01:54 on freebsd with the right permissions you can write whereever you want, still doesn't mean it is a good idea, logs should go to /var/log or via syslog to whereever that is configured to log to (likely /var/log too) 09:03:29 well web server logs get processes a lot by stats systems so its good to keep them in a separate place. I’ll probably make a root level folder called “webserver” and put a log folder in there, a i don’t even remember but all the different folders i create for a web server. 09:17:50 ohhhhhhhh 09:18:08 day what you will about “heavy” desktop environments, SDDM + KDE sure does look nice 09:28:55 I guess debug mode and verbose mode slowed down rc.subr just enough to win the race. I turned _oomprotect off, I'll run protect after it's completed 09:31:42 hm, but why would you use protect with a pid file instead of with a command in the _oomprotect use case? seems the only use for that is for adding race conditions 09:32:29 damn i am still having trouble putting this system in 1280 x 720 resolution. macos does it no problem, but freebsd with xfce4, freebsd with kde, and ubuntu linux with kde, all can’t display 1280 by 720 properly 09:32:38 native 1080- is fine 09:32:46 any ideas whats going on with that? 09:34:32 ah, probably because start doesn't have to be an external command, but could be a shell function too… 09:35:12 hm, what does xrandr say for that monitor 09:37:02 it does list 1280x720 at 60 09:37:06 among all the others 09:37:29 thissssss a 2012 mac mini so intel i7 with i think intel integrade 4000 HD graphics 09:39:00 and if you use xrandr --output --mode <1280x720 mode> ? 09:39:55 is “” a placeholder or do you want me to literally type that? 09:40:03 What does "can't display properly" mean in this instance? 09:40:07 It's a placeholder. 09:40:12 You put the output name there. 09:40:25 Similarly so with the --mode argument 09:40:26 can’t display rpoperly, means i get a highly distorted image that eventually reverts back to 1080p when i don’t hit anything 09:40:47 Okay, but what does distorted mean? The fonts? 09:40:50 so how do i determine my monitor’s name? 09:40:55 Or something else? 09:41:03 It'll be in the xrandr output 09:41:05 like the image is interlaced and ghosted multiple times across the screen 09:41:13 You can also try arandr 09:41:57 ok my best guess is “HDMI-3” is the monitor name? seems weird though as this mini only has one hdmi port 09:42:33 Use a paste site, and paste the output. 09:43:06 i went with hdmi-3 and what i got is the same distortion as when i switch it with the GUI 09:43:11 except…. now its not changing back 09:43:29 will xrandr work over ssh i hope? 09:43:45 GoSox: yes, I use <…> to mark placeholders 09:44:28 eep, looks like i can’t change resolution over ssh and i cant read the text on the display now sooooo any ideas how i can get it back 09:44:30 No, it won't work over SSH without some environment hackery. 09:44:49 i should still be at a terminal prompt so i guess i can try to type the commad blind 09:45:18 yay that worked 09:45:52 so why is 720p not working? whats that about? its not a hardware fault, it works perfectly in macos every time 09:46:02 Good. Now, instead of trying th change the resolution, change the scale. 09:46:26 Leave it at native resolution, and just use --scale 09:46:37 changing the scale works but thats not quite the same result 09:47:24 huh actually thats not working either. It worked in xfce4 but in KDE nothing happens when i change the scale 09:47:47 I don't use either of those DEs, so I don't know what the problem might be, sorry. 09:48:03 ok ill post to the forum and go to bed 09:51:59 no idea what breaks there, but apple just has a very limited selection of hardware they support, so they can make sure everything works, my current guess would be that there is some bug in the monitor or something and apple incuded a workaround and noone on Xorg or wayland encountered it, because running Xorg/wayland on that hardware is already rare enought and then also switching to 720p instead 09:52:01 of 1080p, but of course the problem could also be anywhere else 09:53:26 but i HAVE had it work on bsd too… i guess i left that part out. But i’ve wiped this machine like 20 times during this learning process. Like every night i work on learning freebsd, i wipe the machien and go through my install and setup checklist. And it HAS worked. 09:53:33 either way, to the forum 09:56:10 hm maybe kms vs xf86-video-intel? 10:13:13 oh wow just installed a mac theme on kde aaaaadn that settles that, KDE it is, bye bye xfce4 10:15:53 HAH there is one problem with these mac themes. They’re so good, they put my brain in “normal mac mode”. So I close windows with no intent to quit the program, and yet i quit the program 10:16:00 a problem i can deal with, but its funny 10:17:49 the BeOS theme is interesting but not as nice as I remember 11:42:20 Hello. I have a problem with FreeBSD 15 and USB headset. When I plug the headset in, a very loud high noise comes out the headphone 11:42:45 It works on Linux and Windows just fine. I am new to FreeBSD so I am looking for someone who can help me out 14:00:25 helo people 14:00:47 can anybody help me with manually pointing to a regional freebsd pkg mirror? 14:01:17 i tried changing /etc/pkg/FreeBSD.conf but to no avail 14:03:31 scottpedia: that's the system config file, but you might have a local one (/usr/local/etc/pkg/FreeBSD.conf or similar) 14:03:43 have a look in that directory 14:04:02 yeah Gedge I did that per instruction from that FreeBSD.conf file 14:04:22 the problem is what kind of url am I supposed to put in the new config? 14:04:38 FreeBSD 15? 14:04:50 14.2 i think 14:05:59 like ftp.kr.freebsd.org/pub/freebsd is what I want to use 14:06:31 but in the original file the url follows the format pkg.freebsd.org/${ABI}/quarterly 14:07:09 what should I add to the new file then? 14:07:35 'd be great if anybody can help 14:12:31 scottpedia: https://pkg.freebsd.org/ doesn't list that as a mirror 14:13:46 yeah 14:14:03 i found the link here https://people.freebsd.org/~dbaio/mirrors/mirrors-new-section.html 14:14:15 it kind of does have everything indeed 14:14:49 however how do I exactly change the repo url on my system? 14:16:43 doesn't look like it serves *pkg* 14:17:53 what servces pkg? 14:19:07 the link that I sent tells you what mirrors the pkg archive 14:20:42 ports-mgmt/fastest_pkg lists the mirrors and will print them, but also have a look at `man 5 pkg.conf` 14:25:36 i tried the links you sent me and it says repository freebsd has a wrong packagesite, need to re-create database 14:25:45 Gedge: 14:27:16 anyways I am trying out that package you mentioned 14:27:25 let's hope this works 14:28:01 freebsd is truly a poorly documented one compared to its Linux brothers 14:29:03 I'm not sure why you're not just relying on the DNS to direct you to the local mirror... the default behaviour 14:29:15 On the contrary, I think that between the handbook and the manpages, the documentation is quite good. 14:29:50 it directs me to a mirror that gives me 20KB/s max 14:30:11 Yeah, mirror bandwidth is very, very variable. 14:31:14 I couldn't find one single how-to on google regarding how to change mirrors 14:31:35 that shouldn't be the case for any of the living Linux distros 14:34:57 man 5 pkg.conf -- no google necessary 14:35:12 The documentation is right there on your system. 14:35:28 yeah I did that 14:35:38 And did you search for "URL"? 14:35:50 it doesn't tell me how to create a new config that uses the mirror that I want to use 14:39:30 Did you read the repository configuration and examples sections of the man page? 14:39:55 yes just did that 14:40:06 it does tell me how to do a private repository 14:40:19 but what is an srv repo? 14:41:04 the system keeps telling me that the repo i am using is wrong and not an SRV repo 14:41:49 srv is dns record type 14:42:03 It's also stated in the same man page; search for SRV 14:42:17 And says what the requirements for it are there. 14:45:36 can anybody give me a how-to regarding what I asked? 14:48:39 wouldn't you just change the url to the url of the mirror 14:52:07 or, better, copy the file into /usr/local/etc/pkg/repos/FreeBSD.conf and change *that* file with the mirror 14:58:08 Gedge: yes I did that and it gives error regarding "not srv mirror" 14:58:45 now I followed man 5 pkg.conf's example to use a private repository 14:59:46 and when I run pkg update it says SSL peer certificate or SSH remote key was not OK 14:59:51 let me try using http 15:00:47 okay it worked but still it'd be great if I can properly set it up using https 15:03:03 oddly, I think the pkg repos do not use https, but rely on GPG(?) signatures of the data once transferred? 15:03:30 so, encrpytion isn't important, but verification is 15:04:19 yes. the original config has a certain fingerprint setup 15:04:30 that is to be studied later 15:06:41 I only recently discovered this because I'm now running a local cacheing pkg mirror for my handful of FreeBSD boxes 15:07:30 I don't think it reduces my demand on the mirrors as much as I'd hoped. 15:07:56 okay alright 15:08:06 that'd be convenient indeed 15:17:41 Gedge, scottpedia: instead of copying /etc/pkg/FreeBSD.conf to /usr/local/etc/pkg/FreeBSD.conf you should use that the first one gets read first and the second one can override stuff and create the second with just what you want changed, so probably just URL for a properly configured mirror 15:18:51 nimaje: yeah thx for speedy response 15:20:00 I think the issue in this case is the mirror certificates; you'll get an SSL_ERROR_BAD_CERT_DOMAIN 15:20:07 gonna try that later but at the moment the problem seems to be with how the system uses encryption/verification 16:02:18 scottpedia, It might be easier to change mirrors by overriding DNS with an entry in /etc/hosts that maps pkg.freebsd.org to whichever mirror you choose to override it. 16:03:12 rwp: that's a good idea 16:03:24 gonna try that later 16:03:27 thx btw 19:14:57 *newbie* I was following instructions for a fresh install, and reading from https://docs.freebsd.org/en/books/handbook/x11/ to set up the X display, and running in to issues where the instructions given don't seem to work, and generate errors... is there a 'proper' or 'more up to date' URL I should be using to set up a new FreeBSD installation? 19:24:37 lorimark: The Handbook is indeed where the docs should shine. But, if it fails, then the forums may be the place to see if others have had that problem. https://forums.freebsd.org/ 19:36:07 lorimark: what happens? 19:38:18 lorimark, If you say what version of FreeBSD you are running, what your graphics adaptor type is, what you have done, what problems occurred, then probably we can make suggestions. 19:39:03 lorimark, Run this: pciconf -lv | grep display -B 3 -A 1 20:04:06 thank you, it's an old acer laptop, intel generic graphics (fairly low res). I just downloaded the latest from the FreeBSD website, been using linux for years but never cracked the plastic on FreeBSD until now, so just a little choppy getting started. wanted to make sure I was reading the right docs. 20:06:51 it was FreeBSD 15.0 20:07:01 oops... i think i shouldn't have pulled that one... 20:07:31 ok, so you installed drm-kmod and loaded the i915kms kernel modul successfully? 20:08:05 nimaje: unsure about 'correctly', but i did follow along, using i915kms and all that 20:08:33 is 15.0 a good version to download, i think in one of my first attempts i was installing the 14.4 20:08:36 ? 20:08:45 (and thank you again) 20:10:33 14.4-RELEASE or 15.0-RELEASE should both be fine, i would think 20:10:49 yes, that is a release version so it is fine 20:12:43 did your monitor reset when i915kms was loaded (as the graphics driver changes)? do you see [drm] Initialized i915 in dmesg? I suggest piping it into less and search for drm there 20:15:36 [drm] Inisitlized i915 1.6.0 for drmn0 on minor 0 20:16:02 name=drmn0 id=i915drmfb ... 20:16:09 looks like it 20:16:46 ok, so and how do you try to start xorg? (startx?) and what errors does it generate? 20:16:46 How are you starting X? I think it is easier to debug things by logging into the text vt console and then running startx and then looking in /var/log/Xorg.0.log for "EE" lines rather than trying to run an xdm graphical login manager from the start. 20:16:50 i have xfce installed, and it opens, and even starts with the gui login screen, where i got tripped up was on that X setup page regarding true type fonts... 20:17:23 in the Fonts section of that document, it has steps that don't run/complete properly, so, that's what prompted me to ask if i was reading the correct docs 20:17:23 If the GUI graphical login manager starts then that's X running right there. X is running at that point. 20:17:40 yea, it's got X and xfce4 even, so far so good. 20:18:31 anyway, i was just asking because it's so easy to start reading from the wrong place... i think i'm ok for the moment, thank you 20:20:24 hm, never did anything for fonts except for installing them 20:20:49 I have never messed with fonts. It Just Works. 20:22:19 yea, i was (tiny bit) surprised regarding having to install fonts... here's the page about it; https://docs.freebsd.org/en/books/handbook/x11/#truetype 20:22:22 I look at that section and I don't see anything there that one would need to run. There are several optional things that one should mostly ignore. Ignore at least until you have something running and decide you want to do something different. 20:22:46 I have never installed the TrueType fonts. I figure that was only for people who were doing desktop publishing. 20:24:01 People tend to be very particular, persnickety even, about fonts. I know people who build their own fonts and insist they need them. So anything can be installed. But I have never needed them. 20:24:23 k 20:24:25 thank you 20:25:01 I'll just blow past all that, thank you 20:26:00 The Handbook should say above that section, stop here and get X running. If you feel you NEED a particular font then you can install them and here are instructions for TrueType and Type1 fonts but most people don't need them.