00:00:13 we have a new contender for easiest-to-test-ports: www/darkhttpd 00:00:27 dependencies: none <3 00:00:59 jbo: well sure, if you want to play ports in easy mode 00:03:57 lw, let me have this one, okay? **schnipp** 00:04:16 at least I don't bitch around about being a maintainer :p 00:04:18 jbo: fine, this is okay to commit 00:04:28 triggered >:D 00:10:47 lw ircII is like irssi 00:10:48 ? 00:11:06 not really, except in the sense they're both command-line irc clients 00:11:44 although irssi was (i believe) intended to be a "better ircII", so i suppose they work sort of similarly 00:16:02 they stop developin irssi 00:16:03 ? 00:16:24 i don't think so? i don't follow irssi development at all thoug 00:16:26 h 00:16:32 ko 00:16:33 ok 00:16:40 and what about ircII 00:17:39 i don't use original ircII either... last i looked their website was down though so development may have stopped there. ircII-EPIC is a separate fork 00:50:38 what would you use to benchmark a CPU that runs on FreeBSD and macOS? something like prime95? doesn't need to be a super in-depth benchmark, just a basic number is okay 00:51:38 math/primegen maybe 00:53:39 openssl speed 00:54:00 rtprio: not a bad idea but is there a way to force it not to use hardware crypto support? 00:54:47 you can specify a provider? 00:54:57 or engine 00:55:05 ok, do you know what the engine for software crypto is called off hand? 00:55:55 no, i've not used it 00:56:56 Could someone help me diagnose why my NFSv4 mount isn't working please? Server is FreeBSD 13, client is FreeBSD 14. I get "RPC: Authentication error; why = Client credential too weak" when not root, and " Operation not permitted" (client) / "mountd[1924]: mount request denied" (server) 00:58:45 I would like to be able to access this NFS share from two separate hosts, with different user IDs (but same username). I believe NFSv4 can help with this. 01:05:48 what are your export lines 01:05:57 and is there any more info from mound 01:06:02 mountd* 01:06:22 ShinyCyril: show /etc/exports on the server, /etc/fstab on the client, and /etc/rc.conf on both the server and the client 01:06:43 but in reply to your second question - no, NFSv4 does not help with that, although you would think that it would 01:07:09 it only does the username->uid mapping for writes, not reads, which means if the client uid doesn't match the server uid, you'll be able to create files, but when you try to read them, they'll have the wrong uid 01:09:03 actually maybe i have that backwards, it's for reads, not writes... but in any case you still need the UIDs to match on both sides for things to work properly 01:09:31 i *think* using Kerberos (sec=krb5) fixes this, but it's been a while since i tested that, i just use LDAP for passwd now to avoid the problem entirely 01:16:22 i honestly wondering if that NFSv4 issue is a FreeBSD bug, because i'm sure i remember this working correctly on Solaris... but it's probably been 15 years since i tested that, so who knows 01:32:58 i need to up my nfs game. still using nfsv3. kerberos might be nice? 01:33:19 rtprio: i use Kerberos (with NFsv4) everywhere and love it 01:33:59 using security/krb5 (MIT Kerberos) which can store the KDC data in OpenLDAP, so it's automatically replicated across all my LDAP servers 01:36:36 if you're still using NFsv3, at least upgrade to NFsv4 for the protocol enhancements like not requiring portmapper or mountd 01:36:45 makes firewalling much easier 01:38:44 sorry had to step away for sec. Export line is "V4: /nfs/media" (just trying to get _something_ working first). No fstab on the client, just trying to mount with "mount_nfs 192.168.1.2:/mnt/media ~/media" 01:38:44 Server rc.conf: 01:38:44 rpcbind_enable="YES" 01:38:44 nfs_server_enable="YES" 01:38:44 nfsv4_server_enable="YES" 01:38:45 mountd_enable="YES" 01:38:45 nfsuserd_enable="YES" 01:38:46 Client rc.conf: 01:38:46 nfs_client_enable="YES" 01:39:11 ShinyCyril: the V4: line by itself does not export any filesystems, it just defines the V4 root 01:39:24 you need something like 01:39:31 V4: /data -sec=sys:krb5:krb5i:krb5p -network 2001:8b0:aab5::/48 01:39:33 /data/www -sec=krb5:krb5i:krb5p -ro thyme.eden.le-fay.org 01:39:35 /data/home -sec=krb5p -network 2001:8b0:aab5::/48 01:39:57 then in case case you would mount server:/www or server:/home on the client 01:40:05 s/in case case/in this case/ 01:40:47 lw: good to know - thanks! 01:40:51 (because the NFSv4 root here is '/data', the export of /data/www becomes /www from the client's point of view) 01:42:36 lw: tbqh i'm aware of kerberos but don't quite understnd what it does in the nfs context. 01:43:28 rtprio: 1) it uses the client user's Kerberos ticket to determine their identity, so the numeric uid's don't need to match, 2) it uses Kerberos encryption to encrypt and authehticate NFS traffic on the wire (you can also do this with IPSec or, in very recent systems, TLS) 01:44:06 so a rando on my subnet will no longer able to mount my exports? 01:44:11 that sounds like a good idea 01:44:12 correct 01:44:32 I'm thinking NFS might not be the right approach here. I really just want to set up a simple fileshare between a couple of hosts on my home network. Having hard-coded credentials would be fine - can I accomplish this with NFS, or should I be looking at SMB? 01:44:47 rtptio: if you export to a subnet with sec=krb5, anyone on the subnet can still mount, but they need a Kerberos ticket first 01:44:48 but are you using nfs with just host credentials or with per user credentials? 01:45:09 crest: if you're asking me, mostly per-user credentials, i have one or two mounts using host credentials 01:45:11 remember that mounting the file system is done on behalf of the client not any use on the client 01:45:14 ShinyCyril: can you not re-number one of the clients? 01:45:52 actually let me just check, I'm the only user on my MacBook, so I might be in luck. Depends how they start there id/gids 01:46:17 ShinyCyril: i do not recommend SMB on FreeBSD, the in-kernel SMB client is ancient and useless (it only supports SMBv1) so you'd be relying on a FUSE client, if that even exists 01:46:26 (that's what i would do in this case; and have done in the past) 01:46:42 ShinyCyril: although if you're exporting from FreeBSD to macOS/Linux/Windows clients, SMB is probably fine 01:47:25 I could probably change my uid on macOS. Maybe better to change my uid on FreeBSD - less likely to cause unintended consequences :) 01:48:04 same process on either; vipw and edit the group file; re-chown everything; reboot and log back in 01:48:28 got it 01:48:54 macOS does not put normal users in /etc/master.passwd so vipw is not going to help there 01:49:28 i recently changed my uid on macOS, which i did by adding a new admin user, logging in as that user, changing my other user's uid in the OpenDirectory admin tool, find | chown, then logging in as the original user again, and it seemed to work ok 01:49:31 iirc there's user editor which had advanced mode and you could update the uid/gid 01:49:40 lw: it used to 01:49:42 i swear 01:57:05 rtprio: i'm not a macOS expect so it's quite possible such tool exists and i just don't know about it 01:57:42 you could probably do it with dscl? 01:58:01 i guess that's the command-line version of the OpenDirectory admin too, but it's so horrible to use i'd just do it with the GUI 01:58:16 s/too/tool 01:58:41 lw im getting this error 01:58:58 /usr/local/lib/hexchat/plugins/python.so: Undefined symbol "PyCapsule_Type" 01:59:15 /usr/local/lib/hexchat/plugins/perl.so: Undefined symbol "PL_current_context" 02:00:09 warsoul: sorry, i have never used hexchat and know nothing about it 02:00:25 ok 02:00:41 thanks mate 02:04:05 lw how i can see if i have python installed in my system? 02:04:40 pkg info|grep python 02:22:24 lw thanks 02:30:40 lw 02:31:25 jay bee oh 02:31:39 never mind - I just did it (wanted to ask, but then... you didn't respond) 02:31:46 here we go again 02:32:02 what did you do 02:32:07 what have you done, omg 02:32:12 you know _exactly_ 02:32:13 you've ruined everything 02:32:39 YOU did ruin everything 02:32:42 telling me how to use wine and all that... 02:32:52 real classic bitch move, lw. not proud my friend. 02:32:57 oh you're playing factorio again 02:33:03 ssssshh 02:33:12 we call it "using wine" 02:34:52 running out of iron in a death world is no picnic 02:35:08 rail world > death world 02:35:19 i always play with enemies off, they're just boring by mid game 02:35:23 meh, railworld is just normal but more distance and no expansion 02:35:35 hence death world, my friend 02:35:46 real _men_ play deathworld ;) 02:35:54 he who should know 02:41:13 .__. 05:40:29 jbo: fancy an easy ports commit? 05:41:25 no testporting required! 07:09:27 i've not tried deathworld 07:09:42 ribbon world i got about half way through 07:27:28 i'm playing with RSO at the moment which aiui, on the default setting, is somewhat like Railworld 08:50:56 what is the T flag in a set of permissions? d-w-r-xr-T 08:53:42 crb: lowercase 't' is usually a setuid directory, e.g. /tmp. i think uppercase T is used when the directory is setuid but some other permissions are missing 08:53:56 d-w-r-xr-T is an extremely odd set of permissions, which would explain that 08:54:41 its on /homes/crb/.cache/gnome-control-center which is an empty directory 08:55:21 that sounds like a broken program 08:57:30 ok, i tested it: uppercase T means the directory is setuid, but the other-x flag is missing 08:57:47 ... which makes no sense and is certainly the result of some program bug 09:31:45 yep probably thank you! 13:57:33 lw what's up? 17:02:59 lw, ping 17:31:43 Hi People 17:32:48 I recently purchased an eight terabyte external USB drive. I was going to keep it as exFAT but decided to change it to UFS. 17:33:02 This is the first external drive I have had that will be dedicated to a FreeBSD computer. 17:33:09 Does this look right: 17:33:17 sudo dd if=/dev/zero of=/dev/da0 count=1 17:33:23 sudo gpart destroy -F /dev/da0 17:33:30 sudo gpart create -s GPT /dev/da0 17:33:37 sudo gpart add -t freebsd-ufs -l ISDi0A_8T -a 4k /dev/da0 17:33:43 sudo newfs -L ISDi0A_8T /dev/da0 17:34:01 (I figured six lines were OK to paste in channel ) 17:36:24 You want to run the newfs on the partition device, not the disk device. 17:39:32 would that be: /dev/da0p1 or /dev/da0s1? 17:42:35 da0p1 it looks like. 17:43:15 cracauer: Thanks. 17:45:01 Outside of FreeBSD installers, this is the first time I have formatted a disk as UFS using FreeBSD. 17:48:29 When I set -a alignment I normally align to 1M boundaries rather than 4k boundaries. Perhaps 1M alignment is more conservative than needed for a USB disk though. 17:51:48 If looking to see what slices/partitions were created by the gpart add action I would simply list the new device nodes created: ls /dev/da0* 17:52:49 Also I find using "geom -t" to produce a nice readable display of the logical structure of the disks, device nodes, and type. 17:54:07 rwp: I'll make a note of both of those. 17:54:22 I thought the -N flag would show me what would be created. 17:57:43 Another tidbit about the kernel is that it removes alternate paths to a device node that can no longer be used. Meaning that if a device has a partition path, a label path, a gpt/label path then all three paths are initially created. But as soon as one attaches to, say, a gpt/label then the other alternate paths are immediately removed, since they cannot be used at the same time as the others. 17:58:24 rwp: What are some situations where it would be useful to see the geometry the way geom -t shows it? 17:58:46 That's helpful but often confusing behavior because one moment /dev/ada0p1 is there and the next moment it is not, removed because I mounted /dev/gpt/zfs1 and so the other paths were disabled. 17:58:57 This removal process is just for that boot, right? 17:59:42 I think I have experienced something like that before. 17:59:49 Everything resets upon the next boot. Also if the device is free'd up then the devices appear again too. But making a device free again can be tricky and often a reboot is the best way to test that all is going to work okay on the next reboot anyway. 18:01:34 So I like the tree structure that geom -t displays. And it shows the gpt/label that I have assigned. When possible I suggest using the gpt/label. Here on my larger disk arrays (6x disks) I set the serial number of the drives as the gpt/z0K1G42J7B type of gpt labels so that I can match failures to a particular drive. 18:02:52 The assignment of the /dev/da3p2 type of device names is not persistent as disks are moved around in a system. Meaning that later on if one has a disk problem with da3p2 it might be difficult to tell which drive that actually was before. 18:03:29 Sure if it is alive on the system then one can "smartctl -i /dev/da3" and query the drive for it's data. But if it is removed then you already have to know or it is too late to query it. 19:34:16 new freebsd user, not a lot of technical experience. I've successuflly installed windows10 in a vm-bhyve guest. I'm using TigerVNC viewer to connect. I'm trying to increase resolution to 1900x1200 with no luck. There are not any options to adjust in TigerVNC viewer and I've added graphics_res="1920x1200" to windows.conf. Any suggesitons on how to view the windows guest in something other than default 800x600? 19:35:22 mvee, if you already created the VM make sure that you actually edit the .conf file of the VM itself, not the windows.conf template 19:41:43 jbo: That worked! Thank you! 19:41:48 mvee, happy to help! 19:42:19 mvee, generally, I would also recommend you to use RDP. it works much, much better than VNC for most scenarios. 19:44:18 jbo: I've seen that mentioned a few times in the Forums during my troubleshooting today. Folks in there say the same as you 19:45:03 Once I'm comfortable with how to set up the guest vm's, I intend to branch out more 19:45:19 it has nothing to do with whether it's a VM or not 19:45:33 the same applies if you windows is located somewhere else on bare metal hardware. 19:46:14 Vm's would be the only use for now, I have one laptop 19:46:38 still irrelevant. it was a recommendation that applies outside of the context of VM or non-VM 19:47:46 Ok, maybe I don't understand what it is. Is it software for viewing remote content? 19:48:01 yes, similar to VNC 19:48:15 just a lot more capable if you actually have a desktop 19:49:03 I understand, what I was saying is, the only thing I would need to view at the moment are any vm's I create 19:49:31 I have one laptop no content anywhere else locally or remote 19:50:25 mvee: the vnc in bhyve is more designed as a console and less as a means for commonly interacting with the vm 19:59:56 rtprio: using RDP improves the interaction with a bhyve vm? 20:00:33 yes, it would. you could do vnc too, but i would run vnc on the host itself rather than via bhyve for performance reasons 20:02:15 ah, I see. makes sense. 20:03:07 jbo: wasn't trying to be difficult, but I think I understand what you were saying. I appreicate the help 20:10:44 all good 20:51:22 Anybody knows sound and could help me get my laptop speakers working? Headphone out works. Dmesg and friends in here: https://forums.freebsd.org/threads/my-turn-for-speakers-not-working-although-headphone-out-does.92565/#post-645530 20:51:23 Title: My turn for "speakers not working although headphone out does" | The FreeBSD Forums 20:55:47 lw, ping 20:55:59 cracauer, I saw that post of yours today and had to giggle. 20:56:30 cracauer, the laptop I'm using since 2020 also has no working speakers - I am still managing to just not have a look at it... 20:58:16 wasn't lw having some speaker / sound issues? but i think it was more complex than that.. as a DAC and external speakers were invovled.. not an internal one 21:05:08 i really wish i could just have neovim make all lines 80 and add a \ knowing spaces were there.. 21:12:53 I am making a new port and for some reason upon running make it tries to install all of the ports in the ports tree alphabetically 21:13:16 I have no idea how my dependencies pull in a php81 php80 and such 21:13:48 Here is the Makefile for my port: https://termbin.com/vkto 21:15:46 What happens upon launching make: https://termbin.com/vkto 21:16:02 Wrong link I meant https://termbin.com/eo38 21:24:33 so py39-cookiecutter pulls in py39-click which is what I think caused the issue 21:25:11 should one classify that as a bug 21:32:18 hmm, I must have imagined this, but I thought I read about a tool (not sysrc) in the base system that lets you edit /boot/loader.conf. 21:41:21 You can do it with /bin/ed for that warm feeling of nostalgia 21:42:05 hehe 21:42:19 I think I have a script somewhere that uses ed 23:53:07 I have vague memories of using /bin/ed. Obviously, I'm too sober to fully repress. 23:56:05 I like ed(1). It makes fee like a Fully Qualified Daemonological Nerd.