-
_xor
Is there an easy way to figure out which commit a kernel was compiled from?
-
mason
_xor: Hrm, I don't have something that's not installed by freebsd-update here, but what's strings /boot/kernel/kernel | tail give you?
-
rwp
The theory goes that "freebsd-version -kru" should return the installed kernel, running kernel, userland versions.
-
rwp
I don't know how that maps to git commit hashes or git tags though. I would hope it would map to "git tag -l" and "git log release/13.1.0" though.
-
_xor
Not necessairly, it's more complex than that. You also have patchlevels, etc.
-
_xor
mason: Good thinking on strings.
-
_xor
mason: I may have a lead here - "stable/13-5c55abaf0"
-
_xor
Yaaaas, looks like I found it :)
-
_xor
Oh I am such an idiot.
-
_xor
I forgot that I built the image for this version using poudriere.
-
_xor
Could just have checked the poudriere jail version.
-
rwp
Every year that I get older I keep realizing how dumb I was last year.
-
_xor
But since you're realizing it, aren't you getting smarter? :P
-
_xor
Also, I just noticed that the two hashes don't match :/
-
rwp
The dumbest thing we all did as a kid was wish we were an adult. And now look at us!
-
_xor
I was just telling my buddy something like that the other day. Over the past 20 years, when looking at something, the change in mentality went something like this...
-
_xor
"What the heck? That's stupid, you should just do this..." -> "Hmm, that's strange, but there's probably a reason it's done like that..." -> "That doesn't seem like the best way, but I might be missing something...but then again, I've seen stupid stuff before."
-
» rwp laughs
-
_xor
Your line reminds me of that classic joke: "Everyone laughed at me when I told them I wanted to be a stand-up comedian. Well guess what? They're not laughing now!"
-
_xor
Hmm, I wonder how "exact" these versions have to match. I want to give blued a go, but I need to patch ng_hci.so first.
-
mason
_xor: Back when CVS roamed the earth, the BSDs embedded RCS IDs and similar in strings at the top of files for just your purpose. Shame it's not still done.
-
_xor
I wonder why it was removed.
-
meena
i really wish we had tags for each release and each patch
-
eoli3n
Hi
-
eoli3n
i had a strange behaviour this morning
-
eoli3n
i configured dma with a gmail account few month ago to get mails from my server
-
eoli3n
as i didn't set up 2fa, google blocked my account
-
eoli3n
i solved this and mails worked again
-
eoli3n
but this morning, I receivre a mail from dma, which said that smtp authentication failed
-
eoli3n
from root@myserver
-
eoli3n
and not the gmail account
-
eoli3n
can dma deliver mails live postfix without external account ?
-
eoli3n
s/live/like
-
lavaball
where can i read up on what kind of file/partition encryption you have? do you use bioctl like openbsd? can i select encryption stuff like with cryptsetup in linux? do you have pledge and veil like openbsd? Also what filesystems are supported? sorry for the dumb questions. i'm trying to set up a backup storage box, and i was already set on linux, but now i'm thinking maybe i should try this freebsd instead.
-
steew
-
VimDiesel
Title: Chapter 18. Storage | FreeBSD Documentation Portal
-
steew
no, we do not have pledge and unveil, but we have capsicum if you want to read on that
-
steew
Read also sections 19,20,21 regarding file systems
-
» debdrup notes that pledge still lets execve() escape the sandbox.
-
debdrup
And it seems to be an issue they WONTFIX, because it's by design?
-
debdrup
GEOM and GBDE are the encryptions traditionally used in FreeBSD, although ZFS has native encryption there's some indications it is to be avoided at present.
-
debdrup
Well, there's more closed items on
docs.google.com/spreadsheets/d/1OfR…DGK6swwBZXgXwdCPKgp4SbPZwTexCg/view now than there were before, so that's good.
-
VimDiesel
Title: OpenZFS open encryption bugs (public RO) - Google Sheets
-
debdrup
Sorry, I meant GELI, not GEOM.
-
debdrup
GELI and GBDE are both options that're part of GEOM.
-
debdrup
In addition to Capsicum, we also have jails and the MAC framework, both of which can be used to lock down a process, as well as whole-system auditing using OpenBSM.
-
debdrup
Capsicum, jails, and MAC can all be used in conjunction (and you can also add securelevel on top of that, although that exists in the other BSDs too).
-
debdrup
The filesystem filewall that can be implemented via MAC isn't super well-known, but it's incredibly powerful.
-
debdrup
The MAC framework is kinda interesting in and of itself, and if there's someone who needs something to do, I recommend reading
docs.freebsd.org/en/books/arch-handbook/mac
-
VimDiesel
Title: Chapter 6. The TrustedBSD MAC Framework | FreeBSD Documentation Portal
-
debdrup
-
VimDiesel
Title: Chapter 16. Mandatory Access Control | FreeBSD Documentation Portal
-
debdrup
s/encryptions/data encryption methods/
-
lavaball
steew, thanks a bunch.
-
lavaball
this all looks very nice, with the zfs and the pf. would you recommend using freebsd as a encrypted file server thingy or is there a better solution?
-
shiroyasha
lavaball: Not FreeBSD specific, but you can check out Ceph as well, if only for comparing options.
-
lavaball
never hard of it. wasn't that the end boss of street fighter 4?
-
lavaball
i don't see anything about bsd there. just linux platforms and that the kernel should be newer.
-
lavaball
this ceph seems a big much for my use case. thanks though.
-
nacelle
the pf isnt the pf you know from openbsd
-
nacelle
(its similar and has the same root, but its hasnt been the same for a while)
-
lavaball
similar enough. i'll figure it out. thanks though.
-
lavaball
oh, do you have bind mounts?
-
rtprio
lavaball: are those for overlaying filesystems?
-
rwp
In the Linux kernel a "mount -o bind /home /mnt/home" will overlay the first onto the second, often used to make directories available inside a chroot and other purposes.
-
lavaball
yeah. i looked around. openbsd really has nothing, but you guys have the null_fs option.
-
lavaball
or nullfs. something with 0.
-
lavaball
how is the kernel doing security wise? i just saw some guy on youtube talking about the three big BSDs and openbsd people were the only ones fixing the bugs consistently. no offense, obviously. or wait, no: asking for a friend.
-
rtprio
yep, we try to put all the bugs in freebsd that we can
-
rtprio
because it makes freebsd faster
-
lavaball
i was hoping for something along the lines of: wasn't that the "all bsd equal" talk? we saw that. things have picked up since then".
-
rtprio
i'm not sure what bugs you're talking about
-
Demosthenex
anyone using puppet, and finding that manifests just die because if you're not online the package calls all fail trying to update?
-
rtprio
Demosthenex: yes, the pkg provider get's touchy when offline
-
meena
Demosthenex: you can maybe tell it not to update
-
meena
but I don't remember if or how
-
Demosthenex
meena: i was trying to find a way
-
Demosthenex
hadn't seen any docs yet, i'll read the module tomorrow
-
koobs
moin
-
llua
Demosthenex: use a fact to determine if you can reach them or the "internet" and when you can't, don't declare those resources