-
polyex
where do ppl point XDG_RUNTIME_DIR to?
-
polyex
like ~/.run or ~/.local/run or?
-
Zyxer
I thought it goes into /tmp/ and then $USER or soemthing
-
polyex
handbook has /var/run/user/uid
-
polyex
seems weird to put user dirs outside their home tho
-
polyex
another freebsd blog i read used /tmp/uid-runtime-dir
-
» V_PauAmma_V left it to the default value.
-
Zyxer
The /tmp isn't weird
-
Zyxer
V_PauAmma_V: What is the default?
-
polyex
default from where? not base
-
Zyxer
I am also curious about that
-
V_PauAmma_V
I just checked, and (using Xfce) it's unset by default.
-
Zyxer
It is usually set by Display Managers
-
Zyxer
Hmm...
-
Zyxer
On my linux thing it is
-
Zyxer
/run/user/{UID}
-
Zyxer
Uh...
-
polyex
which explains i guess why freebsd handbook says /var/run/user/uid
-
Zyxer
Change {UID} to the UID, usually 1000 is the UID of the first user made other than root
-
Zyxer
user is just user, not user login
-
_xor
Anyone know which flavor of regex expr uses/implements? Trying to loop over an fstab file for a jail and create the mountpoint directories before starting the jail, but for some reason I'm having trouble matching the first line against \/.+\s+\/.+ to verify it before cutting the 2nd column.
-
kevans
should be BREs
-
_xor
...or alternatively, if there's a way to tell mount to create the target directory if it doesn't already exist, which would be ideal :D
-
_xor
Hmm
-
kevans
I have a patch that adds an -E option to use EREs, but I haven't looked at it in probably five years
-
_xor
Pulls in a lib, I assume?
-
kevans
nah, just non-standard
-
kevans
try something like \/.{1,}[[:space:]]{1,}\/.{1,}
-
_xor
Ah
-
kevans
ugly, unwieldy, but it might work
-
kevans
alternatively, awk might be nicer
-
_xor
Yeah, I might just go with awk.
-
_xor
Hmm, apparently it didn't like that expression either.
-
_xor
expr '\\/.{1,}[[:space:]]{1,}\\/.{1,}' : '/mnt/services/data /cluster/nomad/jails/EXAMPLE/data/jail/mnt/data nullfs rw,noatime 0 0'
-
_xor
That should match, no?
-
_xor
oh wait, remove the escape slashes since I'm single quoting it?
-
_xor
Nevermind, removing them didn't help either heh.
-
V_PauAmma_V
... You have the string and regex reversed.
-
V_PauAmma_V
Quoting from expr(1): The “:” operator matches expr1 against expr2, which must be a basic regular expression.
-
kevans
also, I forgot that bounds have to be escaped
-
kevans
'\/.\{1,\}[[:space:]]\{1,\}\/.\{1,\}'
-
dch
welp, we're on -p3 for 14.0-RELEASE already...
-
Reinhilde
oh
-
meena
dch: and that's why more people need to test RCs
-
Reinhilde
ope
-
nerozero
found this:
github.com/dylanaraps/pure-sh-bible , maybe some one find this useful
-
VimDiesel
Title: GitHub - dylanaraps/pure-sh-bible: 📖 A collection of pure POSIX sh alternatives to external processes.
-
polyex
update on alacritty not running on a vm, over rdp, after a freebsd-update and pkg upgrade a few days ago. tried to ssh into vm and run alacritty on the rdp session: DISPLAY=:10 (my xrdp x11 display) alacritty says mesa: error: zink: failed to load libvulkan.so.1 glx failed to create drisw screen failed to load driver zink
-
polyex
can anyone help me figure that out or fix it or smth?
-
polyex
adding LIBGL_ALWAYS_SOFTWARE=1 and it runs btw, so definitely a bug in the driver
-
polyex
llvmpipe is better than zink too i guess, author of alacritty says
-
polyex
the reason vulkan got loaded is because of zink, since it's a OpenGL to Vulkan translation layer.
-
polyex
13.2
-
Remilia
now on -p3 woo
-
» meena needs to do that too
-
meena
uh-oh. No updates for pkgbase yet :O
-
ghoti
Ugh. I have a bhyve process that's taking all my memory. Can't seem to kill it. Is there a way I can hit it harder than `kill -9`? My `ps auxw` output shows this:
-
ghoti
root 3209 0.0 87.9 127644812 117926436 v0- TNC Tue03 297:54.00 bhyve: haos (bhyve)
-
meena
ghoti: first up, both of those things seem like bugs and should be reported
-
meena
if kill -9 doesn't work, then i suggest trying a reboot, after getting the info you need to report a bug
-
nerozero
ghoti, how did you run the "bhyve process" ?
-
nerozero
if you use vm-bhyve package to manage virtual machine run "vm powerof <vmname>"
-
nerozero
"vm poweroff <vmname>"
-
nerozero
or stock bhyvectl: bhyvectl --vm=vmname --destroy
-
nerozero
or bhyvectl --vm=vmname --force-poweroff
-
ghoti
nerozero: for that one, I'm using vm-bhyve to launch; it has a pretty basic config, here:
sprunge.us/LMP8gU
-
nerozero
is it amd machine ?
-
ghoti
meena: this is in 13.2, which I recently upgraded to. All was fine in 12.4.
-
ghoti
nerozero: nope, CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz (2600.11-MHz K8-class CPU)
-
nerozero
yah ...
-
ghoti
?
-
scoobybejesus
vm-bhyve is being run on the host, right?
-
ghoti
Yes.
-
nerozero
My issue with bhyve is that windows guest machine usint 200% cpu core doesn't matter is guest doing something or completely idle
-
ghoti
I haven't run Windows in years.. This was a HAOS appliance, Linux..
-
ghoti
And this wasn't CPU, I can afford that; it was failure to release memory.
-
ghoti
From top: Mem: 27M Active, 776K Inact, 111G Laundry, 9417M Wired, 1397M Free
-
nerozero
same but office need one accounting software which is run only on win 7
-
ghoti
The machine has 128GB RAM. Everything plus swap got used.
-
nerozero
never had ram issues with bhyve
-
nerozero
in case of zfs your zfs will try to grab as many ram as it possible
-
nerozero
this is normal
-
nerozero
could you please share the "top" head ?
-
nerozero
what is in the ARC field ?
-
ghoti
Hmm, I was running an older patch level of 13.2. One sec while I upgrade and test again..
-
ghoti
nerozero: here's the top of `top` when I'm not running that bhyve VM:
sprunge.us/JYyNAM
-
ghoti
Sigh.. Seems to bebehaving after the upgrade. Ain't that always the way? Anyway, thanks for your attention...
-
nerozero
ghoti, sorry, working in parallel ..
-
nerozero
-
VimDiesel
Title: bhyve 100% CPU usage | The FreeBSD Forums
-
nerozero
it may have some useful information
-
ghoti
nerozero: indeed, there are some useful diagnostic strategies there. But still, my problem was not CPU usage, it was laundered memory not being released. And I haven't been able to replicate it since upgrading to 13.2-p8.
-
nerozero
ghoti, could you please create a new thread in freebsd forum and post the link here?
-
nerozero
I'm also a active bhyve user so ...
-
nerozero
also you can find a #bhyve channel here on libera, but its kinda dead, never respond anyone there ...
-
ghoti
nerozero: yes, I gave up on #bhyve a while ago. Tell you what, I'll create a thread if I can replicate the problem. If I can't, I think I just chalk it up to randomness that went away with the update.
-
nerozero
ghoti, good luck!
-
ghoti
Or should I make a thread basically saying "this happened; what do I do if it happens again?"
-
nerozero
IMHO, if problem still exists, it is good to share the issue and steps taken... If someone else will experience same issue - the thread will grow.
-
ghoti
In almost 2 decades of FreeBSD, I've never seen this before, which makes me think it can't be too common. :)
-
nerozero
I'm with BSD from bsd 3.0
-
ghoti
Dang, I'm counting wrong. I started with 2.2 I think. So a quarter century I guess.
-
nerozero
:) remember deco commander? on Hercules monochrome screen? :)
-
nerozero
squid and mgetty, IDSDL for USRobotics Courier modems ... yah...
-
ghoti
720 × 348 was my favourite resolution. :) I didn't use deco though. I came from 4DOS/4OS2 and SCO Xenix. Different lifestyle...
-
nerozero
yeh ....
-
nerozero
what a time...
-
» RhodiumToad started just before 2.2
-
nerozero
386 with 16MB or ram ...
-
nerozero
40MB hard drive
-
nerozero
that was a server :D
-
nerozero
custom kernel compilation took ~1 day
-
nerozero
actually I do remember 2.2 BSD
-
nerozero
the longest supported bsd was 4.22 if I recall
-
ghoti
Chronologically, the 2.2 branch had the longest stretch of releases, with 2.2.9.
-
RhodiumToad
freebsd 4.x had a long production lifetime because of the whole 5.x issue (5.x was really a development-only branch for making SMP work)
-
ghoti
yes. fbsd has long had a reputation for putting experimental/broken stuff into odd-numbered releases. Seemed to go away with fbsd 9.
-
RhodiumToad
I think I skipped over either 7 or 8 or both, I don't recall
-
RhodiumToad
I think the idea was that the odd numbers were "current" rather than "stable", but I wasn't paying so much attention to development back then
-
michaeldexter
-
Zyxer
It 404 for me
-
Kalten
For me too
-
michaeldexter
Any list admins here to look at that?
-
Kalten
mail-archive.freebsd.org/mail/archive/2021 does work, so likely wrong owner/rights of the directory
-
VimDiesel
Title: Index of /mail/archive/2021/
-
michaeldexter
Yep, most years work.
-
V_PauAmma_V
Wouldn't wrong owner/rights be a 403 rather than a 404?
-
Kalten
V_PauAmma_V: oh! You are right! Sorry.
-
V_PauAmma_V
michaeldexter, if no list admin answers, email postmaster@? I think that's also the web archive server admin group.
-
michaeldexter
-
VimDiesel
Title: The freebsd-current Archives
-
michaeldexter
Certain archives are there.
-
michaeldexter
But not 2022. Hmm
-
michaeldexter
I have mailed postmaster@ asking how that is intended to be accessed.
-
Kalten
at least the directory 2022/ with a file named “no archive for 2022” so people do not wonder what happened
-
» kevans whips up a conspiracy theory
-
RhodiumToad
the lizards did it
-
meena
maybe it was advanced lizards…
-
meena
like… birds.
-
Kalten
-
VimDiesel
Title: Echsenmenschen – Gothic Almanach
-
RhodiumToad
I think technically they (birds) are not lizards, even in a broad sense, since "lizard" refers to a different branch of the reptiles
-
rwp
I'll believe the advanced lizard alchemists theory, but there not that birds exist, no way, did my own research on that one.
-
meena
yeah, I guess that's like saying a shark is a fish, which is true in the most abstract sense
-
RhodiumToad
uh
-
RhodiumToad
a shark definitely is a fish?
-
RhodiumToad
it's just not a bony fish
-
Zyxer
Hi.
-
» RhodiumToad grumbles at missing or outdated leapseconds files
-
rwp
RhodiumToad, Re leap-seconds.list, Yes, Is there a plan that I might know about how FreeBSD handles such things? (I know I can manually update it.) I have so many questions. Is the plan to update from 13 to 14? Is it updated in 14? To install the port of ntpd, ntpsec, or openntp?
-
topcat001
Just finished installing 14.0 at work. This will be our clang machine (why? because I love it).
-
topcat001
(our Linux devs are very excited :))
-
cybercrypto
Hey... not sure where to look... everytime I open a term, I got this: bash: SRCDIR: unbound variable
-
cybercrypto
I am not sourcing anything in bashrc nor .profile....
-
cybercrypto
not sure where to start looking 8-) any clues?
-
rwp
cybercrypto, Sounds like a shell with -u set which will error when any unset variable is referenced.
-
rwp
But I can't create a reproducer for that exact message.
-
rwp
Ah, yes, try this: bash -uc 'echo $SRCDIR'
-
rwp
Regardless, I am NOT an advocate for the use of -u and I recommend not using it. Along with -e. Both of those are not helpful. Not like people wish them to be helpful.
-
rwp
cybercrypto, If it is every time you open a terminal then it must be in the environment file somewhere. If not the default ~/.bashrc then $ENV. But put a "set -x" at the top of the .bashrc file for a debug run and that should trace through it.
-
rwp
You don't have to open a new terminal. Just stack another shell. Invoke "bash" again in the terminal.
-
_0pr_
join #c
-
_0pr_
whoops...
-
mane
i'm reading about ipsec but the example the handbook contains is showing how to connect two lans over ipsec
-
mane
i'd like to see how to make kinda client - server solution if possible