-
skered
builtin sshd doesn't ignore sshd_config LogLevel config or stop at INFO?
-
skered
sshing to a sshd inside a jail with LogLevel DEBUG3 doesn't show what I would expect in /var/log/auth.log for DEBUG3.
-
skered
It being inside a jail is the only thing I could think of that might be interesting about the setup.
-
jmnbtsls1E
skered: most likely due to the default syslog settings in /etc/syslogd.conf , you could add a file in /etc/syslog.d with something like: "auth.debug;authpriv.debug /var/log/auth_debug.log"
-
jmnbtsls1E
alternatively you could stop your sshd service then run sshd in the foreground like: /usr/sbin/sshd -ddd
-
jmnbtsls1E
not sure if your intended debug level outputs sensitive data
-
jmnbtsls1E
(so maybe better to keep it out of auth.log or any file, even)
-
skered
It was just for testing something that I've since figured out.
-
skered
But good to know.
-
skered
oh it's in /var/log/debug.log
-
CrtxReavr
Is there a file that stores the current "dmesg" buffer? /var/run/dmesg.boot only stores boot messages.
-
wildeboskat
Question, I just upgraded to 14.2 according to the instructions but I have 2 weird issues:
-
wildeboskat
1) I get a message at boot "BOOT LOADER IS TOO OLD - PLEASE UPGRADE"
-
wildeboskat
2) The text console no longer works, when I switch with Crtl-Alt-F1 the X11 screen freezes but doesn't show the black console screen
-
wildeboskat
To unfreeze it I still have to do Ctrl-Alt-F9 as before, it's just like the whole console screen framebuffer is not there
-
wildeboskat
Until it boots I see messages but once it switches to X11 it normally goes to a tiny font (I have a 4K 24" screen) but now the framebuffer seems to fail to reinitialise
-
wildeboskat
It's strange the boot loader upgrade failed somehow, never seen that before
-
mage
this message can be ignored
-
wildeboskat
Ah but I was googling it and I saw that sometimes it could cause problems with zfs upgrades?
-
wildeboskat
It didn't say how to fix it tho
-
mage
if you zpool upgrade you must update the boot loader first
-
wildeboskat
Yeah but how?
-
wildeboskat
The update instructions didn't mention this part
-
mage
depends if you use EFI or not
-
wildeboskat
Ah yes EFI
-
psionic
how you boot this shit on the serial console without the menu completely blindly?
-
wildeboskat
Ahh I think I found the reason for the other problem
-
wildeboskat
Video acceleration is broken now
-
mage
then you just have to mount every ESP partition and cp /boot/loader.efi to replace the BOOTX64.EFI file
-
mage
that's all
-
mage
check $> man efi
-
wildeboskat
ahh ok thanks
-
wildeboskat
I can do that
-
mage
don't forget to do it for every ESP partitions otherwise if a single disk fail in a raidz-x system (or ...) it will be unbootable
-
wildeboskat
Oh yeah that's no issue
-
wildeboskat
I have only one SSD in this system, it's a NUC
-
wildeboskat
Thanks! That boot loader issue is fixed
-
wildeboskat
I think something big changed with the graphics drivers but I don't know if that was 14.2 related
-
wildeboskat
A whole load of kmod gpu stuff came in on the last pkg update
-
mage
packages are still compiler against 14.1 so just wait or build related KMOD from ports
-
mage
compiled
-
wildeboskat
ahh
-
wildeboskat
Maybe I can revert with bectl
-
wildeboskat
The problem is this machine is my daily driver and I can't really work like this (videos aren't important but even normal desktop ops are slideshows)
-
wildeboskat
But that explains a lot!
-
wildeboskat
Would you know how long it takes for the packages to come for 14.2?
-
wildeboskat
I don't know how long 14.2 was out even, I just saw that it was available when I was updating everything :)
-
CrtxReavr
mage, which message?
-
psionic
panic: running without device atpic requires a local APIC
-
psionic
is this thing fatal or just warning
-
Ober
-
gh00p
Heya! What happened to Dia, the diagram editor? I've used it for years and was under the impression it had solid community support. If it's been discontinued, what's the suggested replacement?
-
rtprio
is it no longer in ports?
-
tuaris
I'm running into the problem "go.mod:1: unexpected input character '\x1f'", like described here:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=280619
-
tuaris
But the fix suggested isn't working
-
tuaris
-
rtprio
net::ERR_CERT_AUTHORITY_INVALID lol
-
rtprio
go.mod should not be binary data, is yours?
-
tuaris
It appears the ports system is downloading a large binary file
-
tuaris
ah needed to change the MASTER_SITS to:
raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/${DISTVERSIONFULL}/ I just copy/pasted not realizing
-
tuaris
Either way, there seems to be some kind of a problem with the ports system and *.mod files
-
rtprio
uh
-
gh00p
rpthms I'm not sure my ports up are to date, but the page at gnome .org seems to be gone, and brew on mac says the upstream project has been discontinued.
-
gh00p
rtprio I mean..
-
rtprio
last updated 2014... yeah. well i use graphviz
-
rtprio
-
tuaris
When I properly use the 'workaround' in the bug report I reference it downloads properly. Without the workaround, it downloads "go.mod" as a copy of the compressed tarball
-
rtprio
what comment # is the workaround in?
-
tuaris
29. He adds a MASTER_SITES and DISTFILES to override go.mod
-
rtprio
that's kind of weird
-
rtprio
is there not a better go example you can find in the ports?
-
rtprio
or rather: is this pattern in any other port?
-
tuaris
I based my port off sysutils/alloy doesn't seem to need to workaround
-
tuaris
I don't see much diffrence between security/openbao
-
tuaris
well, I take that back, the post-fetch seems to be another hacky workaround
-
tuaris
hmm, sysutils/hcloud doesn't have any workarounds, and that one works
-
rtprio
the tar of the repo should look very similar
-
Emru
hey, I need to export some directory over NFS4, using raw UIDs/GIDs. I've done this some years ago, but I've forgotten what flag should I set
-
Emru
can someone help me?
-
rtprio
what do you mean raw uids? i wasn't aware nfs4 encoded username/groups
-
Emru
there is idmapd or something like that, I want to bypass it
-
Emru
I forgot the name
-
polarian
Asked this a few days ago but it does not seem like I had any responses, using wg-quick and configuring dual stack doesn't work on freebsd, trying to ping6 or send any packet via IPv6 is instantly dropped, even after I disable pf... IPv4 still works... however if I connect from my phone dual stack works just fine, so the router side config for IPv6 should be working... any ideas?!?!?
-
rtprio
so you bring the interface up and add an ipv6 address?
-
dfdx
Hi #freebsd, I just installed FreeBSD-14.2. I have one 1TB disk (ada0) and two 8TB disks (ada1 & ada2). I installed FreeBSD with GELI and ZFS, but i'm not sure I did it correctly. Here's what I did.
-
dfdx
For ada0, I used gpart to create 3 partitions: a small efi partition, a swap partition, and then a massive root partition (type "freebsd-zfs").
-
dfdx
For ada1 and ada2, I used gpart to make each have just one large partition of type freebsd-zfs.
-
dfdx
then I used geli to encrypt the following: ada0p3 (the root partition), ada1, and ada2 (notice that I used no partitions here, I just put in the whole disk name).
-
rtprio
that seems right. what seems to be the problem
-
dfdx
THEN, I created two zfs pools: (1) zpool create -m none -R /mnt rpool ada0p3.eli, (2) zpool create -m none -R /mnt vpool mirror ada1.eli ada2.eli
-
dfdx
the point being that a dataset, vpool/var, will ultimately mount to /var in a RAID 1 configuration.
-
dfdx
sorry for rambling. now the installation has completed. I can boot and login fine (yay!)
-
dfdx
but only rpool shows up. I don't see vpool at all.
-
dfdx
when I check dmesg, I see ada1 and ada2 are there, and I see GEOM_ELI created ada1.eli and ada2.eli
-
rtprio
it's not a raid1, it's a mirror, please call it a mirror
-
dfdx
i'm not sure what i'm doing wrong here, though.
-
dfdx
rtprio: okay, sorry. a mirror.
-
rtprio
dfdx: can you `zpool import` vpool ?
-
dfdx
"cannot import vpool: pool was previously in use from another system." shall I try with -f?
-
rtprio
yes
-
dfdx
aha. yes I see it now when I run `zpool list`!
-
dfdx
and yes, `zpool status` corretly shows it as a mirror.
-
dfdx
now I assume I just `zfs mount vpool/var`
-
rtprio
uh, it should mount itself
-
rtprio
but doing zfs for /var this way is not normally how it's done
-
dfdx
oh whoa... `zfs list` does indeed show that.
-
dfdx
i am surprised because /var is populated with files.
-
rtprio
i mean, it's a filesystem, right? what else would it have?
-
dfdx
okay, it seems i'm frustrating you. sorry for the noise. i'll go read about zfs more before i come back with dumb questions. thanks again for your help.
-
rtprio
you might also read about bectl, which is how the installer does it
-
rtprio
your way you lose the ability to easily rollback operating system updates