-
rtj
I have one with that chipset too.
-
rtj
Thanks for all the wifi work.
-
specialbomb
so, I was just experimenting with the `zfs jail' feature. is the intended method for exposing a jailed dataset to a jail via `jail.conf' doing something like `exec.created += "/sbin/zfs jail ${name} data/set";'? This seems to work without trouble, but I couldn't really find any documentation on any standard way to do this.
-
polarian
-
polarian
oh looks like it is controversial
-
polarian
so there are others which think pkgbase is a steaming piece of shit too? :P
-
wsky
it looks like the apach24 userdir module is not working in 15.0
-
wsky
apache24*
-
rtj
specialbomb: I think all that's needed is "you need to set jailed=on for dataset"
cgit.freebsd.org/src/commit/?id=e0dfe185cbca
-
rtj
Looking forward to trying that one out.
-
polarian
oh wsky is here
-
polarian
do you pronounce your nick w-sky or wisky?
-
wsky
it's short for wintersky
-
polarian
oh you already told me that
-
wsky
anyone can confirm my bug?
-
polarian
I still read your nick as "wisky"
-
wsky
it's ok
-
polarian
no im not an alcoholic :P
-
polarian
although beer tastes good
-
rtj
sounds like you need a drink polarian
-
polarian
rtj: already had a wheat beer earlier
-
rtj
Nice, just coffee here.
-
polarian
wsky: cant help with apache though sorry, and sorry for derailing the convo
-
polarian
although I would ask why apache?
-
polarian
nginx is faster and more efficient
-
rtj
No 15 installs here yet.
-
Macer
is there somewhere that shows patch releases? like a list of them?
-
rtj
The announce mailing list.
-
wsky
ok i got it it was just disabled in httpd-userdir.conf
-
polarian
Macer: check the website as well will tell you
-
polarian
freebsd.org
-
polarian
the homepage has a list of security patches and erratas
-
specialbomb
rtj: yeah, that part is pretty obvious imo, I was more having trouble with "okay, so now how to I automate jails having datasets exposed to them and mounted"
-
Macer
-
Macer
that?
-
Macer
polarian: oh it does? hm.
-
polarian
Macer: and yes that mailing list is the correct one
-
polarian
whenever you get a security advistory (SA) which are also showed on freebsd.org there is an update
-
polarian
however they dont always announce the erratas iirc
-
rtj
specialbomb: Ok had no idea about context. Ty polarian, nice to see you today.
-
specialbomb
that commit you sent was actually very useful, ty
-
polarian
> The Reg FOSS desk spoke to an OpenBSD developer recently, who thought the change was rash and profoundly counter to established BSD practice. ~
theregister.com/2025/12/05/freebsd_15
-
polarian
I agree!
-
polarian
FreeLinux not FreeBSD!
-
rtj
It's one of my favorite things how it's seprate. I undersand things change. I will greatly miss it though.
-
Macer
polarian: thanks.
-
polarian
rtj: im protesting, I will compile from source insteasd
-
polarian
and if they remove that, I guess I will need to patch it back in :)
-
specialbomb
I truly havent been around freebsd long enough to give any opinion on pkgbase. I think definitely benefit from not needing to do delta based updates, but I also think there should be special management for base packages instead of treating them like 3rd party. I hope thats what is decided as time goes on
-
Macer
at some point i need to sort out how to update base with pkg too. i guess that's going to be a thing.
-
Macer
although i was more a fan of keeping pkg for packages and base with freebsd-update
-
rtj
I can't really say anything because I've yet to try it. I'm just a creature of habit though.
-
polarian
vortexx: you are a OpenBSD + FreeBSD user, thoughts on pkgbase
-
Macer
also.. i see there is kmods_quarterly_${VERSION_MINOR} ... is there a latest version of that where quarterly can be changed to latest?
-
Macer
similar to pkg+https://pkg.FreeBSD.org/${ABI}/quarterly being changed to latest
-
polarian
next freebsd will be adopting rust
-
polarian
pkgbase is a big mistake, it disappoints me to see some of the major freebsd devs so passionate about the idea of turning freebsd into Linux
-
polarian
speak of metapackages like its innovative
-
polarian
Linux been doing this shit for decades and it always ends up with the same issue, dependency hell!
-
Macer
probably not so much for the kernel and base utilities
-
kenrap
So... the parts are distributed as pieces but that doesn't mean the system isn't cohesive or piecemeal like Linux
-
specialbomb
thats what im thinking, like if the base system is fully maintained by freebsd as it always has been, I really dont see any issue with it in the regards of "dependency issues"
-
Macer
i'm just more a fan of freebsd-update and pkg being separate because then freebsd-update is a bit more static and independent of anything else
-
specialbomb
Macer: and so then, what im saying is that there should be very clear and separate management of base packages and third party packages
-
Macer
i'd be worried about pkg somehow breaking pkg or breaking how it can update base somehow... something that you'd probably not run into just keeping freebsd-update
-
Macer
i mean i'm sure there will be tons of testing to prevent that .. but freebsd-update was tested and true :)
-
specialbomb
id say theres always fear in a new tool. do you trust who makes the tool, is the more important factor here in my opinion
-
Macer
i mean i guess i can understand why they want to do it because then you can keep everything in one place instead of maintaining two things to do something one can do
-
polarian
kenrap: exactly...
-
polarian
took the benefits of BSD and ran them through a shreadder, and then doused them in petrol and fucking burnt them
-
polarian
like wtf is the point of pkgbase
-
polarian
"oh look I can remove this core library" woah
-
polarian
you know what you can also do? remove it from the source and compile your own custom kernel
-
polarian
you know, hacking the OS?
-
Macer
the point is to make one ring to control them all :)
-
specialbomb
Macer: eh... bad comparison. considering how LOTR goes in that regard :D
-
Macer
going back to talking about linux. i mean i don't really have many issues in something like debian which just uses apt to do essentially the same thing. or at least i've never experienced a wtf moment doing it
-
Macer
but i did like how freebsd kept it separate so i know... this is for this.. and that is for that
-
polarian
specialbomb: you mean mount doom went boom? :p
-
polarian
freebsd is mordor, the ring is pkgbase dropping into mount doom
-
polarian
:)
-
polarian
Macer: I might be young, but I have played with both OS enough to know that the Linux way is inferior
-
polarian
the control you have from the separation of base from ports is amazing
-
Macer
my question would have been when is fbsd moving to systemd :)
-
polarian
the fact your base system is one complete component is a great feature
-
polarian
Macer: that would be fork worthy
-
polarian
tbh pkgbase is fork worthy
-
polarian
I get that delta updates suck, but this is not the solution
-
specialbomb
polarian: im curious since you dont think this is a viable solution, what WOULD be a viable solution to this?
-
specialbomb
what would be ideal, in your perspective?
-
polarian
specialbomb: leaving shit how it is :)
-
polarian
maybe rewriting freebsd-update to be more efficient
-
polarian
freebsd-rustdate exists which is meant to take sub-minute to update a system to a new release (from what I hear at eurobsdcon) instead of 10 mins
-
polarian
like if you must pkg it, cant it be one big package
-
polarian
one complete redistributable
-
polarian
one complete system
-
sixpiece
hello I need help to get my server back online
-
sixpiece
freebsd server back online
-
s2r
sixpiece what happened?
-
polarian
cat tripped over your cables?
-
wsky
it was the squirels
-
polarian
ah right
-
s2r
Alvin?
-
Macer
Alvin was a chipmunk.
-
specialbomb
the floor is littered with woodchips and apple cores and hulls of acorns
-
specialbomb
theres a chattering sound... because they were squirrels! Real squirrels!
-
s2r
Macer you're right, same family though
-
polarian
-
polarian
good to know we are using "it works on linux, so we should do the same" as justification
-
polarian
BSD predates Linux
-
polarian
Linux has only been taken seriously in the last decade or two
-
specialbomb
hmmm... I dont necessarily agree with that. It's less that "it works on linux", its more that "it works, and it just happens to be on linux distros". its not a bad design decision when handled properly
-
mjp
i don't mind having 2 different utilities at all, i would never perform pkgbase + pkg actions together at the same time either so don't see much benefit in having a single command
-
specialbomb
oh, I do agree with that. I was disagreeing with polarian :p
-
specialbomb
everything roger said there was very sensible
-
sixpiece
s2r basically I was trying to upgrade to freebsd 15.0 and I was extremely tired also doing the installation on my laptop as well and I made a change to one of the files absent mindedly and then it might have been ok but I was scared I did some damage so I used a backup and a snapshot and reversed the change then ever since the internet hasn't been working correctly and lots of issues getting it
-
sixpiece
connected
-
sixpiece
I still want to perform the update and that's the situation but I'm like right now not even up and running at all , it was simple stuff that made it pingable and internet out but I still can't connect by ssh I have to login to my cloud vps provider and go in via their novnc connection
-
s2r
sixpiece so you went to a previous snapshot? Did you create a boot environment prior to pkgbase upgrade?
-
sixpiece
I had a lot of firewall rules because I did sendmail on the server to send out emails and there's a open dkim that required some rules and I sort of commented a few out very quickly hoping to get the firewall running so I have some level of protection maybe I should stop it completely I am not sure for now what to do
-
polarian
specialbomb: disagree with me all you like
-
polarian
I want my base system
-
sixpiece
it does an automatic 2 times per day backups and I just went on a backup that was 10 hours old
-
polarian
no metapackage
-
polarian
no ports updates with base updates
-
polarian
just my base
-
polarian
as a single entity
-
sixpiece
figuring that it was largely the weekend and not much happened in terms of development
-
specialbomb
polarian: no disrespect at all, I simply just disagree.
-
s2r
polarian can't you set all that on the repos to active: no?
-
sixpiece
it's automatically done by my cloud service provider I just requested the backup then it gave a snapshot then I used the snapshot sorry I couldn't answer your question further than that
-
polarian
specialbomb: ik :)
-
s2r
sixpiece and from that backup you have missing files?
-
specialbomb
<3
-
polarian
s2r: ?
-
sixpiece
I'm not sure from the backup I am not able to ssh into the connection for some reason ipfw initially was on that blocked all traffic now I turned it off I was using pf and have some rules I turned that on
-
s2r
polarian if you don;t want to upgrade everything set it to no on the /usr/local/etc/pkg/repo/FreeBSD-base.conf
-
sixpiece
I could try turning it off and then seeing if that works and then doing the upgrade
-
s2r
sixpiece where is the server located, have you got access to the console? What services are running?
-
sixpiece
I am running apache, mysql, different things like icecast and stuff like that even an irc server , php and a few things that were failed experiments like named server, opendkim is a service, sendmail, etc..
-
s2r
sixpiece I ran into some issues while doing pkgbase upgrade mostly related to fingerprints on the .conf file. I couldn't follow step by step the upgrade process from the handbook.
-
sixpiece
I turned off the firewall and I still can't get into the ssh
-
s2r
sixpiece Is mysql connected to thte internet or listens localhost only?
-
sixpiece
yes I used granite the ai tool as well as the manual and that helped a lot
-
sixpiece
normally I just use the manual but started with these ai tools
-
sixpiece
I can try
-
sixpiece
mysql failed maybe it's not on
-
s2r
sixpiece I don't remember exactly but couldn't you spawn a shell from mysql if you have the appropiate rights?
-
sixpiece
it's on but I cannot access it oh right I was sshing into mysql
-
s2r
sixpiece from which version were you upgrading?
-
sixpiece
I was trying to be conversative but I guess that's my thing I need to do to be balanced centrist
-
sixpiece
14.3
-
sixpiece
for some reason maybe it's the snapshot that brought me back in time
-
sixpiece
maybe I screwed up
-
s2r
sixpiece Have you created a boot environment prior to the upgrade?
-
polarian
s2r: like I will pkgbasify my system lol
-
kenrap
Here is a question. For those that really hate pkgbase, what's your "Plan B" for when FreeBSD meets its inevitable demise of pkgbase? :)
-
sixpiece
which kind of sucks cause I lost months of work by this stupid mistake I was tired
-
polarian
makeworld, makekernel, installkernel (reboot), installworld, etcupdate (reboot)
-
sixpiece
I am not sure what you mean boot environment?
-
s2r
polarian pkgbase lets you make your system reproducible like the requirements.txt in python
-
polarian
and if thats removed
-
polarian
idk
-
specialbomb
sixpiece: do you use zfs on root?
-
sixpiece
I have one from 24 hours ago but I think it was still lost at that time
-
specialbomb
you should be aware of boot environments if so
-
s2r
sixpiece something like, bectl create 15.0-RELEASE
-
sixpiece
no it's a cloud instance that they make for me with kvm
-
polarian
in any case I can always fuck off to openbsd for good :P
-
s2r
sixpiece if it's a cloud instance, can't you access the console?
-
polarian
but then wheres the fun in that, I wouldnt be able to moan about pkgbase then
-
sixpiece
I might get lucky and hopefully the backup is from when I did the work 24 hours ago ...
-
sixpiece
it's from over a year ago
-
s2r
sixpiece ah ok. so no zfs.
-
sixpiece
I'll be really lucky but I think it's possible
-
s2r
sixpiece So right now you are trying to revert everything to a known state prior to the failed upgrade, right?
-
sixpiece
wow just got very lucky I think
-
sixpiece
it wasn't really a failed upgrade as much as I thought it was but I did make a minor mistake or two deleting configuration I shouldn't have when I was trying to make a merge conflict work
-
sixpiece
wow it's back I am going to do the upgrade now if I have any issues I will let you know thank you very much sorry it wasn't supposed to be this easy lol
-
sixpiece
good thing I checked it before that backup got overridden
-
cpet
zip: just submit a PR
-
cpet
kenrap: i have no plan b as despite the hate towards pkgbase you can still manually compile the system as well as ports
-
cpet
kenrap: that isnt going any where
-
cpet
so i guess my plan b is compile form src
-
kenrap
cpet: true, src building is the safest option.
-
cpet
sixpiece: you can create be's
-
cpet
kenrap: 15.0 is a .0 most if not .0's are buggy
-
cpet
i have yet to see a .0 that doesnt have some issues
-
cpet
but i dont do any weird things so my brakage is different than yours
-
kenrap
It really seems like this .0 has been having a lot more issues than other prior .0 releases though. I think kevans made a good point about the lack of testing in 15.0.
-
cpet
you have not used 5.0
-
cpet
5.x was horrible heh
-
kenrap
Got another question, what happens if src building because pkgbasified? :)
-
kenrap
*becomes
-
cpet
the whole point in finally releasing pkgbase is to get more use out of it
-
cpet
due to the nature of current i dont think that would be an issue
-
cpet
in theory openbsd recomends you sysupgrade to a snapshot rather build from src anyways
-
s2r
sixpiece are you upgrading right now?
-
cpet
kenrap: with ccache it takes me 28 minutes to compile kernel and world, not everyone has a system like mine so
-
cpet
a lot of people wont bother to compile
-
sixpiece
s2r yes I am upgrading right now
-
mjp
yeah... its 2025 and i have a family, i'm not compiling my operating system lol
-
kenrap
Yeah, pkgbase really makes -current snapshot upgrades accessible.
-
cpet
kenrap: i think the real issue is when a new release comes in people rush to upgrade
-
cpet
kenrap: some goes for seueity issues like russia really want little timmys gaming system and collection of furbies in bmp format
-
cpet
kenrap: the humour i get is when people use something that litteirly says tech release
-
cpet
which meaning its still not production ready
-
cpet
then people like yourself bitch about it :D
-
kenrap
I don't bitch because I use -current :)
-
cpet
the only reason i use current if if a specific mission ciritical piece of HW is supported in it
-
cpet
other then that i dont see a point seeing how this desktop is my daily driver
-
cpet
kenrap: the ML's are interesting too such as a freebsd commiter complaiing about current being broken for 9 hours
-
cpet
heh
-
kenrap
I just learn to make BEs and snapshots to be able to revert to an older build and stay there until the waves settle down for a newer build. :)
-
kenrap
I don't follow the MLs much either.
-
JetpackJackson
I should look at the mailing lists
-
cpet
JetpackJackson: it gets pretty bad when you remind a commiter about jenkins
-
cpet
but then again my first port was fceu
-
cpet
not searching first I manage to port somethingthat was already ported :P
-
cpet
-
cpet
that was a funny day
-
cpet
kenrap: i just boot kernel.old
-
cpet
i have yet to use be
-
cpet
s
-
cpet
but then again i dont fiddle with my system as much as I should
-
kenrap
BEs are easy to make and use. I suggest using a date command for using timestamps to name them too.
-
cpet
if you need to have a lot of BE's think the issue is the user not the OS
-
cpet
heh
-
JetpackJackson
cpet: lol
-
kenrap
I don't make a lot of them, just a couple at most. I just don't think "backup${N}" is very descriptive and doesn't scale with scripting.
-
cpet
i name my backups backup1 and server-backup
-
cpet
how more descriptive do you need them to be
-
cpet
back-how-i-screwed-up-my-config-12-Dec-25-022321
-
cpet
?
-
kenrap
I'm not trying to argue with you. I thought it was a nice suggestion. Name your BEs however you want.
-
cpet
backup-kenrap-complains-alot-about-fbsd-datestamp
-
kenrap
cpet-now-goes-into-my-ignore-list-kthxbye
-
cpet
i dont need to know if you ignore me or not
-
kenrap
you don't have to act like jerk either :)
-
cpet
aww cute thought i was on your ignore list
-
s2r
Where can I check where the command named dialog has gone?
-
V_PauAmma_V
Use "which dialog"
-
JetpackJackson
cpet: backup-preconfigchange-{date}
-
s2r
V_PauAmma_V I can't find it. I did a find / -name dialog -print and the only place is found is inside a 14.3 jail. I'm running 15.0
-
kevans
tbf i don't think 15.0 was any less tested than any other release, people just don't take advantage of the time we offer for testing this stuff in general for any release
-
kevans
(still in scrollback)
-
kevans
> if you need to have a lot of BE's think the issue is the user not the OS
-
kevans
everyone has different risk tolerance
-
kevans
cpet: ideally you name these things with some idea of *why* you're creating one in the first place, but the exact sense kind of depends on how you model these things
-
kevans
i mean, you can create a BE and operate on that (let's call it 15.x), or create a BE as a backup (let's call it pre-15.x); in any event, they offer more value than just rollback, whether the majority of people take advantage of that or not
-
V_PauAmma_V
s2r, did you install your 15.0 using the pkg installer?
-
s2r
V_PauAmma_V upgraded via pkgbase
-
sixpiece
just letting you know thank you freebsd 15 seems like it was successfully upgrading on the last leg with post installation tasks
-
kenrap
sixpiece: awesome! :)
-
s2r
sixpiece can you check if you have the dialog program? which dialog
-
s2r
V_PauAmma_V I have checked in another upgraded installation and is missing there too.
-
V_PauAmma_V
Hmm. Not in the tree anymore.
-
» V_PauAmma_V dives into the 15.0 relnotes.
-
V_PauAmma_V
Ah. From
freebsd.org/releases/15.0R/relnotes/#userland-programs: "The bsdconfig(8) and bsdinstall(8) utilities now use bsddialog(1) instead of GNU dialog."
-
V_PauAmma_V
So I suspect dialog was shown the door in the process.
-
s2r
V_PauAmma_V so any pkg depending on it should fix its dependency. Thanks!
-
s2r
V_PauAmma_V how can I check if a program is on the tree?
-
sixpiece
s2r command not found
-
sixpiece
sorry s2r for long delays
-
V_PauAmma_V
s2r, either of 2 ways: if you installed sources on your host or VM, "find /usr/src -name dialog -print" (or whichever name you want to know about). If you didn't, point your browser to
cgit.freebsd.org/src, switch to the branch for your FreeBSD install (so releng/15.0 in your case), click on "tree" in the bar near the top, then look into the appropriate directory (bin, sbin, usr.bin, or
-
V_PauAmma_V
usr.sbin). If you don't find it there, check the contrib directory as well.
-
sixpiece
tired and speaking to a friend on the phone multitasking
-
sixpiece
thank you again good night
-
sixpiece
s2r
-
cpet
kevans: i was giving kenrap a bad time
-
sixpiece
hello s2r I am interested to learn the thing you were speaking of and I always appreciate the great support of this channel good night thank you
-
sixpiece
every thing is miraculously working as good as I need it for now and my systems are on freebsd 15
-
sixpiece
later
-
kenrap
Plasma Wayland is a pretty awesome experience
-
angry_vincent
i like wayland. i do not like X.org. finally i can make my system to be free of any X.org traces at all. port's allows this. it was little bit harder few years ago. but qith qt6 it is finally possible as they allows building without X.
-
angry_vincent
there are some quirks though, which can be sorted/patched.
-
kenrap
angry_vincent: it seems like you're almost there given the current limitations with the USE_XORG knob.
-
vortexx
polarian: I haven't looked at it, I'm on 14.3 for now. I do recall it's replacing freebsd-update which saddens me
-
vtorri
hello, i have downloaded the freebsd iso (the big one) and installed it in virtualbox. After the installation, no gcc. I tried to install it via pkg, but sudo is not installed, and su refuses to succeed, and pkg is not there too
-
vtorri
is there something to do during installation to have sudo and pkg already installed ?
-
SomeVisitor
›doas‹ instead of ›sudo‹ may be the way
-
kenrap
mdo(1) and mac_do(4) is another option and native to FreeBSD.
-
ridcully
vtorri: `su -` then use the password for the user `root` (not your password)
-
vtorri
ridcully : result : "su: Sorry"
-
vtorri
trying the other ways
-
vtorri
SomeVisitor: doas is not found
-
ridcully
doas needs to be installed. same as sudo
-
ridcully
can't you remeber your root password?
-
vtorri
mdo : not enough permission
-
vtorri
there is no pkg bin in /usr/bin
-
ridcully
its in /usr/sbin
-
ridcully
and you need root permissions to install anything
-
vtorri
i know my su password
-
vtorri
but i can't even get to write my password
-
vtorri
su fails before
-
tsoome_
are you member of wheel?
-
kenrap
I wonder if it's a pam issue?
-
vtorri
tsoome_ what ?
-
ridcully
use `id` with your current user, and check if it's in `wheel`
-
tsoome_
from su(1): In particular, by default only users in the “wheel” group can switch to UID 0 (“root”).
-
ridcully
since you run in a vm: switch to another terminal and log in as user root there
-
vtorri
ridcully everything in vtorri
-
kenrap
You might want to download the memstick or iso image and boot into it, so you can chroot into your install and reset your root password
-
kenrap
(Oh wait you already got one)
-
vtorri
i'll reinstall again
-
mzar
booting into single mode is usually enough to change root passworx
-
vtorri
it's not very long
-
kenrap
Oh yeah, do what mzar said.
-
vtorri
i'm reinstalling freebsd in VB
-
vtorri
at the step : "Distribution sets" or "Tech preview" choice, what should I use ?
-
angry_vincent
kenrap: it is an artificial thing, re USE_XORG. it is automatically appends RUN_DEPENDS for a given entry in USE_XORG ( which is in itself failproof approach - better install more than is needed ). However for purists it is an obstacle. There are complex or lesser understood dependencies. It can be treated specifically depending on what is the goal. I do not like excessive, unnessecary dependencies. But I trained by many years of
-
angry_vincent
Gentoo. FreeBSD while allowing many things to be optional is little bit more conservative in configure options.
-
kenrap
angry_vincent: gotcha
-
Macer
32.1T / 69.2T copied at 390M/s, 46.40% done, 1 days 03:42:38 to go so i guess about 2.5 days for me to expand my vdev
-
Macer
i guess later i'll find out if that is vdev dependent
-
Macer
i don't think zfs does any type of reflow if you add a new empty vdev to it
-
Macer
this weekend i'm going to dismantle my old 4TB x 12 pool after moving it to the pool i'm expanding. should be fun with zfs copying
-
mzar
it's nice to see that you are progressing Macer
-
SponiX
Macer: you sure are having a hell of a time. makes me feel like I should actually be finding this failing drive in my disk shelf :P
-
SponiX
Macer: if you are good with zfs send/receive please give me some working examples for my notes. I run into a lot of times I think it could be useful, but the documentation online is always way over my head. If I just "see" it in action though, I might be able to pick up on it
-
Remilia
SponiX: what sort of issue do you have with send/recv? they are somewhat… very simple tools?
-
Remilia
one produces a byte stream, the other consumes
-
Remilia
like tar c -f - | tar x -f -
-
SponiX
Remilia: can you give me a working example of doing it from machine1 to machine2 over a network? I'd like to be able to do it between my virtual machines, and also between my vms and a bare metal box too
-
Remilia
SponiX: `zfs send -LRc zroot | mbuffer -q -s 128k -m 32M | ssh target-host 'mbuffer -s 128k -m 32M | zfs recv -Fdu targetpool'`
-
Remilia
err
-
Remilia
zroot@snapshot*
-
Remilia
that's a full replication stream
-
Remilia
incremental is adding -i with the previous snapshot to send arguments
-
Remilia
so something like `zfs send -LRci zroot@backup-202511 zroot@backup202512`
-
Remilia
but the previous snapshot has to exist on the target pool
-
SponiX
Yeah, you say that is simple. But that still boggles my mind LOL. I will check back in with you the next time I have a situation that needs this ;)
-
Remilia
you do not have to use ssh of course, can just netcat if you trust your network
-
Remilia
you also do not need mbuffer, I use to to soften the inter-stream blows
-
SponiX
I'm up for using any method that works. netcat might be a bit faster than SSH though
-
Remilia
I use nc but I also do it over an IPsec tunnel
-
Remilia
there's a bunch of howtos on the internet for this
-
SponiX
Well, since these machines are all within my local network (NAT). the additional layers of security aren't needed IMHO
-
SponiX
Remilia: I know there are, I've looked at a LOT of them. And haven't found any REAL WORLD examples that I can easily modify to make work in my setup
-
Remilia
well the above is what I used many years ago
-
SponiX
If I get one good working command, I will just add that to my notes, and pull it from there and modify it any time I need it
-
Remilia
right now I have a more complicated one-liner because of mediawiki
-
Remilia
well... that's where I pulled that line from
-
Remilia
a 15 years old file with all sorts of one-liners I came up with
-
SponiX
If I get this spare system built today and still have free time. I might look at doing a snapshot of a users home directory and pushing that from one vm to another
-
Remilia
(including StrongSwan pki bs)
-
Remilia
SponiX: you cannot do a snapshot of a home directory unless it is its own dataset
-
SponiX
I have one user that doesn't want to move over to the new box because of the additional setup required. If I can clone their home from one vm to the other, that should eliminate any additional setup needed
-
Remilia
you do not need zfs for that
-
SponiX
Oh?
-
Remilia
tar solved that issue back in 1970s
-
SponiX
Guess I could just do "rsync"
-
Remilia
I would not call rsync 'just do' because it's more complicated than zfs
-
Remilia
the easiest way is `tar` seriously
-
SponiX
well for me rsync between boxes is what I normally use for any backup routines. So that is "simple" :P
-
SponiX
The one that is "simple" is the one you already know LOL
-
Remilia
SponiX: `tar cJf homedir.txz /usr/home/username`
-
Remilia
though that would include path prefix
-
Remilia
`tar cJf homedir.txz -C /usr/home username` will chdir to /usr/home so your archive will only have username as the directory inside
-
Remilia
then on the target system `tar xf homedir.txz -C /usr/home` if the username is the same
-
Remilia
might need to fix owner/group after that if they differ
-
Remilia
SponiX: to reiterate, to *only* replicate a single directory and underlying stuff with zfs send, you *have* to have that directory as a separate zfs dataset (filesystem)
-
Remilia
send/recv works on snapshot level, and snapshots work on datasets
-
SponiX
Okay, I appreciate the input/guidance. zroot/home/username and zroot/poudriere/ports/username both exist in "zfs list" and I think this makes them a dataset
-
SponiX
rsync -avP * username⊙110: and the like works fine for me already though. I just would like to learn the zfs process :P
-
MelMalik
my day is going perfectly cursedly... i worked around the inability of the ums driver to do its thing using uhidd. I'm successfully (ish) using X11 on a system that needed hw.dri.debug to be at 447 in order for the driver to load successfully (suggesting a race condition), and that when I leave the session, will go back to unusably jailbarred VTs, and I will need to go to my ssh'd login session in
-
MelMalik
order to shut the machine down.
-
SponiX
MelMalik: I'm not tracking much of that. BUT, it doesn't sound like much fun
-
MelMalik
It's a bit of a lorry crash.
-
crest
Remilia: FreeBSD nc can do a bunch of FreeBSD specific things among others it can request/require per socket scoped IPsec processing
-
crest
which should be really interesting for those with ConnectX6 cards and their IPsec transport mode offloading
-
SponiX
I've barely even used nc - haven't even scratched the surface of what it is capable of. inxi -Fxxzc0 | nc termbin.com 9999 on Linux is about my nc use LOL
-
SponiX
Alma Linux chat right now is talking about a "v2" build of Go only running on "v3" hardware... What a snooze fest LOL
-
SponiX
I feel very lucky that my X99 system makes it into the v3 category though. v2 support is getting hard to find
-
Remilia
dunno, 1.25 works on my old home router
-
Remilia
might be because I build it for v1
-
SponiX
Yeah, if I wanted ever last shred of performance out of my boxes I'd rebuild everything with the fancy flags. I'd rather run 1-3% slower though and have stability instead LOL
-
Remilia
not sure what you mean
-
Remilia
I can only build it for v1 because it is AMD Jaguar
-
Remilia
pretty sure v2 would crash with illegal instruction
-
SponiX
Was talking about my machines/situations. I could rebuild with compiler optimizations more fitting if I really needed to get a small performance bump
-
Retrofan
HI
-
SponiX
BUT, would rather just run the pre-made packages and have better compatibility/stability
-
» Remilia has her own package repositories
-
SponiX
Remilia: Nice... I've done my own when doing bulk builds using poudriere, and just put them in as
file:// local pkgbase sources. Have never done the webserver portion and shared them out though, even though I've read the documentation :P
-
Remilia
pkgbase huh
-
Remilia
I've only used poudriere for ports stuff, not for base system
-
Remilia
probably very different use cases
-
SponiX
Yeah, this was for ports, I've never rebuilt the base system for pkgbase. In fact, I have no clue how to do that, but might research it for lolz
-
SponiX
I've tinkered with pkgbase, and blown a few of my systems up with it already
-
SponiX
both dev vms are just built from source for their base right now
-
Remilia
SponiX: you mentioned pkgbase though?
-
Remilia
'local pkgbase sources'
-
Remilia
sorry I don't really get it, in my case I have the usual repositories for pkg (and previously for old style pkg-add etc.)
-
SponiX
hmm, yeah, I did mention it. But not 100% sure that is what it actually is, or what I actually ment
-
Remilia
pkgbase = base system in packages via pkg
-
SponiX
it was putting a source file for pkg in like /usr/local/etc/pkg/custom-ports.conf
-
SponiX
Yeah, guess it wasn't actually pkgbase then LOL
-
SponiX
Yeah, it was actually just building pkgs and a regular pkg source file. Not ACTUALLY pkgbase I was doing -- My bad
-
SponiX
I just looked off of the pkgbase configuration that was on a system already to make the pkg-src.conf for local
-
SponiX
and just did edits based off of that and the handbook
-
Macer
SponiX: in my case I’d be doing it locally.
-
Macer
But I think doing it over ssh is the quick and easy.
-
Macer
And the only reason I was having a hard time is because I had two disks completely fail on me.
-
Macer
Otherwise. It went rather well. It expanded. Scrubbed. And I had more space.
-
Macer
Works as designed (tm)
-
Macer
And with regard to the second disk. I think it getting kicked out was my fault. I kept trying to clear the1 bad read over and over so I think that caused zfs to kick it out the pool lol.
-
polarian
I just had a good idea
-
polarian
installing freebsd arch-style
-
polarian
s/arch/gentoo/
-
SponiX
I think my idea to have another shot of Gin is better
-
acdw
what does that mean polarian
-
polarian
in theory I should be able to installkernel and installworld to a formatted disk
-
polarian
then configure the installation from the host
-
polarian
and for at least bios boot (because I libreboot) no configuration is needed
-
polarian
loader will be detected automatically and freebsd should boot
-
isley
you'll also need to run make distribution if it's blank
-
isley
but yeah
-
polarian
isley: why make distribution?
-
SponiX
It is "an idea" but what makes it a good one?
-
polarian
also the whole idea is to avoid distribution because it will be pkgified in 16.0
-
isley
or at least you used to, maybe i'm out of the loop in this brave new pkgbase era.
-
polarian
need a long term no pkgbase solution
-
polarian
SponiX: it gets rid of the horror of pkgbase
-
SponiX
there are a LOT easier ways to not have pkgbase on CURRENT though
-
o0x1eef
pkgbase can co-exist with other methods, you can still build from source as well
-
isley
polarian: because installworld doesn't install everything.
-
SponiX
for one, you can just disable the pkgbase repo, and buildworld/installworld/installkernel like normal - Profit
-
polarian
isley: oh right... fuck
-
o0x1eef
Why? I doubt 'make distribution' is going anywhere
-
polarian
SponiX: if the install is pkgified, I heard installworld/installkernel break the system
-
polarian
o0x1eef: I assumed make distribution will soon be changed to make the pkg tree used by pkg to update the system
-
SponiX
polarian: you heard wrong ;)
-
isley
it will work otherwise though, that's how i used to jump from ufs to zfs root before we had zfs booting and still relied on a tiny ufs slice.
-
o0x1eef
It wouldn't break the system, it would update the system via another method.
-
o0x1eef
'make distribution' is too useful to get rid of imho, I use it all the time when setting up jails
-
spuos
I'm having issues with NIS on my server, does anyone know how to wipe all nis master (accidentally set up as master) stuff so I can start again as a client?
-
SponiX
polarian: I kinda grasp what you are trying to do. But as of right now, you are trying to fix a problem that doesn't even exist
-
spuos
scratch that, I just rm'd everything and restarted some stuff
-
kevans
i mean, installworld explicitly gets angry if the system is pkgbase these days
-
acdw
what's wrong with packagebase? I'm too new to FreeBSD to realy know anything about it
-
acdw
not trying to start anything promise
-
kevans
-
» kevans shrugs at "what's wrong with it" after having used it for something like 8 years
-
acdw
yeah i was just curious about opinions. seems like a well-trodden debate
-
kevans
most of the arguments i've seen against it feel like they're just emotional complaints, not really of a technical basis
-
acdw
that's a great point
-
acdw
i mean for tech stuff in general. the big things like /usr merge or systemd
-
MelMalik
pkgbase is... incompatible with doing `make installworld`, the package database and the system come out of synchronization
-
MelMalik
i think
-
kevans
indeed
-
acdw
oh ok
-
kevans
tht
-
MelMalik
ran into a disk quota...
-
polarian
o0x1eef: yeah but jails will be pkgified too
-
polarian
SponiX: doesn't exist... yet :)
-
o0x1eef
I think it might be premature to assume there won't be a choice. We have both UFS and ZFS. Etc.
-
polarian
o0x1eef: just preparing for the worst case scenario
-
polarian
I also contemplated just dd if=/dev/random
-
polarian
use a BSD not a Linux wannabe
-
acdw
join #emacs
-
acdw
oops
-
polarian
acdw: TREASOn!
-
acdw
...
-
polarian
:)
-
polarian
im kidding
-
o0x1eef
dd if=/dev/random of=/#freebsd bs=1m
-
polarian
shilling GNU in a BD channel
-
acdw
i actualy use notepad.exe
-
polarian
s/BD/BSD/
-
acdw
with wine
-
polarian
what.. why?
-
acdw
because notepade.exe is bae
-
polarian
o0x1eef: you wish :P
-
polarian
who is the moderator for this channel
-
acdw
i really like the new version with Copilot integration
-
polarian
.....
-
o0x1eef
There's a YouTube channel called Dave's Garage or something, and he features an episode about that. He use to work at MS, and wrote the task manager.
-
acdw
now it's my turn to say I'm kidding :)
-
acdw
OG notepad is honestly pretty good. great for notes and such
-
acdw
like, a pad of them
-
polarian
o0x1eef: yeah I heard of them
-
polarian
watched a few of their videos
-
polarian
hes a little too... supportive of windows to my liking
-
o0x1eef
Pretty interesting stories :)
-
o0x1eef
I wouldn't hold that against him
-
polarian
meh, its his opinion, I just disagree with it :)
-
polarian
BSD is my life now, I only use Linux when I must
-
o0x1eef
He seemed to start at microsoft when he was young and he was successful there so it is natural he would be in camp windows, and I think he knows its faults too, at least from the videos I saw
-
polarian
whats NO_ROOT and METALOG
-
polarian
they need to be set inorder to distrbute*
-
polarian
its not in build(7)
-
polarian
-
polarian
so NO_ROOT is to compile without root
-
polarian
and METALOG is for pkg
-
polarian
but neither of which are documented in build(7)
-
scoobybejesus_tl
Re: pkgbase, I'd like to think I could enable a configuration setting in pkg whereby the command would automatically fail if I fail to indicate the repo I want to update/upgrade. I can't exactly remember the edge cases folks have brought up when criticizing pkgbase, but it seemed to stem from a POLA failure and accidentally ruining your system by
-
scoobybejesus_tl
running a command you've always previous run and having it perform different operations
-
dvl
So.. why did my 8x4TB raidz2 result in 29T available? Shouldn't that be 24TB?
dan.langille.org/2025/12/09/creatin…idz2-from-8x-4tb-devices-here-we-go
-
Remilia
polarian: you just need to set NO_ROOT
-
Remilia
polarian: I spent over an hour getting my old kernel build script to work with 15, my distributekernel line is now `make distributekernel INSTKERNNAME=kernel.$LCONF KERNCONF=$CONF DISTDIR=/var/www/kernels/$LCONF NO_ROOT=1 `
-
Remilia
and that works just fine after buildkernel
-
Remilia
same definitions work for packagekernel, but I have yet to figure out how to create-packages-kernel (it worked once and I cannot remember what I did to get it to work)
-
V_PauAmma_V
dvl, going out on a limb, I guess it's because of compression?
-
dvl
V_PauAmma_V: The zpool is newly created. What's been compressed?
-
V_PauAmma_V
Yeah, I misread the rows. data04 has 0% CAP. I don't know, then.
-
V_PauAmma_V
Your fault for not supplying a printout on alternating green and white fanfold paper instead of a screenshot. :-)
-
Dianora
V_PauAmma_V: You have just given me flashbacks..
-
V_PauAmma_V
Sorry-not-sorry.
-
» Dianora whistles innocently
-
CrtxReavr
Hey Dianora.
-
Dianora
hiya
-
CrtxReavr
Slum'n in LiberaChat?
-
Dianora
indeed.
-
CrtxReavr
How have you been?
-
Dianora
busy!
-
CrtxReavr
Busy can be good.
-
Dianora
Trying to keep more of an eye on here as I find time is all.
-
CrtxReavr
EFnet's more and more of a ghost town every day.
-
Dianora
Well.
-
Dianora
It could have been fixed.
-
CrtxReavr
And LiberaChat has so many FreeNode-style rules.
-
CrtxReavr
People forget IRC is supposed to be fun.
-
kenrap
kevans: what's the current way to upgrade a pkgbase system using the src tree on the host system?
-
CrtxReavr
I wouldn't think that would change.
-
MelMalik
welcome aboard
-
MelMalik
You can expand your nick if you like. You aren't stuffed into nine letters like there on the EF.
-
cpet
sad day today woke up to a panic
-
dvl
I do miss fanfold paper, those printers were fantastic.
-
cpet
CrtxReavr: life is not fun
-
CrtxReavr
MelMalik, umm . .I've been on Libera since day one.
-
CrtxReavr
And I'll stick with nine characters, thankyouverymuch.
-
cpet
Dianora: you still work on the comm ports ?
-
vkarlsen
Keep it at nine, CreatureFoxRetraversed doesn't have the same ring to it
-
V_PauAmma_V
OTOH, 9 isn't enough to show off my pincers to full effect.
-
vkarlsen
They would have to be shortened, as Basmil told Thorby
-
» vkarlsen shudders
-
V_PauAmma_V
Yeah. That's why I have to do without on EFNet.
-
polarian
Remilia: thx
-
polarian
so distributekernel should go to /boot
-
polarian
and then distributeworld should go to /
-
polarian
then set timezone hostname, that lot of stuf
-
polarian
then in theory you can boot the install?
-
polarian
just doing this for pure knowledge at this point
-
polarian
and for jails I assume you just distributeworld into the root of the jail, and then write a jail.conf entry
-
polarian
are my assumptions correct?
-
mzar
what is distributeworld and distributekernel ?
-
V_PauAmma_V
mzar, see build(7).
-
mzar
OK
-
mzar
used while building a release - are you guys building new release ?
-
cpet
seems like drm66 is not the latest and drm69 is, see how that runs with my intel gfx
-
CrtxReavr
How do I match a - with tr(1)?
-
V_PauAmma_V
tr \- _
-
V_PauAmma_V
(Or whichever replacement character)
-
vkarlsen
Quoting it works too
-
CrtxReavr
What about as part of a set of matching characters?
-
V_PauAmma_V
tr '-_' '_-'
-
V_PauAmma_V
Or rather tr '_-' '-_'
-
vkarlsen
To avoid it being parsed as an option: tr -- '-set1' '_SET2'
-
V_PauAmma_V
Interesting. That's not in the synopsis, at least on 13.5.
-
vkarlsen
It's not tr-specific
-
V_PauAmma_V
Other manual pages mention that, though.
-
V_PauAmma_V
But yeah.
-
s2r
has anybody got experience with zrep script to sync between systems? I had a sync running hourly to a remote host and now I see it hasn't synced since october. Is there any way to refresh it? I tried to sync it manually and I get many: warning: cannot send 'zroot/jails/ubuntu2@zrep_0003b5': Broken pipe. Error: Problem doing sync for zroot/jails/ubuntu2@zrep_0003b5. Renamed to zroot/jails/ub
-
s2r
untu2@zrep_0003b5_unsent
-
s2r
-
scoobybejesus_tl
I used syncoid for replication
-
s2r
scoobybejesus_tl I will try it.
-
specialbomb
I just started using sanoid/syncoid, its pretty straightforward
-
s2r
specialbomb I started to use zrep because I saw an article on KlaraSystems, There're also articles on sanoid, seems nice. Will try them.