-
yourfate
it seems my rpi running freebsd has no local v6 address, even tho it should get one via DHCP
-
yourfate
I have not set up more than `ifconfig_DEFAULT="DHCP"` in /etc/rc.conf
-
yourfate
do I need to tell it to also get a v6?
-
nimaje
afaik freebsd doesn't have DHCPv6 in the basesystem and additionally you need some postfix to those ifconfig_ variables for v6, the postfix-less variables only configure v4 stuff
-
moviuro
-
VimDiesel
Title: Index of /ftp/releases/amd64/amd64/14.1-RELEASE/
-
nimaje
I guess the second field in MANIFEST is a checksum, but no idea which hashfuction was used
-
moviuro
it's sha256, but the format is not tool-friendly (sha256, sha256sum)
-
moviuro
grep -q "$(sha256 < base.txz)" MANIFEST # yay
-
nimaje
how about awk '$1 == "base.txz" { print $2 }' ?
-
nimaje
or more generalized awk -v hash=… -v filename=… '$1 == filename { print match($2, hash) }' ?
-
ketas
i have script for those things, altho it's similar
-
yourfate
so, if I make changes to /etc/rc.conf, how do I make the system reapply it? only by reboot?
-
yourfate
specifically chagnes to the network setup / dhcpv6
-
saper
service restart netif <interface> can work
-
saper
service netif restart <interface>
-
yourfate
before I dig into that too deeply: does freeBSD support serial console on the rpi? :D
-
yourfate
I do have a very genuine ""FTDI"" serial console / usb adapter, I used that with other OSs on the pi before
-
polarian
-
VimDiesel
Title: Chapter 29. Serial Communications | FreeBSD Documentation Portal
-
yourfate
right, should have looked there first
-
polarian
:)
-
yourfate
now i'll have to dig that out of some random box of cables before I mess up the networking on the PI and lock myself out of ssh
-
yourfate
but its a lot less faff than connecting a screen and keyboard
-
phryk
can i give a bhyve vm access to the vt-x feature of my cpu? apparently the linux subsystem of windows depends on it and i'm going crazy without grep…
-
moviuro
I'm confused about what in the handbook is thin about thinjails?
docs.freebsd.org/en/books/handbook/jails/#thin-jail I'd like to have my jails use one single version, and have their own packages added on top. How would freebsd version upgrades happen for one selected thin jail? 1. use handbook to create "syncthing" jail (13.2) 2. install syncthing in the jail 3. upgrade to freebsd 14.1 4.
-
VimDiesel
Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal
-
moviuro
?? 5. now we have a jail running 14.1 and with syncthing
-
moviuro
oh, it's actually the nullfs jail that might be a better fit for me
-
phryk
moviuro: no idea about th zfs version, but for nullfs readonly mounted basejail kinda thin-jail, i usually have one location where i mount the basejail and skeleton as rw and do freebsd-update on that to update the base for all thinjails at once.
-
moviuro
yup, exactly what I need/want
-
phryk
moviuro: so i have a part of my fstab that looks like this:
paste.xinu.at/K39Z2
-
VimDiesel
Title: stdin
-
moviuro
phryk: could that be automated in jail.conf(5)?
-
moviuro
(update is a jail name, right?)
-
phryk
oh, no, you misunderstand. that is to have a place where the base and skeleton are mounted on top of each other in rw-mode so i can update it with freebsd-update -b /jail/update -d /jail/update/wherever
-
phryk
moviuro: my mount automation for the jails in jail.conf looks like this:
paste.xinu.at/Oe85u
-
VimDiesel
Title: stdin
-
moviuro
ooooh, shiny
-
voy4g3r2
would that not cause a bad reference
-
phryk
voy4g3r2: elaborate?
-
voy4g3r2
thin jail = use the baseline operating system and have all the udpates implied
-
voy4g3r2
if you are updating the thin jail with those mounts.. are you not just going to thick jail?
-
phryk
no? because there's only one basejail and it's shared among all jails.
-
voy4g3r2
if you do a freebsd-update on the host, all the thin jails get those updates
-
voy4g3r2
so you have jails inside of jails?
-
phryk
i have no idea what you're talking about, but you're most certainly misunderstanding something.
-
voy4g3r2
yes i am.. that is why i am asking
-
phryk
i have never heard of thin jails nullfs-mounting pieces of the actual host basesystem.
-
phryk
it was always one separate base system, for as long as i've been using jails, which is pretty sure over a decade now.
-
moviuro
so phryk my understanding is: i need a place for permanent writes (usr/local, home, var, etc), that's your /jail/rw/$name/, which you automount on jail start. The only thing that a jail needs to be defined is: a skel of those permanent directories, an IP in jail.conf(5), and... a management script/program to create/update the jails' OS (wrapper around freebsd-update and fetch+tar)
-
voy4g3r2
phryk: i am use to the nomenclature of temmplates and not baseline.. i was reading this interaction as the base host
-
voy4g3r2
which now completes the gap in my understanding.. i just put stuff in /usr/local/jails/templates
-
voy4g3r2
which is what you were saying?
-
phryk
moviuro: look at the fstab i posted first. if you create that as a structure (i.e. create empty directories were necessary for the nullfs mounts) and then just untar base.txz inside /jail/update you'll should get both the base and skeleton. at /jail/base and /jail/skel. then to create a new jail you just do "cp -r /jail/skel /jail/rw/newjail" and add the config for newjail to jail.conf
-
phryk
voy4g3r2: no idea where that nomenclature comes from, but yes, if you for example run jails of multiple different freebsd versions, then "template" might be a good term for what i call "base". i just always run the same version as the host, so it's just another base-system for me^^
-
voy4g3r2
-
VimDiesel
Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal
-
phryk
Ah yes. Thanks.
-
voy4g3r2
always an opportunity to learn something new after 10 years of doing jails
-
L3Fr0g
Hi, i am looking to deploy a freebsd bhyve cluster so that i can have some sort of fail-over in case of a hardware issue. I guess this would mean having the filesystems always in sync. Any advice on this?
-
hwpplayer1
hello FreeBSD, we have a local BSD community and we will be happy to contribute upstream FreeBSD projects
-
hwpplayer1
We are located in Türkiye
-
Lateralus
voy4g3r2: That's exactly what my cellmate and my lawyer say !
-
» V_PauAmma_V rummages through his memory.
-
voy4g3r2
L3Fr0g: like a high availability setup?
-
V_PauAmma_V
Gün aydin.
-
hwpplayer1
Hello V_PauAmma_V
-
V_PauAmma_V
Welcome.
-
hwpplayer1
Are you Türk ?
-
V_PauAmma_V
No, but I've accumulated bits and odds of languages. This one begged to be used. :-)
-
hwpplayer1
Nice to hear that I like to learn languages too
-
moviuro
phryk: If I try creating zfs subvolumes first before anything else (/usr/local/jails/templates/14.1-RELEASE/{root,etc,...}), tar(1) complains when extracting base.txz: `./root/.profile: Can't create 'root/.profile': Cross-device link'. How am I supposed to handle that? ignore those files? `tar -xf /usr/local/jails/media/14.1-RELEASE/base.txz -C /usr/local/jails/templates/14.1-RELEASE --unlink'
-
phryk
moviuro: sorry, no idea. i moved away from zfs. too many headaches.
-
remiliascarlet
Turks make really nice food.
-
V_PauAmma_V
hwpplayer1, anyway: you sound like you're (part of) a user group. If my guess is correct, are you registered in
freebsd.org/usergroups ?
-
VimDiesel
Title: User Groups | The FreeBSD Project
-
hwpplayer1
No V_PauAmma_V But We want. I am an admin there who has right to commit to our repositories
-
hwpplayer1
How can we register ? V_PauAmma_V
-
hwpplayer1
I'm searching V_PauAmma_V
-
hwpplayer1
Okay I learned it was so clear Thanks V_PauAmma_V
-
hwpplayer1
-
VimDiesel
Title: 279644 – FreeBSD Turkey Group
-
ketas
mmm tasty turkey
-
remiliascarlet
Tasty kebab.
-
V_PauAmma_V
You're welcome.
-
fury_
my named, which is configured using root hints available here:
internic.net/domain/root.zone is suddenly unable to resolve some domains (such as Wikipedia) - they return NXDOMAIN. is anybody else having this issue by any chance? I know it's not really freebsd specific but I doubt #bind or whatever has an active userbase
-
DynamiteDan
Greetings. I have a question. When FreeBSD finds a bit of memory that fails ECC or is ECC corrected, does it ignores that bit of physical RAM or does it still try to use it again? Thank you in advance
-
L3Fr0g
@voy4g3r2, exactly
-
voy4g3r2
L3Fr0g: there are a few ways.. could do zfs send | zfs recv on the datasets
-
voy4g3r2
through snapshots
-
L3Fr0g
@voy4g3r2, i want everything in sync anytime - zfs send and zfs recv won't do the trick
-
voy4g3r2
-
VimDiesel
Title: Introduction to ZFS Replication | Klara Inc
-
voy4g3r2
hrm.. that is beyond my skillset, unfortunately.. maybe someone else may be able to guide
-
voy4g3r2
i utilize snapshots but my data is not mission critical and requires that type of redundnacy
-
L3Fr0g
guys, klarasystems is a joke
-
saper
-
VimDiesel
Title: Solved - ecc error reporting functionality | The FreeBSD Forums
-
DynamiteDan
thanks saper. I will look at it :)
-
L3Fr0g
@voy4g3r2, i want something like zfs over drbd with corosync and pacemaker
-
voy4g3r2
-
VimDiesel
Title: Corosync by corosync
-
voy4g3r2
bhyve is for virtualizatoin of operating systems, that is about application level.. not the same thing. iw ould recommend to write down what you are trying to do and be clear on what is your goal is
-
L3Fr0g
yep
-
L3Fr0g
@voy4g3r2, two identical physical machines, each capable of starting any of the configured VMs at any time.
-
voy4g3r2
so you are wanting high availability of an operating system that will "turn on" in the even the master dies
-
voy4g3r2
i think i need to step away if that is your goal, i have not done somthing like that in years and definitely not on bhyve.. it was vmware 3.x in like 2000s
-
L3Fr0g
can anybody assist with this kind of setup ?
-
V_PauAmma_V
L3Fr0g, have you checked
docs.freebsd.org/en/books/handbook/disks/#disks-hast ? I think that would solve at least part of your problem as I understand it.
-
VimDiesel
Title: Chapter 20. Storage | FreeBSD Documentation Portal
-
L3Fr0g
@V_PauAmma_V, i did, thank you
-
L3Fr0g
I have two FreeBSD physical machines, each with a distinct public IP address. Each of these physical machines hosts several VMs. My objective is to establish connectivity between the VMs on Host1 and those running on Host2.
-
dautor8518050867
Is there a way to get to prison from vnet? The problem is, userspace is always refering to prisons while I only get to see vnets. I didn't find a way to get info about which prison my object was created from.
-
dautor8518050867
-
VimDiesel
Title: ng_vnet_hub/ng_vnet_hub.c at master · Dautor/ng_vnet_hub · GitHub
-
bellhyve
F3Fr0g: you mean a VPN between the VM nets? I do this with WireGuard.
-
V_PauAmma_V
They left.
-
dautor8518050867
The only solution I see for now is to have user specify jid after node creation. I see no way to prevent sibling non-vnet prisons from doing vnet netgraph operations on their cousins' nested vnet jails.
-
kevans
dautor8518050867: no, because there's no 1:1 mapping from a vnet back to a prison
-
dautor8518050867
Yeah, I guessed it would be the case. Would the proposed solution of having user specify jid after node creation be acceptable?
-
kevans
your vnet_to_prison doesn't make much sense to me as it is, why do you need the prison specifically rather than resolving a jid to the vnet?
-
dautor8518050867
It's a hub where user can "connect" it to other (child) vnets. I didn't see a way for user to specify a nested vnet, just nested jail via its jid.
-
kevans
right, ideally they'd specify a jail and you'd resolve that to a prison + vnet, vnet remains constant for the lifetime of a prison
-
dautor8518050867
I guess I'll go with user specifying their jid and ng_vnet_hub just verifying that the vnet is correct (the same as its own) then.
-
kevans
I think the disconnect here is that there is no such thing as an ested vnet
-
kevans
there are nested jails, and a nested jail may have its own vnet or that of its parent
-
kevans
so when you say child vnet, that's not a thing in itself
-
dautor8518050867
Yeah, I meant child prison's vnet.
-
dautor8518050867
My motivation for why I need that - I want VMs to be able to communicate with stuff inside vnet jail without running those VMs inside the jail.
-
dautor8518050867
That would be simple if I just used tap interfaces and moved them via ifconfig. However, those VMs are not limited to just ethernet.
-
dautor8518050867
What's the difference between memstick and disc1?
-
brutex
it's created for usb drive
-
brutex
.xz
-
brutex
disc1 and dvd1 and iso are for dvd/cds
-
brutex
how it's possible to boot with chainlodaer +1 (hd5,6) freebsd with SSD i don't know
-
brutex
for MBR with normal hdd i know
-
brutex
but ?!
-
brutex
no uefi
-
brutex
no csm csm is disabled from bios
-
dautor8518050867
I get that its purpose is that. Is there no way to make them be the same?
-
dautor8518050867
Like, having the same image be usable for either usb or optical discs.
-
brutex
memstick is for usb disc/dvd is for optical discs
-
dautor8518050867
I get that, but is there a technical reason that is not allowing them to be the same?
-
kevans
since 12.0 or so disc1 is usable for either usb or optical disk
-
kevans
our .iso (for x86, at least) are hybrid iso and can be dd'd directly and probably work on most machines (barring shi-- finnicky firmware)
-
kevans
(to be fair hybrid iso are pretty funky)
-
dautor8518050867
Ah, thank you. I never tried testing booting disc image from a usb and was just wondering.
-
kevans
imo we don't advertise it as well as we should
-
kevans
my #1 problem with a lot of linices back when I was younger was that they only published .iso but they never advertised those visibly as hybrid-iso, and I didn't have optimal media to burn it to
-
kevans
lots of missed opportunity to try various linuses because I didn't want to screw with it
-
dautor8518050867
I always assumed they worked on both as they only provided one image.
-
dautor8518050867
Btw, do you know why there's 200MB extra data in memstick?
-
kevans
no idea, sorry
-
kevans
I think the .img do have a larger ESP, but if I'm reading this right that only accounts for ~30M
-
dautor8518050867
Np. Thank you again for answering.
-
polarian
On Linux I used to use DRM within firefox and just use tidal through that... but since I moved to freeBSD that is no longer possible (I shouldn't have given into DRM anyways but thats another sotry)... what solutions do you guys use for music?
-
polarian
streaming music is cheapest... and albums I love I buy a digital copy and download the flacs for it... then I can index them myself
-
polarian
but the streaming section is the one I am curious about... anyone got any tips on it?
-
jauntyd
polarian: qobuz has a nifty litle web player
-
polarian
jauntyd: DRM?
-
jauntyd
nope, html5, etc
-
polarian
they also give you discounts on buying physical copies with their streaming subscription :P
-
jauntyd
who does?
-
polarian
qobuz
-
jauntyd
i didn't know they sold physical media
-
jauntyd
i will check it out
-
polarian
My way of doing things is look for music on bandcamp first, this gives the author the most amount of money... plus is usually cheapest :P then if not I look for it on qobuz and buy it there to download
-
polarian
not physical
-
polarian
digital copies
-
jauntyd
oh ok
-
amigan
-
VimDiesel
Title: 279653 – Page fault in in6_selecthlim