-
skered
You can boot from anything if EFI is there
-
ober
rtprio: during installation. encrypted and in wheel group
-
jauntyd
debdrup: may I PM? Re: FreeBSD Docs
-
|cos|
Good morning! I'm having trouble installing FreeBSD on an UEFI only system. Searching the web suggest one needs to fiddle with repartioning the memstick image. Is that really the case these days?
-
Alver
|cos|: no. I have installed on an UEFI only system a few months ago, using the default memstick image. I don't recall having to do anything at all
-
jan0sch
Hi, usually not. The default image should work fine.
-
|cos|
Thanks! I found some kind of legacy boot option hidden in the bios after all, thus getting it booting.
-
|cos|
...and the machine seems to at least be able to UEFI boot the installed system... (That's what the graphical beastie means, right?)
-
debdrup
jauntyd: I'd prefer it if you just asked here..
-
polyex
what's the way to find out what module a sysctl is in? like security.bsd.see_jail_proc
-
polyex
man sysctl.conf "named /etc/sysctl.kld.d/<modulename>.conf" but how do we figure out that modulename
-
nimaje
it talks about kernel module specific sysctls there, I would expect that security.bsd.see_jail_proc isn't kernel module specific and even if it where it would be in a module compiled into the kernel and not loaded by rc in normal use cases
-
polyex
so what's the way to know if a sysctl is module specific or not, and what module it's from if so?
-
oprs
polyex: just grep the source code (or better yet, use ctags), and look for those sysctl declaration macros
-
oprs
the sysctl for security.bsd.see_jail_proc is declared in sys/kern/kern_prot.c, around line 1434
-
oprs
(not a module btw)
-
polyex
oprs tyvm! so does that mean security.bsd.see_jail_proc CANNOT be in /etc/sysctl.kld.d/<somefile>.conf?
-
oprs
I would expect so, yes, since it's not bound to any specific kld. You can still set it in /etc/sysctl.conf though.
-
polyex
ya but that's an inconsistency in freebsd design. usually we can put config in /etc/file.conf, or /etc/file.conf.d/<itsownfile>.conf. like how loader.conf.d can work and any other number of examples
-
polyex
that really sucks tbh no hate
-
oprs
I'm not sure what exactly you're trying to achieve here. And tbh you can probably set any sysctl (assuming it's already available) from any of the /etc/sysctl.kld.d/*.conf files, but that sounds like a misuse, since those files are supposed to be reserved for module-specific settings.
-
oprs
security.bsd.see_jail_proc is defined in kern_prot.c, which deals with general process protection; it's just part of the kernel (not a particular kld), so it only makes sense to use /etc/sysctl.conf for that right ?
-
polyex
oprs no because sometimes ppl like to build configs compositionally in multiple files instead of combined into 1 file
-
oprs
just get to the bottom question please ;-) what are you trying to achieve ?
-
polyex
oprs it's what i already said. to organize contents of sysctl.conf into their own files
-
polyex
i guess i just abuse sysctl.kld.d for that since there isn't a generic sysctl.conf.d like there should be!
-
nimaje
well, you could argue for that on the mailing list or bugzilla
-
mrtnt
I had four FreeBSD 12.2 installations virtualized by KVM-QEMU-libvirt stack in Linux for few weeks. During that time the so to say virtual power cord of the VMs was pulled multiple times, i.e VMs were shut down with "virsh destroy". At some point I noticed that both pwd.db and spwd.db databases on all fours installations are corrupt. The FreeBSD machines were in idle state, no users were logged in, etc. Just
-
mrtnt
out of curiosity, any ideas what might have caused the corruption of /etc/pwd.db and /etc/spwd.db databases? There isn't a process constantly/frequently writing to those databases, is there?
-
Ronis_BR_
Hi! I am facing this problem here:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275760 and the patch works for me. How can I install the fixed version of bhyve?
-
Ronis_BR_
is this patch available in 14.1?
-
polishdub
-
nimaje
it was commited to stable/14 in january and releng/14.1 got created in may, so it should be in 14.1
-
rtprio
mrtnt: no i would not expect those files to be open unless login is in the process of authenticating
-
rtprio
but they should be able to be rebuilt
-
mrtnt
rtprio: ok, strange
-
polyex
no channel log?
-
polyex
wanna see if ober or anyone else replied to me after i d/c earlier. like 4-5 hours ago
-
polyex
about abusing sysctl.kld.d
-
nimaje
did you see my message? (it was before your disconnect according to my client) there was no reaction of anyone else to that
-
polyex
ya about arguing with ppl on mailing list ty
-
nimaje
I expect that extending where /etc/sysctl.conf is handled to load /etc/sysctl.conf.d/*.conf too is simple (but I haven't looked at it) and would guess that when you provide a patch, that it will get applied
-
polyex
what lang is the sysctl loading in?
-
nimaje
seems to be handled in libexec/rc/rc.d/sysctl so sh
-
oprs
polyex: quick hack, in rc.d/sysctl, replace line 29:
-
oprs
for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do
-
oprs
with:
-
oprs
for _f in /etc/sysctl.conf /etc/sysctl.conf.local /etc/sysctl.conf.d/*.conf; do
-
oprs
then you should be able to create /etc/sysctl.conf.d/, and populate it as you like
-
polyex
if it's actually that easy would you PLEASE submit a patch so everyone can benefit?
-
oprs
keep in mind that if you change /etc/rc.d/sysctl directly, your modifications may get reverted next time you run freebsd-update thoufh
-
polyex
ya exactly
-
polyex
oprs my argument for why everyone would benefit from this is it makes freebsd more consistent. ALL types of config can either be in a single file, (loader.conf) or in multiple files (loader.conf.d/)
-
polyex
it's the only exception i found so far
-
polyex
ty so much
-
oprs
anyone can submit patches, you're welcome to do it yourself ;)
-
oprs
if you do, don't forget to update the manpage for sysctl.conf
-
polyex
oprs how can i submit a patch?
-
nimaje
make an acccount on bugs.freebsd.org, create a patch and write a problem report on bugs.f.o with your patch attached
-
polyex
need an email?
-
polyex
i just want to submit the patch info
-
polyex
oprs btw can't abuse sysctl.kld.d and use arbitrary somefile.conf with foo=bar
-
polyex
can someone with bugzilla account pls ad patch?
-
nimaje
you would need to use a name of some kernel module you load via kld_list probably
-
polyex
ya but what module is "security.bsd..." in?
-
polyex
oprs showed that not all oids are from a module, so you can't even define them in /etc/sysctl.kld.d/*, showing yet another hole in the sysctl config story in ADDITION to the inconsistency with other parts of freebsd which is what sysctl.conf.d/*.conf would solve
-
CrtxReavr
Can 14.1 be built from 13.2?
-
polyex
there any way using ~ in .login_conf is bad and absolute path should be used instead?
-
CrtxReavr
polyex, appears multiple places in mine:
termbin.com/hcgi
-
CrtxReavr
Well, /etc/login.conf
-
mzar
CrtxReavr: likely not
-
gman999
question.. is there any bsd client for crowdstrike?
-
gman999
no, not looking to install
-
jauntyd
debdrup: I was wondering if I could resume working on doc bugs?
-
nimaje
pretty sure -CURRENT should be buildable from all supported releases at that time and so 14.1 should be buildable from 13.2
-
debdrup
jauntyd: I don't see what's stopping you?