-
satanist
I'm currently looking at the code
-
Macer
alrighty. have bastille running on what used to be the old proxmox server :) and managed to make a vnet jail on a vlan
-
Macer
that actually works heh
-
Macer
i wish bastille had an ncurses interface :) like some tui thing
-
deimosBSD
cbsd does
-
Macer
does it?!
-
Macer
-
delgnam
I burned the disc image onto the drive using dd, now it boots :) ; I don't know why it didn't boot when using ventoy.
-
rwp
Ventoy requires some custom something for every OS that it can boot. It may seem like it is some type of generic OS magic-boot tool. But as I understand it ventoy knows about every OS it boots and usually needs to be customized for each one.
-
rwp
Which means that every time an OS puts out a new release I hear everyone complain that ventoy doesn't boot it. Until it is updated to do so.
-
delgnam
hmm, i had the assumption that ventoy was a magic-all OS boot tool too, thanks for the info rwp.
-
rwp
I just know that every time there is a new major OS release made by Debian, Ubuntu, *BSD, that afterward I see a lot of people reporting that Ventoy can't boot it. People eventually say update to the latest Ventoy and that this fixes it.
-
rtprio
wtf is ventoy
-
delgnam
-
rtprio
oh
-
makr
why is my freebsd server killing processes with there is plenty of swap
-
LXGHTNXNG
how much RAM do you have
-
LXGHTNXNG
and what are the processes? i assume they are dying as out of memory?
-
rwp
What is being logged to /var/log/messages about it?
-
makr
1 gb of ram, 2 gb swap
-
makr
in the log there's - Dec 20 03:09:13 freebsd kernel: pid 13749 (valkey-server), jid 0, uid 537, was killed: failed to reclaim memory - Dec 20 03:09:19 freebsd kernel: pid 1633 (node), jid 0, uid 1002, was killed: failed to reclaim memory
-
rwp
Initially I would think that whatever process you are running is exceeding what you have. But... How much memory is the program you are running using?
-
makr
my node process is using around 200 mb
-
makr
valkey is using 35 mb
-
makr
is there a pkg cron job or something? i'm seeing something like that in the graph
-
makr
i don't know what this is but i'm suspecting it - /usr/local/etc/periodic/daily/411.pkg-backup
-
makr
looks like it's due to vm.pageout_oom_seq
-
rwp
Personally I like the "htop" tool best. It has a graphical memory bar which I find useful. I would "pkg install htop" and then have it run in a terminal while I am running the program and then see what the system is doing. But... Impulse spikes of memory use will be too fast for htop to see.
-
makr
a pkg cron job runs at that time, and pkg takes too much memory, and then the OS starts killing stuff, regardless of swap due to vm.pageout_oom_seq
-
makr
rwp: i forget about htop. i used lnav and netdata to see what happened at that time
-
Remilia
makr: are you using UFS or ZFS btw?
-
makr
Remilia: UFS
-
Remilia
for starters I'd probably watch top while trying to trigger the crash
-
Remilia
then there's dtrace
-
dacav
Hi! IDK if anybody here could be interested, but I had some fun lately with a tarpit for web crawlers, and I run it on my freebsd webserver. Project page:
dacav.org/projects/supercazzola ; The result looks like this:
dacav.org/L/tarpit-demo
-
titou
hey
-
titou
my php-fpm (8.4) on freebsd 14.3 often crashs with SEGV but no core file is produced
-
titou
does someone has trouble with php 8.4 which crashs ? And how could I have core file in order to understand why it crashs?
-
titou
ulimit for core is unlimited and kern.corefile is set to a location where the user can write the core file
-
Pauli1
dacav: as i can see you run lighttpd/1.4.82 on your server. Do you run it with ktls enabled?
-
dacav
Pauli1: not that I know of
-
Pauli1
dacav: moment, i will show somewaht ...
-
dacav
OK. If that matters, I use lighttpd from pkg
-
Pauli1
-
dacav
uhm... butchered picture?
-
Pauli1
Because I have the same strange thing with my box when lighttpd runs with ktls
-
Pauli1
That picture is from your site
-
Pauli1
-
Pauli1
This one
-
dacav
Right. I never noticed this problem before
-
Pauli1
So i'm not alone with that. ;)
-
dacav
That's great! :D
-
dacav
Are you sure it is due to ktls?
-
» dacav didn't even know of ktls before this conversation
-
Pauli1
It seems so because the is corrupt
-
Pauli1
sysctl kern.ipc.tls.enable
-
Pauli1
sysctl kern.ipc.tls.stats
-
dacav
I can't reproduce the problem btw
-
dacav
How do I?
-
Pauli1
ssl.openssl.ssl-conf-cmd += ("Options" => "-KTLS" ) in lighttpd.conf will "solve" that but ....
-
Pauli1
Oh, you can't reproduce the problem ?
-
dacav
Nope
-
Pauli1
That's sounds good. So maybe the problem is here only
-
Pauli1
I open the picture in firefox
-
dacav
I just opened it on firefox (well, librewolf) and even curled it
-
dacav
what if you curl it?
-
Pauli1
And got the result
-
Pauli1
-
dacav
Pauli1: could it be a matter of latency? From your IP you look kinda distant
-
dacav
the server is in London
-
Pauli1
I'm Germany, near by. ;)
-
dacav
Oh, OK. Then maybe I took someone else's IP
-
Pauli1
I curl it with another Server and the picture looks fine. Seems the error, mistake, whatever is here on my machine
-
dacav
uhm uhm
-
dacav
Let me try to enable ktls from my client side
-
dacav
nope
-
dacav
(assuming curl makes use of that)
-
Pauli1
I have no clue what it can be. sendfile, lighttpd on ZFS ...
-
Pauli1
What ever I've to try and try ... ;)
-
Pauli1
One question, do run FreeBSD 14 or 15
-
dacav
on server freebsd15
-
Pauli1
14.3 here
-
Pauli1
Ah
-
dacav
client-side it is 14.3
-
Pauli1
Thanks
-
dacav
Any time :)
-
dacav
Feel free to ask for details if you need (if I don't answer just /query me)
-
dacav
(I will eventually answer)
-
Pauli1
Okay :)
-
Macer
for the life of me i can't seem to get rclone to mount smb in a jail :/
-
Macer
i don't remember having issues like this with jails before
-
cullum
Anyone manage to the new MIT kerberos in base working with freebsd15? It does not seem to be compatible with cyrus-sasl-gssapi
-
rtj
Macer: can you use a nullfs mount in the jail?
-
Macer
mount_fusefs: /dev/fuse on /mnt/test: Operation not permitted
-
Macer
rtj: possibly
-
Macer
i know rclone works on the host
-
Macer
i've been messing around with jail.conf and devfs.rules nonstop for the past hour
-
Macer
trying to sort out why rclone just won't work
-
Macer
-
Macer
not really sure what i'm doing wrong here :/
-
zip
I've been trying to trim the fat on the void box so I can zfs send its fs elsewhere and play with BSD for a while, and boy fucking howdy do Discord, Slack and Signal Desktop use most of the space. Also: xbps never clears up after itself either
-
Macer
ah well... let me shut it down and take a break from it lol
-
Macer
trying to get to a point where i get past the learning curve to start using freebsd for a jail/vm server vs proxmox
-
Macer
but it's things like fighting this... :)
-
Macer
oh wait.. think i missed something
-
» Macer facepalms
-
Macer
i guess it's allow.mount.fusefs not allow.mount.fuse .. argh! i forgot the "fs" lol
-
Macer
ok. that worked. now i'll take a break. i still have to sort out where to put rclone so i can use it in fstab.. i know it's different in freebsd
-
dbohdan[phone]
If you die in Linuxulator, you die in real life
-
Macer
haha
-
Macer
well right now i'm trying to sort out how i'm supposed to rename rclone to act as a mount helper for fstab
-
Macer
-t rclone -t fuse.rclone -t rclonefs all say invalid fs
-
Macer
the helper does seem to act as a helper when rclone is linked to mount.rclone or rclonefs
-
Macer
wow.. i just remembered.. i put that on my abandoned blog lol...
crazy.macer.life/freebsd-jails-rclone-mounting
-
Macer
and it still doesn't work. that was with 14.. i doubt much has changed since then... well a lot did but not this
-
Macer
ah ok. so it seems i found it impossible to mount using rclone IN the jail and had to resort to mounting it into the jail from the host
-
Guest95
Hi all, is it possible to put FreeBSD on a chromebook? I keep getting kernel panics with ubuntu, would love some stability.
-
warsoul
hello
-
warsoul
how can i upgrade from 14.2 to latest version?
-
deimosBSD
-
deimosBSD
pretty sure you can upgrade from 14.2 to 15.0 directly. Conservatively, upgrade to 14.3 latest and then 15.0
-
Guest95
Is it possible to put freebsd on a chromebook if I have access to the UEFI to boot into whatever I want?
-
violette
Good morning everyone! I've asked this in #freebsd-irc, not realising it was the overflow channel. I'm trying to compile world from source, but i'm getting an error while compiling bootstrap. I get an error at _bootstrap-tools-link-[`, namely `Cannot find host tool '['`. What am i missing ?
-
nprice
violette: are you running make with any special options or have you modified any Makefiles?
-
nprice
my first thought is that there's either a malformed option or maybe a malformed environment variable - my second thought is maybe you're running a different `make` than /usr/bin/make?
-
nprice
This is at around line 2830 in /usr/src/Makefile.inc1 if you wanna take a look and see if any variable names jump out at you
-
rwp
Host tool '[' is "/bin/[" and that seems odd that /bin would be missing. And how would anything work if /bin was missing?
-
rwp
I think it more likely that the build environment is somehow just completely broken.
-
nprice
I wonder if $PATH is completely clobbered or something
-
rwp
I would restart from square one. I personally would create a pristine jail and build in there to ensure that the build system is in a known good state.
-
nprice
lol I'd forgotten that `[` is an actual binary and was assuming something wasn't being parsed properly
-
nprice
but yeah what rwp said - start in a fresh environment
-
rwp
This feels like a case where there is a simple error message about not finding the '[' command and we could chase down that detail but having that happen is really an indicator that something waaayyy earlier has gone very wrong. Because [ is a builtin to almost all shells since a few years.
-
nprice
yeah great call
-
Guest95
hi all, any ideas about running any of the bsd family on a chromebook?
-
mzar
no idea
-
mzar
Guest95: are you a FreeBSD user ?
-
Guest95
no, but i am thinking strongly about it. I skimmed through the michael lucas books
-
mzar
it's good OS, feel free to try
-
mzar
-
Guest95
my only concern that i would need to learn more about is docker/kubernetes. I guess you can use instead jails, saltstack, nomad, pot, bastille?
-
mzar
polarian is going to give a talk, nice
-
nprice
Guest95: check out podman too
-
nprice
Guest95: and Sylve
-
Guest95
ok
-
nprice
fairly recent development and I believe you _should_ be able to run a lot of Docker containers natively now
-
Guest95
that is cool, but what about something like kubernetes?
-
mzar
nprice: have you tried ?
-
nprice
I just run jails tbh
-
mzar
OK, same here
-
nprice
I have a bunch of hacky scripts that make them act like ephemeral Docker containers
-
Guest95
but how do you scale everything like on a cluster such as kubernetes?
-
nprice
not much point on a single system
-
Guest95
because i would love the stability from BSD but also the scaling like kubernetes
-
nprice
without running multiple systems there's really no scaling that kubernetes will do for you that you can't get out of a single container
-
Guest95
right, you would need multiple systems set up, but how would you do that on BSD?
-
nprice
I'm not sure there's a great answer to that right now
-
nprice
would be standing up multiple systems with jails and front them with an nginx load balancer or something
-
nprice
you can certainly do it but there's gonna be a lot more manual "plumbing" for you to handle than you would running k8s
-
Guest95
yea that is what i was afraid of, that would be the only thing keeping me on linux but then there are downsides to that which freebsd would solve
-
nwe
Guest95: one solutions could be running 3 vm with (bhyve) and install linux and kubenretes om them?
-
Guest95
hmm interesting so the main os is BSD but then run linux VMs on them?
-
Guest95
seems like it might be slow if you do that
-
nwe
Guest95: itś depends if itś for learning (homelab) they it would be okey, but not for production then i propbly to slow..
-
Guest95
right, this would be a prod system
-
nwe
hmm dont know iif you can give a your bhvyve direct-access to disks if that maybe will be better performance.. *brainstorming* :D
-
Guest95
i appreciate the brainstorming
-
nwe
but try it out? I mean kubernetes node in AWS /GCP are virtual-machines :)
-
nprice
you might be surprised about how lightweight bhyve is even for full-hardware virtualization
-
mzar
Guest95: so you have to run Linux for your kubenretes, no worries, FreeBSD is not any real competitor
-
nwe
I should setup 3vms installing linux with k8s, and test it out..
-
mzar
usually, you need k8 for your shareholders, if your business can scale, they will be pleased OC
-
mzar
but Netflix doesn't care
-
mzar
but maybe they are hiding it ...?
-
nprice
a giant pile of shell scripts can get you surprisingly far lol
-
Guest95
can you explain further mzar what you mean or how they are doing it?
-
mzar
I don't know TBH
-
Guest95
no worries
-
mzar
k8 is history, now everyone is focused on these ollamas
-
Guest95
lol true
-
Guest95
you think it is a bubble that will pop?
-
nprice
irc is history, now everyone is focused on Microsoft Teams
-
Guest95
:')
-
shbrngdo
does anyone else move distfiles to a place not on /usr/ports/distfiles? I do that but when I attempt to builkd it chokes on $DISTFILES for some reason... worked around it by changint /use/ports/distfiles to a symlink
-
mzar
yes, ollamas will take over bitcoin miners
-
nprice
There's definitely a level of bubble involved but I think a lot of the technology has proven too useful that it'll simply go away
-
shbrngdo
WWRKDIRPREFIX still works ok though
-
Guest95
yea agreed, but i feel like everyone will just switch to the best model available at the time and the best one wins
-
mzar
shbrngdo: WRKDIRPREFIX or WWRKDIRPREFIX ?
-
mzar
shbrngdo: how goes it ? are you still running FreeBSD ?
-
mzar
shbrngdo: WRKDIRPREFIX= /var/ports and DISTDIR= /var/ports/distfiles works excellent for me
-
Macer
hm. i was going to use freeipa as a dc .. but i guess they don't have anything for freebsd
-
Macer
only fedora and rh it seems
-
Chip1972
How to use rsync to backups in zip files?
-
LXGHTNXNG
X-Y problem
-
LXGHTNXNG
er, I'm wrong
-
LXGHTNXNG
as far as I know rsync cannot be used to make backups to zip files
-
mzar
but one can use tar(1) to backut to zip files
-
mzar
s/backut/backup
-
mzar
zip_: are you doing backups with tar ?
-
zip_
One day I'll switch away from IRCCloud and use a client which lets me turn off handle notifications
-
mzar
lol
-
zip_
I'm doing backups with Time Machine and backblaze but I'd probably use restic once I kick the Mac to the kerb
-
zip_
Oh I also burn things like photos and music to blu ray because immutable backup storage is good actually
-
» mzar is creating zip files using libarchive and tar on daily basis
-
Macer
LOL
-
Macer
there's always option b. change your nick :)
-
Macer
does anybody know why samba is packaged with different major versions? i guess that's because upgrades to samba can break things a special kind of way?
-
Macer
i've had to cycle it a couple times and it seems like removing / installing newer works but i was just curious why it has samba416 samba419 and samba420 instead of just samba
-
nprice
i see it packaged that way in a lot of places - i assume there are client-specific incompatibilities or whatnot, but it would be nice to have "samba" just point to whatever is the latest
-
nprice
or something along those lines similar to how we do with php and golang and nodejs
-
Macer
I’ve never seen it that way other than in FreeBSD for minor versions. I could see samba 3 and 4 being separated though.
-
Remilia
nprice: samba.org people publish security updates for 3 different minor versions so…
-
Remilia
kind of like mediawiki I guess
-
theruran
Hi I am trying to setup mdo(1) on a fresh install of 15.0. I have mac_do kldload'd and sysctl security.mac.do.rules="uid=1001>uid=0" but I still get the error when running mdo from my user: mdo: setcred(): Operation not permitted
-
theruran
I can't find a setup guide, and I thought I did everything the manpage said. so I am a bit stuck
-
Chip1972
how to make a dir drwxrwxrwt?
-
Chip1972
$ ls -l /
-
Chip1972
drwxrwxrwt 2 root wheel 512 Jun 6 2025 tmp
-
satanist
Chip1972: by setting the sticky(7) bit
-
Chip1972
how, in mnbame
-
Chip1972
how, in name of Christ?
-
Chip1972
ops
-
Chip1972
how? in name of Christ.
-
satanist
-
Chip1972
God bless you... could you print it?
-
satanist
when you tell me the hostname of your cups server
-
satanist
and your printer is not on fire
-
Chip1972
Amen
-
» satanist wounder if this is meant to be an insult
-
Chip1972
(19:25:07) nologin: Chip1972, man chmod; $ chmod 1777
-
Chip1972
Saved by an angel...
-
LXGHTNXNG
Chip1972: we'd prefer if you didn't insult people for being satanists.
-
satanist
my name is satanist, but this misinterpretation is intended and for me to laugh
-
Chip1972
how to change nick?
-
thumbs
Chip1972: /nick newnamehere
-
tekniq
-
LXGHTNXNG
mysterious
-
Macer
so i'm trying to use samba to provision a new domain (controller)
-
Macer
and i'm getting some sort of python error
-
Macer
-
Macer
hm.
-
warsoul
deimosBSD you think is better to upgrade 14.3 first then 15.0?