-
anointedfig
do you guys know of a cross platform (freebsd & mac) piece of software for secure, encrypted communications?
-
skered
ssh?
-
anointedfig
maybe... is xmpp secure?
-
satanist
what kind of communication do you want? chat, emaillike or something else?
-
anointedfig
i want it to be like yahoo messenger, chat, but with heavy encryption
-
satanist
xmpp has some e2e encryption (don't know how good suported), currently hyped is matrix (afaik most clients suport e2e encryption) but desktop clients are rare
-
thorongil
hi there. i'm about to start playing around with boot environments. it seems reasonable to create a new BE whenever i run freebsd-update; is it also recommended to create a new BE when updating packages? are there best practices to learn from here?
-
debdrup
I'm on -CURRENT so I just use src/tools/build/beinstall.sh - it's a shell script which can be used in combination with `make buildkernel buildworld` to install into a boot environment, which can then be activated with bectl activate -t.
-
debdrup
I believe freebsd-update will create boot environments by default nowadays if you're on 13.1?
-
debdrup
-
VimDiesel
Title: freebsd-update.conf « freebsd-update « usr.sbin - src - FreeBSD source tree
-
thorongil
ah! i had heard the same thing, but looking at the manpage for freebsd-update turned up no mention of boot environments. but the manpage for freebsd-update.conf *does* describe how it can be configured to do so.
-
debdrup
-
VimDiesel
Title: freebsd-update.sh « freebsd-update « usr.sbin - src - FreeBSD source tree
-
thorongil
it does indeed to be enabled by default on my system, yep
-
thorongil
thanks for making me read more deeply there
-
thorongil
any suggestions about how to deal with package updates? does running 'pkg update' merit a new boot env?
-
debdrup
I wouldn't say pkg update does, but beinstall.sh that I mentioned before includes packages as part of the upgrade, so I think it's reasonable to create a boot environment.
-
thorongil
hmmm. okay, cool. thank you.
-
meena
paulf: why…? (re kiwiirc in Firefox in valgrind) did you learn anything?
-
Oclair
hey there, I just upgraded from 12.3 to 12.4 and got the following message: Installing updates...gunzip: (stdin): unexpected end of file
-
Oclair
what is the best practices thing to do ?
-
idwer
you're beyond the 'freebsd-update fetch' step?
-
Oclair
idwer yes it was from freebsd-update install
-
Oclair
the second one, where it installs the world not the kernel
-
micttyl
hello
-
micttyl
is gbde still experimentalish without any endorsement of cryptonians?
-
paulf
meena I was fixing a bug in Valgrind
-
micttyl
paulf: that's nice. i am not meena though
-
idwer
Oclair: hm, the handbook tells me to just run freebsd-update -r 12.4-RELEASE upgrade?
-
idwer
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
Oclair
thanks idwer I got this suggestion with a twist "I'd probably roll back a BE if this is a zfs, remove /var/db/freebsd-update entirely, and re-run it"
-
paulf
-
VimDiesel
Title: 464476 – Firefox fails to start under Valgrind
-
paulf
I have a fix almost ready
-
paulf
Firefox is somewhat the totem for Valgrind devs, the two main contributors work for mozilla
-
lockna
I successfully cross compiled the "world" and kernel from m1 macos. But how do I create a qemu image? As far as I can tell the make.py in src/tools/build isn't capable of doing so (atleast it says this when using vm-release) and the release.sh is for a FreeBSD host
-
micttyl
convert from iso to cow2?
-
micttyl
sounds like m1 is very different
-
idwer
in the worst(tm) case you'd have to add support to craft a m1 image yourself
-
lockna
Well, qemu is capable of launching isos, but since I don't have any idea how I now create a vm image from my build, that's the problem.
adventurist.me/posts/0283 I tried using the same way as shown here but with no success
-
VimDiesel
Title: Build a FreeBSD VM Image Release
-
meena
paulf: what's your fix look like?
-
lockna
and I haven't really found anything else which describes how to build an image for a vm, which could be used as a non bsd host
-
meena
paulf: also, how slow is it (Firefox, kiwiirc), under valgrind
-
lockna
oh, I have an idea, I probably have to create a image file with some tool, format it with a bsd capable file system and use the installworld/installkernel from tools/build/make.py to actually install the system on the image and then boot it
-
meena
lockna: poudriere can help you build images, or enter, you try to claw meaning from the Makefile in src, which is how re@ builds images
-
meena
s/or enter/or else/
-
lockna
I'm sorry, I'm not a english native speaker, could you rephrase the sentence? I think I'm not able to follow you
-
meena
-
VimDiesel
Title: Solved - build cloud image using package | The FreeBSD Forums
-
lockna
oh, now makes sense
-
lockna
I interpreted poudriere as username
-
paulf
meena: the fix is to intercept sysctl kern.proc.pathname.PID and to lookup the guest exe and use that
-
paulf
it's fairly slow, as to be expected, but useable
-
meena
lockna: English is my third language. poudriere is a FreeBSD project to build ports and images (i use it to build
alpha.pkgbase.live )
-
VimDiesel
Title: Unofficial FreeBSD pkgbase repository
-
meena
paulf: is kern.proc.pathname.PID even a valid sysctl on FreeBSD?
-
paulf
yes where PID is the current process pid or -1
-
paulf
I don't know if its' wrapped in some libc functiion
-
meena
lockna: re
adventurist.me/posts/0283 that's six years old now. since then we can now build ZFS root vm images!
-
VimDiesel
Title: Build a FreeBSD VM Image Release
-
paulf
-
VimDiesel
Title: BinaryPath.h - mozsearch
-
paulf
Looks like it was a direct syscall
-
yuripv
does it work on linux under valgrind?
-
paulf
almost certainly though I've never tried
-
debdrup
Just say you don't know, instead of making assumptions.
-
paulf
I think that this is safe to assume
-
debdrup
I'm trying to become better at doing just that.
-
debdrup
It never is. ;)
-
nmz
Where do I submit bug reports? should it be upstream or do I bother the mantainer directly?
-
debdrup
nmz: if you can, it's always worth trying to get a fix into upstream instead of getting it applied to the port.
-
debdrup
An upstream fix, if it isn't IFDEF'd to FreeBSD, can improve things in general.
-
paulf
nmz bug reports for what?
-
nmz
I doubt upstream will care, but ok, I'll submit an issue
-
debdrup
nmz: if you've submitted the bug report upstream and they don't respond, you've at least tried and can demonstrate that upstream didn't fix it when you later on report a bug for the port.
-
paulf
nmz which port?
-
nmz
paulf: textadept, ctrl+f fails, lite seems to no longer launch, and I'm not even sure why (maybe because I installed lite-xl?)
-
debdrup
Seems like there's multiple issues, os maybe you should rootcause them first to know where the problem is.
-
nmz
I mean, there's more issues but since I can't use my favorite editors, its a bit of a pain to fix any XD. never stray from vim I guess
-
debdrup
Eh, it's fine to use whichever editor you like.
-
nmz
paulf: lxterminal also shows unknown characters all over the place.
-
nmz
but that might be a missing dependency problem?
-
nerozero
Hi there
-
nerozero
I need to set some device hints, but it is not clear to me, should I place them in /boot/device.hints file ( which is read only for root ) or should I place them into loader.conf ?
-
meena
nerozero: I would go with loader.conf, first
-
pertho
how hard is it to code sane defaults into the sound driver rather than forcing users to muck about with /boot/device.hints?
-
ivaat
is there a way to tell which process belongs to what jail?
-
debdrup
ivaat: ps(1)
-
ivaat
debdrup: like ps -J jail id?
-
ivaat
but i don't know to what jail process belongs :)
-
debdrup
ivaat: no, that shows the processes in a given jail; -O jid will add a new column that lists jail IDs.
-
ivaat
debdrup: thx
-
micttyl
it's not convert. mount should be more appropriate to say for the qcow
-
deepy
I accidentally upgraded postgresql without keeping the old binaries, and pkg install -F doesn't find the old version any longer, is there some easy solution here :')?
-
ceri
deepy: check out the old port you need and build it?
-
Kalten
deepy: in `/var/cache/pkg/` it might still exist
-
deepy
Not cached unfortunately
-
meena
deepy: var/lib/cache, i think, has, what Kalten says
-
deepy
but hey the server is still running
-
Kalten
meena: interesting: there is no `/var/lib/cache/` on my file system.
-
yuripv
/var/lib sounds linuxish
-
yuripv
it's not on my system either, nor it's present in hier(7)
-
debdrup
/var/cache/pkg will contain old versions of packages unless you run pkg-clean(1).
-
meena
look, people, after two rounds of Covid, my brain is a sieve, okay
-
debdrup
Who needs a brain anyway? What's it ever done for us?
-
meena
debdrup: depression and anxiety don't work without it
-
yuripv
:)
-
debdrup
meena: well, either of those aren't known for doing anyone anything good either.
-
deepy
alright, ran pg_dumpall. Now I can shut this down with no issues
-
rtprio
dch: do you still netboot