02:18:20 dvl, bot will detect 'issue' 'pr' or 'bug' followed by <#number> in phrases and return the corresponding bugzilla PR -> https://github.com/bsdlabs/FreeBSD-irc/tree/master/limnoria-plugins/FreeBSDbugcatch 02:18:21 Title: FreeBSD-irc/limnoria-plugins/FreeBSDbugcatch at master · bsdlabs/FreeBSD-irc · GitHub 02:19:52 It should ignore itself though 02:45:57 nimaje: thanks for info on make.conf. 02:47:12 CrtxReavr: I don't believe there is a way to do what you're asking for. If there is, I'd like to know as well as I do the same thing. Vast majority of installations are done with pkg, but some I do fro ports. 03:51:49 I have a problem... I am trying to mount a virtualbox guest folder for my FreeBSD guest. I have virtualbox guest additions installed, and I have vboxvfs.ko installed however I get sudo: mount_vboxfs: command not found 03:59:21 Try "vboxvfs" (extra "v") instead. 04:00:24 Bah. They left already. 05:25:49 hi all, i haven' tried freebsd in a while. last time i checked the ax201 wifi card wasn't supported but there was talk about getting it fixed. also last time the only way i got freebsd to work on this laptop was using a memstick. first things first what is a good version that has everything that just works. current, or release ? 05:31:05 i'm seeing a lot about sudo being a big security risk. but is there any way to admin a system without it that's safe? like even as simple as reloading a service that i'd typically use sudo to do 05:52:59 Hmm can't find any networks. Will use the dvd 06:00:34 polyex: sudo being a security risk is well known. but depending on what you're trying to do, there might be a way to reduce the blast radius 06:01:05 not my question tho. how practical is it to admin systems without using sudo, if even possible? 06:02:01 in my experience, its not practical. You'd have to login as root everytime you want to do anything 06:02:26 so we all basically lug around a trojan to make admin stuff easier 06:02:44 you could try using doas, I don't have much experience with it, but maybe it does a better job of security risks. 06:02:50 yeah we do 06:06:32 something you may want to look at are sudo plugins and also the digest list in sudoers files. 06:19:21 you could use su instead 06:19:33 is su more secure than sudo? 06:28:08 I think the point is logging who did what. If you "su" then do actions its hard to see "who" did them (assuming multiple people can do 'su' here). Using sudo/doas leaves more trail. I think here doas is considered more secure than sudo (in theory) due to the _much_ smaller size (i.e. easier to understand/audit) 06:31:30 if you're on a local system at home with it's services not publicly exposed (and no critical info on it) then use what you want. I personally use sudo for linux systems and doas for my freebsd ones just to keep them in seperate pigeon holes in my head when I work on my boxes 06:33:13 but I'm just a hobbyist really so my opinion does not equal one of these guys that manages corp critical systems 06:48:47 Good morning all. 07:32:25 06:19 is su more secure than sudo? <= su has less attack surface, but it also has less features. the only people who can use su are the ones in the wheel group, and they need to know root's (or whoever's) password, which makes it almost pointless: if those two groups don't intersect, the people who know the a password, they can still just 07:32:25 login 07:33:21 ya so maybe try doas 07:34:08 doas works the same way as sudo, but has slightly less attack surface 07:34:20 slightly? 07:34:24 seen the LoC comparison? 07:35:24 one of these things can store config in LDAP, which means local accounts with root access can't just change random shit 07:35:46 huh? 07:36:12 sudo, I'm talking about sudo. 07:36:26 oh 07:37:02 and honestly, given how messed sudo's config parsing is, you might be better off with LDAP as a default lol 07:37:19 hehe 07:37:21 So, yeah, give doas a try 07:37:23 why not just use doas tho? 07:37:25 ya i'm gonna 07:37:58 I'm just trying to lay out the full tradeoffs 07:42:41 doas on OpenBSD has a cool edge compared to the portable edition: it uses a special API where the kernel itself expires keys, so it doesn't need to track it in some files 07:43:19 and i think, we should port that API, cuz it sounds useful af 07:54:34 nice 10:30:01 My first freeBSD install... I can't get an X login using sddm. /var/log/Xorg.0.log shows Failed to load module "intel" (module does not exist, 0). I've followed the Handbook and searched for an answer to no avail. 10:31:15 startx doesn't work either. 10:31:32 have you done that? https://docs.freebsd.org/en/books/handbook/x11/#x-configuration-intel 10:31:33 Title: Chapter 5. The X Window System | FreeBSD Documentation Portal 10:31:51 Yes 10:33:07 hm, is i915kms loaded? does kldstat list it? 10:33:40 it does 10:33:41 you will, in fact, suffer and be suffered 10:34:40 whats says the error with startx? 10:35:42 Warning, couldn't open module intel , then Failed to load module "intel" (module does not exist, 0) 10:38:12 Have you installed pkg install xf86-video-intel ? And is your user part of the "video" froup? 10:38:19 group... 10:38:19 how can i check from a live Freebsd image if my wifi card words? is there wpa_supplicant pre-installed ? 10:39:26 skeemer: yes it is download installer image and drop to shell 10:41:16 ibanja if you have a really old GPU you probably maybe drm-legacy-kmod instead of drm-kmod 10:41:29 you shouldn't need xf86-video-intel with drm-kmod 10:41:37 xf86-video-intel was not installed... that did it. Thanks. 10:42:18 I am using an older thinkpad 10:42:55 should I switch to drm-legacy-kmod or keep using the xf86-video-intel package? 10:43:24 I'm assuming I should stay with xf86-video-intel. 10:43:49 If it isn't broken don't fix it. 10:46:00 drm-legacy-kmod was for older freebsd releases and doesn't exist anymore, not for older drivers 10:46:31 OK. thanks. 10:47:48 use both drm (3d driver) AND video-intel (2d driver) 10:50:26 nimaje: I need it too on my x250 10:54:36 just booted my x230 to check, I don't have xf86-video-intel there 11:00:56 nimaje: I deinstalled video-intel then startx and have the same problem as OP, i915kms.ko is loaded and Morrowind (OpenMW) works like a charm ;) 11:04:39 But from this blog: These days, you no longer need to install xf86-video-intel for native graphics support. If you leave it uninstalled, X11 should use the new Glamor 2-D acceleration driver by default. https://www.c0ffee.net/blog/freebsd-on-a-laptop 11:04:40 Title: FreeBSD on a Laptop 11:06:31 hi all 12:36:04 skeemer: you could try ghostbsd live, maybe it can tell your wifi wirks 14:43:30 Where can one download the man pages for simple C stdlib functions, like for example string.h functions. I hate having to open my browser. 14:54:21 hackerman: I guess your desktop isn't freebsd, so download base.txz for your preferred os version, and look in /usr/share/man/* 14:54:34 hackerman: like usr/share/man/man3/string.3.gz for example 14:55:10 dch, :| I was trying man 2 strcmp 15:09:26 i usually just go man $thing and hope it works out... 15:21:17 (why would strcmp be a syscall?) 16:07:50 Aw back on freebsd my real home. Was having issues yesterday getting X started after reading the handbook. Did some googling actually I think it was in the forums. Instead of Intel for my card I used modesettings and everything worked ASAP 17:48:54 vkarlsen: ok 17:56:51 In Linux I disable pulse-audio because it is problematic. Is there a way to do that in FreeBSD? I am under the assumption that sndio is a better choice. 17:58:09 FreeBSD has a BuildIn OSS, thats kind of the best choice, no need to ever install pulse-audio 17:58:19 OK 17:59:30 https://wiki.freebsd.org/Sound#Use_Cases 17:59:31 Title: Sound - FreeBSD Wiki 18:01:11 I was reading that, but wasn't sure if I should be installing sndio or stick with OSS. Sounds like I don't need sndio from what you just said. 18:01:15 I noticed on my first install of xorg (I am reinstalling due to messing some things up.) that pulse-audio was included. Can I ban it from being installed? 18:03:05 I think pkg lock is what I am looking for. 18:03:52 The man says "Prevent modification or deletion of a package." Does it prevent installation of a non existing package? 18:32:32 I'm looking at https://docs.freebsd.org/en/books/handbook/ports/#ports-using and it said don't mix ports and binary packages. Does that mean don't use poets ? I need to because of a printer driver 18:32:33 Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal 18:37:19 jb1277976: I use ports for somethings, but pkg for 95% of what I need. I've not had a problem so far. You'd have to pay attention when doing upgrades and such. 18:37:46 Ok 19:25:45 Nixkernal: technically speaking, it has a OSS(v4)-compatible sound stack - but it does more than what OSS(v4) mandates. 19:26:17 true 19:28:36 When I was on freebsd a while ago there was a way to compile a port with options of let's says gentoos use flags like things I want and things I don't want. What is that called and can I read up on it ? 19:31:02 jb1277976: /etc/make.conf? 19:31:24 Nothing good comes out of mentioning gentoo. 19:31:53 I think jb1277976 is asking about port configuration; make -sC /usr/ports/$cat/$port config 19:32:39 Lol CrtxReavr I just removed gentoo last night and put on freebsd 19:32:49 There is syntax where you can pass configure script options to a port. . . been forever and a day since I've used it, so I don't remember it. 19:33:02 Though, ports are pretty well optimized by default. 19:33:42 Like say I don't want ssl from a specific port how do I compike the port without it ? 19:33:49 Compile* 19:34:29 If a port has build options, you'll get prompted to set them, the first time you build it, of if those options change. 19:34:57 You can always redo those make options by: cd /usr/ports/what/evs & make config 19:35:16 jb1277976: you'll want to have a look at /usr/ports/Mk/bsd.options.mk to see what you want to set in the /etc/make.conf file. Also read ports(5) and of course The Porter's Handbook 19:36:37 Aw thanks I'm glad I'm back 19:36:46 Porter's Handbook is geared more towards creating ports. 19:37:24 It's good info, but may not the best thing for your first day. 19:37:31 jb1277976: I do things like: emulators_qemu50_SET+= STATIC_LINK in my /etc/make.conf file. You can do simiarl for the port you are dealing with, just use UNSET rather than SET, note the use of "+=" 19:38:40 I have a ton of stuff I disable in /etc/make.conf because I'm on a headless system and don't care for GUI stuff. Order matters in /etc/make.conf 19:41:16 ibanja: FreeBSD's soundstack is part of the basesytem not a package you dont have to pkg lock anything. 19:43:42 gcc13 has come out and has support for Modula-2 which harks back to my college days in the previous century, so figured I'd give it a try. Unfortunately I can't get it to build on amd64 running FreeBSD-13.2. How do I collect information from the build so I can put in a PR ? 19:54:26 mns: if you build the port and it fails, it should show on the cli 19:55:56 souji: its a build that takes about 10 hours, so I wm trying to see if there is anything I would need besides the basic stuff. 19:57:35 I think I found what I wanted. Instead of make install clean I run make install then it comes up with options I can enable or disable 20:01:48 jb1277976: you can also do 'make config' to explicitly force the setting of the options, and there is a way to ecursively set the options for dependencies as well 20:08:19 mns: ohhh, ok ... I don't know of any other tools sorry 20:08:22 Thanks 20:20:09 mns: on a first throw, you shouldn't need anything other than enabling the option. when it fails, it should stop, and last failure should be all that's necessary to for a first bug report 20:25:28 meena: thanks. I'm going to narrow it down a little further, but yeah config.log and few other files will be a good start. 20:25:33 lets see what happens 20:28:06 meena: btw, thanks for your jail setup blog on your site, was useful in helping me with jails. 20:29:08 pretty sure that site is dead 20:29:15 where did you find it? 20:29:52 https://codeberg.org/pkgbase/website/src/branch/main/howto/jails.md ? 20:29:53 Title: website/jails.md at main - website - Codeberg.org 20:31:07 let me check 20:31:15 I know I jotted it down somewhere lol 20:35:50 meena: I think it was alpha.package.live I can't seem to find it now on this laptop. 20:36:27 I ran out of sponsor support, so that's down 20:36:39 ahh ok 20:36:49 but we have official PkgBase builds now: 20:36:50 but yes similar to the codeberg.org one 20:37:14 https://lists.freebsd.org/archives/freebsd-pkgbase/2023-October/000221.html 20:37:15 Title: official packages 20:37:51 mns: it's literally the same, cuz that's the source the site is built from 20:40:25 nice work on the pkgbase ! 21:42:42 What's a good app to find ports fast instead of freshports ? Something from the terminal 21:44:23 Or instead of make quicksearch 21:53:40 jb1277976: what about pkg search? 21:59:59 if you already know part of the name, my trick is ls -lthrd /usr/ports/*/*emacs* 22:11:21 how do i not babysit a ports compile ? make install clean still gave me some prompts. i dd make config-recurisive and i thought i got everything 22:11:49 what prompts? Can't think of anything other than sudo 22:12:15 yea one of them says jbig2dec-0.20 G1 for ports collection help 22:12:36 im at my laptop now 22:13:00 no idea what prompt is that 22:16:06 wtf 22:16:12 i got 2 compiles going on 22:16:22 0_o /me just checked his other desktop 22:18:39 g2g thanks all 22:20:42 jb1277976: BATCH=yes make install 23:23:09 hello 23:54:27 deacon426, hi. Best to ask your question directly and wait for someone who can answer to look in.