00:01:43 nullfs seems to be fine 00:02:15 (other than the issue with procstat -v, but that's mostly harmless) 00:03:19 poudriere for example makes very heavy use of nullfs for jails (in the absence of zfs) 00:04:59 that sounds too complicated at the moment, but i will figure out how to trim down the world 00:07:33 for ufs, there's also the option of mount -o union 00:07:48 which unions only on the mountpoint dir, unlike unionfs 00:10:45 this is a sas hardware raid, so it's ufs 00:15:45 "unfortunatly" 00:25:36 can we install listxattr on freebsd somehow? it's a dep of a rust thing i wanna compile 00:26:56 No 00:27:41 Is "listxattr" available as package|port? 00:27:55 doesn't seem like it 00:28:58 Get the source to compile (& install) then 00:29:00 it's a linux syscall? 00:29:12 Oh 00:30:25 what's weird is i found this https://github.com/solidiquis/erdtree/pull/160 to make building it work on *bsd, yet it changes a cfg! from (target_os = "linux") to not(target_os = "macos") 00:30:26 Title: Use 3 arguments listxattr() on non-macOS Unix by iquiw · Pull Request #160 · solidiquis/erdtree · GitHub 00:30:42 so it runs on freebsd... yet we don't have access to listxattr? crazy netbsd guys 00:33:30 not sure what to do now 00:34:39 who said it runs on freebsd? 00:35:20 well the comment in that PR "In order to support *BSD especially." 00:44:59 is it ok to edit /etc/ssh/sshd_config or should i edit something in /usr/local/etc? 00:45:18 edit /etc/ssh/sshd_config 00:45:34 ok ty 01:51:02 Bummer. I lost sound upgrading from 13.1 to 13.2. 02:00:58 just finished upgrading a bunch of boxes to 13.2 from 13.1 and all's well, ty very much freebsd project!! 03:04:59 <_xor> Is there a tool in ports to monitor keyboard state and emit events on changes? 03:05:43 <_xor> I basically just want to monitor the state of caps lock, num lock, and scroll lock in a blocking way from a script so that it emits a line for each state change. 03:14:26 misc/kbdscan may be a starting point for this? 03:22:22 <_xor> Ah, that would probably work...but not ideal since it appears to automatically exit after 5 seconds of inactivity. 03:28:50 <_xor> Oh, I'm an idiot. I totally forgot the --query flag to evtest. 03:48:13 Powercycling brought sound back, apparently. Not sure what happened. 04:38:14 anywhere to get commit stats for fbsd going back 5-10 years? 04:38:20 wanna look at trends and stuff 04:42:20 Github? 04:42:37 * Erhard shrugs 07:23:29 polyex: what kind of trends are you looking for, exactly? 07:44:47 meena commits a day, committer quantity, ftp bw from ppl downloading installers 07:47:06 I think first two can indeed be extracted from the github API. note that committer and author are distinct concepts. but the third one has nothing to do with the version control 07:48:46 https://freshbsd.org/freebsd/src/branch/main aggregates some info, but I'm not sure you can easily extract stats 07:48:47 Title: FreeBSD / src - FreshBSD 08:06:07 the split from committer / author happened only with Git, although it was present from the start. but I'm fairly certain we don't have stats of that from the before time. it would've been a lot more effort to convert the subversion tree with that in mind 08:07:33 that means we can only really (easily) quantify outside contributions since git 08:53:42 if you don't want to mess up /etc/profile but want some system-wide variables/aliases, would you put those in scripts in /etc/profile.d ? 08:57:06 yes. with .sh extension 08:57:14 # Load each .sh file in /etc/profile.d/, then /usr/local/etc/profile, 08:57:15 # then each .sh file in /usr/local/etc/profile.d/. 09:03:28 so that's the order it does it in? 12:34:10 wish i could figure out why my server was crashing 12:35:00 rtprio: Anything in the loggs? 12:36:33 nothing. it's at a family members house. there's nothing notable on the screen when it hangs. nothing in logs after it's rebooted 12:36:52 i hope it just needs vacuumed out, but i doubt that's it 12:36:59 I assume it has non ECC memmory? 12:37:35 If the machine has more then one memmory stick try removing one of them at a time 12:37:45 * thorre had a "broken" memmory stick a while agod. 12:37:55 Got all kind of confusing behaviour. 12:38:05 it's a dell r710; it's ECC. i actually ordered ram there which i will be putting in next week 12:38:39 going from 48gb to 288gb. it's runs bhyve vms. and will be running a lot more of them. 12:39:29 Have you run iDRAC diagnostics? The built in tests from DELL are quite good. 12:39:47 Just to rule out some (not all) hardware faults. 12:41:12 i'll have to do that when i'm there. and get the drac on the network. it's drac-light so it's missing a dedicated drac lan 12:42:07 Make sure that you upgrade all the firmware, there may be some bugs that DELL has patched. 12:42:55 it's pretty old now, but i'll check 14:06:20 good morning everyone 14:06:52 hello there 15:18:59 I was wondering if anyone could speak to the maintainers of the transmission-daemon port and ask them to update it? its been 8 months since the last update and I think the daemon is a relatively simple package. Thanks 15:19:18 https://www.freshports.org/net-p2p/transmission-daemon/ 15:19:19 Title: FreshPorts -- net-p2p/transmission-daemon: Meta-port for Transmission BitTorrent client 15:19:26 there has been some updates here 15:19:29 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269504#c19 15:19:31 Title: 269504 – net-p2p/transmission-cli - New version available 4.0.3 15:20:22 is it waiting approval or something? 15:25:39 I was considering doing an old school make and configure but then I saw that bugzilla page :) 15:26:17 I would only make a mess been 20 years since I built from source, I remembe suse 5.2 15:33:56 OK i see it is still under review 15:34:05 https://reviews.freebsd.org/D40910 15:34:06 Title: ⚙ D40910 net-p2p/transmission: Update 3.00 -> 4.0.3 & modernize port. 15:34:45 thanks! 15:58:07 anyone alive here? 16:13:38 Is there some problem with http://www.efnet.org? irc/channels seem down too. 16:23:45 efnet's irc channels are working but that webpage seems to be down 16:40:29 quit 17:49:04 sorry for offtopic, https://news.ycombinator.com/item?id=37011324 17:49:05 Title: Bram Moolenaar has died | Hacker News 17:49:55 ngortheone: There's #freebsd-social too, which is often quite a reasonable place to be. 17:51:15 yes, sad news :'( 18:47:36 having trouble mounting nfsv4 shares as a user with vfs.usermount=1 enabled and user having enough rights to mountpoint (root mounts without problems) 19:19:51 what error? 19:26:21 mount_nfs: nmount: /mnt/temp: Operation not permitted 19:32:21 what exact mount command? 19:32:25 looks like filesystem permission error. but user can touch files inside mountpoints 19:33:15 no command but mount from fstab 10.10.10.10:/srv/temp /mnt/temp nfs sec=sys,vers=4,rw,soft,noauto,exec 0 0 19:34:06 mount -t nfs 192.168.10.10:/srv/temp /mnt/temp hangs 19:35:23 actually spits out ([tcp] 192.168.10.10:/srv/common/temp: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed out) after a min 19:36:43 if the server is nfsv4 only then mounting without the nfsv4 option won't work 19:36:55 (nfsv4 does not use portmapper) 19:40:33 -t nfv4 or nfsv4 in fstab do not work like on linux clients 19:41:12 and nfs_client_flags="-n 4" is enabled in rc.conf 19:41:38 ohh wait that is a -4 isnt it ? 19:43:00 what fbsd version? 19:45:11 (I see nothing that uses nfs_client_flags anywhere? where did you get it?) 19:45:25 if portmapper is not responding, make sure your server has port 111 open and rpcbind running;) 19:45:37 13.1 19:45:39 portmapper is not used for nfsv4 19:46:02 sure, but there is still the error message, you can not ignore that;) 19:46:31 server is not running portmap ( root mounting works fine) and linux clients are just fine without it on server 19:47:22 micdud: so, what _EXACTLY_ did you do that produced the "mount_nfs: nmount: /mnt/temp: Operation not permitted" error? 19:47:50 mount -t nfsv4 10.10.10.10:/srv/common/temp /mnt/temp 19:48:11 micdud: as what user? 19:48:19 mount -t nfs 10.10.10.10:/srv/common/temp /mnt/temp rather 19:48:21 as user yes 19:49:13 that command is the one that you said gave the portmapper error? 19:49:56 yes 19:50:40 it gives a portmapper error as root and "Operation not permitted" as a non-root user? 19:51:40 If you read mount_nfs, you should notice: nfsv2 Use the NFS Version 2 protocol (the default is to try version 3 first then version 2). 19:51:55 therefore, to mount v4, you need mount -t nfsv4 19:52:18 mount -t nfsv4 192.168.10.10:/srv/common/temp /mnt/temp 19:52:21 you mean -o nfsv4 19:52:30 yes, sorry 19:52:34 mount -t nfs -o nfsv4 ... 19:52:49 or -o vers=4 (same thing) 19:53:12 if you want to use the options from fstab then do mount /mnt/temp with no other options at all 19:54:32 192.168.10.10:/srv/common/temp /mnt/temp nfs sec=sys,vers=4,rw,soft,noauto,exec does not work for user 19:54:35 works for root 19:55:57 yes, because by default, users are not allowed to mount. 19:56:02 how EXACTLY are you doing the mount as a user? 19:56:30 tsoome: they already said they have vfs.usermount enabled 19:56:33 vfs.usermount=1 enabled 19:56:54 mount /mnt/temp 19:57:40 I assume this is not inside a jail? 19:57:48 no jails 19:59:05 is the nfs client module built into the kernel or already loaded? 19:59:23 i.e. does nfs show up in lsvfs 19:59:41 shows up 20:00:56 ls -lod /mnt /mnt/temp shows what? 20:01:39 drwxrwxr-x 2 root wheel - 512 Aug 6 14:26 /mnt/temp 20:01:47 weird ls -al shows different 20:01:51 and user can touch 20:02:03 that explains the error 20:02:16 ahh nevermind ls -al shows same 20:02:21 it's not enough for the user to have write access to the mountpoint dir, they are required to _own_ it 20:03:39 (or have PRIV_VFS_ADMIN granted by some mac module, but that presumably doesn't apply here) 20:04:47 hmm , chown and ug+w same prob though 20:05:53 ls shows what now? 20:06:23 drwxrwxr-x 2 dan dan - 512 Aug 6 14:26 /mnt/temp 20:06:37 are users in client and server in sync? 20:06:53 + nfs4 domain 20:07:10 uid and guid same 20:07:23 and user names? 20:07:41 what is nfv4 domain ? same a krb5 domain ? 20:07:57 yes username and guid uid same 20:08:26 and the exact error from the mount command is the same? 20:08:48 mount_nfs: nmount: /mnt/temp: Operation not permitted 20:09:54 You checked perms on / and /mnt I presume? 20:10:30 those would likely give a different error, but check anyway 20:10:31 micdud see -domain description in NFSUSERD(8) 20:10:32 Usually not permitted means it is running asd non-root for some reason. 20:10:51 I did ask for ls -lod /mnt /mnt/temp and not just /mnt/temp 20:11:09 I saw that request, but never the answer 20:11:25 drwxr-xr-x 5 root wheel - 512 Aug 6 10:20 /mnt 20:11:34 that's fine 20:11:36 user is in wheel 20:11:44 k 20:11:59 ktrace it ? 20:14:37 never used that but mount ; ktrace -i mount ? 20:15:33 ktrace probably won't be informative here 20:15:51 got a binary out :) 20:15:53 but try it anyway: ktrace -i mount /mnt/temp and then kdump -E 20:16:36 look for the nmount call and paste that part of the output to dpaste.org or termbin.com 20:17:49 nmount not in there 20:18:06 oh? then look for an EPERM 20:19:24 (but there must have been an nmount for it to report that in the error?) 20:20:16 You checked the logs on the other end too, I take it? 20:20:29 1164 mount_nfs 0.005518 CALL nmount(0x801986000,0x16,0<>0) 20:20:42 1164 mount_nfs 0.047249 RET nmount -1 errno 1 Operation not permitted 20:21:08 Do you see the input params? 20:21:21 ktrace doesn't know how to log them, afaik 20:21:31 Ah, maybe that is the openbsd version 20:21:39 Or dtrace. 20:21:42 I can't recall 20:22:46 Might be NAMI's in there ? 20:23:43 Look around that call also for read()s from the filesystem., Sometimes you will see config files and salient bits 20:24:32 oh, there's no NAMI, that's significant 20:24:44 Might be after GIO fd [0-9] read 20:25:00 I don't have a remote volume handy to mount 20:25:10 Was just looking at trace of mount -a 20:25:28 micdud: you're sure that vfs.usermount is set? 20:25:49 Oh, you are still doing this as non-root? 20:26:28 apparently it works as root 20:26:30 # sysctl vfs.usermount=1 leads to vfs.usermount: 1 -> 1 so i think so 20:26:34 As Operation not permitted is usually a check for uid 0 20:27:03 Client is allowed in server's /etc/exports if applicable? 20:27:19 it's not getting as far as the server as far as I can tell? 20:27:19 if root can mount , and yes 20:27:33 root CAN mount ? 20:27:56 micdud: there's no NAMI line in the ktrace between the CALL nmount and RET nmount? 20:28:06 micdud: or any other line for that matter? 20:28:31 Maybe termbin a grep -n30 around it 20:28:36 just 2 lines of 1164 mount_nfs 0.005545 NAMI "/mnt/temp" 20:29:24 ok, so there is a namei call 20:33:22 so maybe it is reaching the server 20:33:27 this is getting messy , ill post on forums i think 20:35:07 and ps: i did have it work before somehow , even with mit krb5 , just do not write down exact steps (might need to just try again from a fresh install) 20:42:33 Where does mount get the root perms to allow a user to mount? It's net suid, nor is mount_nfs ? 20:44:47 Or is that not required? Weird. 20:45:31 mountd perhaps. 20:47:20 or nfsclient 20:50:23 perms checks for mount are done in the kernel 20:50:48 including checking for root vs. user and in the user case, whether they own the mountpoint 20:53:47 Interesting 20:54:19 i suspect a large spike in freebsd usage if ms forces win 11 20:54:36 Did you happen to have that bit of the source up? (like know right where that is) 20:55:47 the only reason I use windows for home user is computer games 20:55:55 for work is a different story 20:56:11 how is that freebsd related? 20:57:21 I am pretty at the point that I would switch to bsd for desktop use unfortunately that is not a consideration these days 20:58:38 it doesn't matter anyway bsd community don't care 20:59:09 there is no desktop bsd any longer 20:59:13 no suprise there 20:59:44 *clwn emoji* 21:01:47 * RhodiumToad has used nothing but freebsd for desktop since 1997 21:02:26 I remember a guy like RhdoiumToad from college 21:02:39 problem is there is no marketing there for custom X 21:03:10 and 1997 was the year I went to college 21:03:56 * RhodiumToad was long out of college by then 21:05:38 Yeah, I was married by then, lol 21:18:38 do you know that transmission is used by 1000s of people? 21:19:01 is freebsd obnoxious 21:20:03 probably under paid over worked 21:20:55 so long as it is not government psyop bs i am fine 21:26:34 8 months to develop your malware haha joking 21:26:59 Clown emoji face 21:28:55 freebsd went woke already 21:28:59 years ago 21:31:30 feel free to take your trolling elsewhere 21:42:52 RhodiumToad: thanx for trying to help, i will spin up a new vm with 13.2 later, and try again from scratch (if does not work with then ill take it to the forums) 21:45:28 if you are thinking that is government psyop ps 21:48:00 it takes 8 months to update the largest torrent application ? 21:48:26 clown emjoi face 21:49:15 busy ya 22:28:26 call me crzzy all you want no answer for why it takes 8 months to update the most popular torrent client on freebsd 22:55:30 if i have a vm, is it hard to set up traffic proxying on it to jails the vm hosts? i wanna work up a solid system for using jails like app containers 22:55:48 but that means translating network to the vm, into the right jail (container) internally 22:55:51 in and out 22:57:20 jails can either have their own private IPs, or they can share one of the host's IPs 22:58:49 basically, vnet jails have networking isolated from the host, but usually with a virtual network link to a bridge device on the host 22:59:09 whereas non-vnet jails use the host's networking but constrained to one IP address 23:00:30 on the host end, it can either just be a bridge, or you can have a full-on nat or transparent-proxying setup 23:00:43 a lot depends on how you want to organize the IPs 23:02:03 i was thinking to have host have single ipv4 address, then internally have the jails use ipv6 23:02:18 to help save addresses even tho i want logically separate systems 23:02:27 that'd be rather hard to do 23:02:35 so i can put 5 systems on a single vm in the form of a jail but only use 1 ipv4 address 23:02:42 oh dang 23:02:53 if the host is v4-only, then you might as well make the jails private ipv4 addresses 23:03:05 oh ya huh 23:03:59 anyway, to do that you'd use nat on the host, with port forwarding rules if the jails are providing services 23:04:29 * RhodiumToad would use ipfw, but pf is popular 23:04:54 can nat route based on http host param? like setting up vhosting but each host is in its own jail 23:05:22 same ip to host, then www.foo.com to jail A, www.bar.com to jail B 23:05:33 no, for that you'd want to put a proxy such as nginx in front 23:07:13 hmm 23:07:55 kinda like now where nginx reverse proxies to socket file paths for my different sites, but instead proxying to the internal ip of the right jail, right? 23:10:42 ya 23:20:00 hm ok 23:20:36 because i want to make immutable infra, so i need to use jails for the actual workload, so when i update my app i just build a new jail then deploy that to the host 23:21:39 i could use vms for the workload, but then i need n vms (which have a $ cost) vs n jails (which can be run on a single vm, or more, so more flexible cost) 23:21:45 i'm thinking about that right? 23:34:51 seems reasonable to me 23:35:55 ty 23:40:08 when i start a new vm from an install iso i have to run through the installer. but that's error prone and tedious and slow. can we modify installer isos so all of our configuration is already in place? 23:40:17 so just boot the iso and it boots a configured server ready to go? 23:42:25 I wouldn't use an install iso, I'd make my own vm image 23:42:51 how do you do that? 23:43:08 are you doing this on your own infrastructure or on a cloud provider? 23:43:19 (because I'm not an expert on clouds) 23:43:59 neither, rented vm from a hosting company. through web panel i upload an image to run when the vm starts 23:44:15 so far only given it installer isos but i guess it doesn't have to be 23:44:25 like a vultr vps or whatever 23:47:56 the simpler option for you might be to customize the install iso; you can script the whole install and add packages and so on 23:48:07 man bsdinstall might get you started 23:49:47 ya but you make your own vm images. how do you do that? like start a new vm in a hypervisor, configure it, shut it down, clone vm image and in the future just launch new vms from that image? 23:51:18 I make mine from scratch from source, using buildworld/installworld 23:51:36 but that's more work than most people would want to do 23:53:06 you can instead install a distributed version into an image file using bsdinstall, I think 23:55:23 I haven't played with the installer much to be honest.