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