-
_xor
Good point.
-
RhodiumToad
fstat /dev/klog (as root) should show it as open if it is
-
_xor
Tried that, showed nada :/
-
RhodiumToad
klog can be opened only once at a time, is it possible syslog-ng is trying to open it twice? ktrace would be useful
-
_xor
You're probably right. It shows up with two pids in ps (due to fork, not two separate invocations).
-
_xor
-
_xor
I'm going to reboot here in a few minutes. If that doesn't fix it, I'll bust out ktrace (will try to read it myself first, but will probably end up needing help)...but I might have to add that to my TODO list, short on time currently and it's not a show-stopper.
-
_xor
Waaaaaaaait a second
-
» _xor cat'ed /usr/local/etc/rc.d/syslog-ng
-
_xor
if checkyesno syslog_ng_purgeklog; then start_precmd="echo \"Purging klog(9)\" && sysctl -w kern.msgbuf_clear=1"; fi
-
_xor
Could that be a hint as to what it's expecting?
-
RhodiumToad
that clears the kernel message buffer, it doesn't directly affect klog
-
_xor
Umm, what did sysctl -w do? It says in the man page that it's "deprecated and is silently ignored", but nothing beyond that.
-
_xor
oh
-
RhodiumToad
-w = write
-
RhodiumToad
sysctl name=value implies a write so the -w is redundant
-
_xor
Figured as much, but it makes me wonder if it's expecting a completely clear klog or something and throws a fit if there are pending messages.
-
_xor
ah
-
RhodiumToad
it shouldn't do
-
RhodiumToad
besides, does that setting default to yes or no?
-
_xor
"NO" apparently.
-
RhodiumToad
well then
-
_xor
Yeah, but not making a difference unfortunately. Oh well, at least that possibility is eliminated.
-
_xor
-
_xor
^-- kdump
-
_xor
I ran it using sudo btw, though I'm wondering now if that's somehow screwing with the environment.
-
RhodiumToad
you forgot the -i option to ktrace
-
RhodiumToad
looks like it forked before trying to open anything, so you don't see the relevant parts without -i
-
_xor
Oh, was wondering why I saw fork calls but then an exit.
-
_xor
-
_xor
^-- kdump, new and improved
-
_xor
Hmm, wonder why there's a trailing hyphen on /var/db/syslog-ng.persist-.
-
RhodiumToad
it's opening /dev/klog twice
-
_xor
Just saw that
-
RhodiumToad
and the second one obviously fails
-
_xor
You're referring to the lines at and after L17826, right?
-
_xor
Er, I mean 17822
-
RhodiumToad
no line numbers in this paste :-)
-
RhodiumToad
but if you look sof CALL openat followed by NAMI "/dev/klog" it's clear enough
-
_xor
Is the first number the pid? (wondering if it's the parent + child or parent doing it twice)
-
RhodiumToad
first number is pid, yes
-
_xor
Ah, I see it more clearly now.
-
_xor
(fstatat -> openat -> fstatat) x 2
-
_xor
Hmm, so I was just now wondering if it's closing it somewhere between the two open calls.
-
RhodiumToad
clearly not
-
_xor
There are a couple of hundred lines between those two calls so I'm jumping between close calls right now to see if it's closing /dev/klog.
-
_xor
Oh, nevermind. I just trimmed the log to only that window. There are no close calls.
-
RhodiumToad
any chance it's mentioned more than once in config files?
-
_xor
Oh, you might be right. Though I would have figured it would guard against that and re-use existing fds.
-
_xor
You are correct, sir.
-
_xor
I just removed a config change I made that specified a new set of sources. Apparently it does really just try to open it again.
-
ExclamationPoint
does anyone here have a better suggestion than NAT for the following config? I'd like to have a box A with direct connection to box B on a 172.16/8 net connect through box B to box C, the two of which are connected on a 10./8 net to a proxy server. do I really need NAT for this?
-
Beladona
virtualbox issue (was working before) Kernel driver not installed (rc=-1908) Make sure the kernel module has been loaded successfully. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
-
nimaje
ExclamationPoint: ok, your network is A <-> B <-> C? but where are the routers for 10./8 and 172.16/8? and how about making B the router?
-
Beladona
-
VimDiesel
Title: How to Install Oracle VirtualBox in FreeBSD - OSTechNix
-
Beladona
as it seems vbox in 13.1 was broken, despite I upgraded to 13.2
-
nimaje
Beladona: packages are only build per major release on the oldest supported version of that line (so should be 13.2 for 13.x as 13.1 is eol) a problem with that is that sometimes kernel abis aren't as stable as they should be and kernel modules build on older releases don't work on newer ones (which seems to happen quite often for vbox), but as the repo is build on 13.2 and your system is 13.2
-
nimaje
that shouldn't be the problem, so no idea
-
Beladona
nimaje ok that makes sense. what vbox alternative?
-
Beladona40
any guide to qemu + virt-manager?
-
Beladona40
installed virt-manager. now I says Could not detect a default hypervisor. Make sure the appropriate QEMU/KVM virtualization packages are installed to manage virtualization on this host.
-
Soni
how does freebsd allocate argv?
-
rtprio
Beladona40: i've only used it with kvm on linux
-
V_PauAmma_V
See /usr/src/lib/csu/amd64/crt1_c.c:_start or the equivalent for your CPU architecture. (You can also browse the source for your FreeBSD version from
cgit.freebsd.org
-
VimDiesel
Title: FreeBSD Git repositories
-
V_PauAmma_V
.)
-
Beladona40
rtprio ok
-
rtprio
Beladona40: what are you trying to do? run debian in qemu?
-
Beladona40
run ubuntu on freebsd via vbx or qemu
-
Beladona40
can't get anythign right
-
rtprio
i run it with bhyve and it works fine. i guess it depends on your needs
-
rtprio
debian, in my case
-
Beladona40
bhyve?
-
Beladona40
rtprio you prefer ubuntu or debian?
-
Beladona40
for prod
-
rtprio
i only "prod" my homelab, and i prefer debian
-
rtprio
when freebsd doesn't fit
-
Beladona40
freebsd is great and first choice but too much less community support. too much configs and quirks
-
Beladona40
so hard to get anything right
-
rtprio
haha, ok if you say so.
-
Beladona40
freebsd is best if its just for a database and httpd,
-
Beladona40
nothing else
-
rtprio
that is an opinion.
-
Beladona40
but I got a lot happening. browsers, linux support, camera, mic, video editor/ obs
-
Beladona40
rtprio yes. just my opinion
-
» V_PauAmma_V pets his FreeBSD+XFCE laptop. Shh, it's OK. I still love you.
-
rtprio
it's nearly always the same software, with the same configs. quirks, i don't know about that
-
rtprio
i dare say plenty of people use linux support and manage obs
-
Beladona40
and on top, you have some disks. either use freebsd (geli) to decrypt or LUKs (ubuntu) to decrypt. can't have both
-
Beladona40
so my disks can't be accessed by linux os
-
Beladona40
if encrypted by geli
-
Beladona40
that is a headache too
-
rtprio
yep. your windows can't access ufs. it's a part of life. choose one and move on. or get another machine
-
Beladona40
I have zfs. both bsd and linux can access it
-
Beladona40
but was talking about geli/luks
-
Beladona40
no other way. right?
-
rtprio
zfs encryption
-
Beladona40
am ok..
-
Beladona40
rtprio thanks, i will see into that
-
debdrup
fengshaun_: have you considered making
amoradi.org/20210912134104.html into a FreeBSD handbook article?
-
VimDiesel
Title: Kerberized NFSv4 in a mixed OS environment
-
hotsoup
Hi all. Sorry for what's probably a fairly common question. I want to try out freebsd as a daily driver on my laptop. Intel Tiger Lake system, integrated GPU. In searching around it looks like my hardware is supported. Are there any potentials gotchas I'm not thinking of in getting a running system?
-
hotsoup
potential*
-
Tabmow
hotsoup: not really, the release hardware notes and
wiki.freebsd.org/Laptops are a good read before you start though.
-
VimDiesel
Title: Laptops - FreeBSD Wiki
-
hotsoup
Tabmow: Thanks, I'll give it a read.
-
DrKK`
At the risk of inciting jihad, I will simply say that not everyone is convinced FreeBSD is what they want on their daily driver. :) Good luck to you.
-
hotsoup
DrKK`: I've already considered some pitfalls, and I'm sure there's some I haven't considered yet. If it doesn't work out I'll just dd back my linux install. Not the end of the world :)
-
DrKK`
I used FreeBSD ubiquitously on every computer in this house. Except. My daily driver.
-
DrKK`
use*
-
armin
quote impressive, just set up a fresh freebsd desktop machine (ryzen 9, 32gb ram, ati graphics card, focusrite scarlett 2i6 usb audio interface, 43" 4k display). even that usb sound card just worked and i had a desktop running with sound in less than 20min after booting the usb stick. \o/
-
armin
according to the timestamps in my irc client i was faster than 17min.
-
armin
only thing i'm stuck with currently is mounting my nas via smb, but hey.
-
armin
that's definitely better than what i was expecting.
-
Tabmow
Does your nas support nfs? If so, in my experience you'd be a lot more better off mounting shares that way.
-
armin
Tabmow: it does but i wouldn't want to use that. my interface to that nas is just smb since 2 decades now, i have no ambition to change or overthink that, my apologies.
-
armin
Tabmow: in fact it's just some tiny nixos machine (no preference whatsoever, i was simply learning nixos at that time).
-
armin
Tabmow: i'm almost sure nfs would be technically more sophisticated and simply better, but i would still want to be able to mount a samba share on freebsd. :)
-
jeang3nie
I've had issues in the past with interop between Linux and FreeBSD nfs implementation. Although if you stick with nfsv3 it's probably fine.
-
armin
shouldn't even nfs4 just work?
-
jeang3nie
Of course that was ten+ years ago, so things might have changed.
-
armin
hehe
-
armin
i realize every time i install freebsd desktops again how much i love this operating system.
-
armin
zero surprises, i can be 100% sure to be able to come back after some time and find what i well remember.
-
jeang3nie
Agreed. I used it as my daily driver for years, switched to Linux for a while, and just came back a couple months ago. It's so much more sane.
-
jeang3nie
The mad push to containerizing everything put me over the edge.
-
armin
jeang3nie: i'm trying just that currently. basically all my hardware works out of the box, i had ZERO issues, my desktop was up and running playing sound in under 20 minutes and i have 4 audio cards in this system.
-
jeang3nie
That's awesome.
-
armin
jeang3nie: going through the installer was just muscle memory.
-
armin
speed run so to speak. :)
-
armin
but yea, less than 20min is HARD to beat even with some linux you can install from the live iso with calamares and everything.
-
armin
that's insane.
-
armin
will definitely continue to work on this, first impression exceeded any kind of expectations so far. <3
-
jeang3nie
I think the only one I would even try to beat that with is Void. They offer you a tarball to just extract if you know what you're doing.
-
armin
ah yeah, void, i'm the author of vpm, btw.
-
armin
(in case you know that)
-
jeang3nie
Oh, cool!
-
armin
<3 simple things :)
-
jeang3nie
I still run Void on an RPI4, headless. Switched over my other machines to FreeBSD.
-
armin
:)
-
armin
the best thing about freebsd and void: you'll find a community of like-minded people who love minimalism.
-
jeang3nie
Seems that way.
-
armin
jeang3nie: couple of days ago someone excused on reddit for writing something similar to vpm, i was just like "wow, by all means, do WHATEVER you want, af i can anyhow help you, please always just contact me, happy to help you with whatever you want."
-
VVD
armin, what "DE" did you install on FreeBSD?
-
armin
VVD: i always start with xfce, just to have all the stuff needed installed, and then stray away from there into i3/sway/awesome/bspwm or something...
-
armin
VVD: works blatantly well, if "echo startxfce4 > .xinitrc; startx" works i know i'm safe.
-
VVD
I'm using KDE from 3.5
-
myappie
freebsd needs a new logo and website
-
armin
myappie: correct, the logo is outdated.
-
myappie
know what happened last time i said that? the famous logo competition :lol:
-
myappie
yep
-
armin
myappie: it was at a time where user interfaces all started to adopt this glare-look.
-
myappie
i'm sorry for encouraging its creation
-
myappie
yeah
-
myappie
nasty
-
armin
myappie: freebsd had this logo creation contest and the dude submitting the current log won by a large bar gain, and rightly so, he really submitted some extremely awesome work. but that's 20 years ago now.
-
jeang3nie
Ugghhh, as long as they don't change it to something flat just like everything else..
-
myappie
armin: yeah i started it (indirectly)
-
myappie
hehe
-
armin
jeang3nie: flat is ok, over-simplified isn't.
-
myappie
jeez time flies
-
armin
myappie: oh :)
-
armin
myappie: <3
-
jeang3nie
In ten years some kid will be like, this flat logo is so dated and crappy.
-
myappie
meanwhile though i've become an architect and logo designer, so this time, you'll all get a proper logo
-
myappie
jeang3nie: hehe
-
armin
myappie: as if your previous work wasn't good or something, it was mindblowing for the time back then, i remember looking at that for an hour with my mum (she's a graphics designer).
-
myappie
armin: do you know who that dude was or if his work is available?
-
armin
myappie: much love and respect for that.
-
myappie
ah nice
-
armin
myappie: ah thought it was you.
-
armin
myappie: i can't remember, it's too long ago. :)
-
myappie
i did recently do a drawing of beastie as meatwad from aqua teen hunger force, don't know if you're familiar
-
myappie
hold up
-
armin
oh :)
-
armin
adult-swim is nice. :)
-
myappie
im hoping to revamp openbsd's website and branding, so while im at it, it would make sense if i do freebsd too
-
myappie
im also trying to convert all linux GPU drivers to both BSDs
-
myappie
so it's gonna be a good thing
-
armin
myappie: drop me a link and i'll buy a shirt just to support you in a heartbeat. :)
-
myappie
it is it is <3
-
myappie
cool man!
-
myappie
yeah just check bsdports.org tomorrow or something it should be back up
-
armin
niiiice
-
myappie
and also bsddocs.org, i've noticed we're falling a bit behind on the doc systemz :P
-
myappie
wait before i go, beastie!
-
armin
checking
-
myappie
nothing there now
-
myappie
but its coded, designed and has an awesoe reactive search UI based on ruby on rails
-
myappie
ok found him:
-
myappie
-
myappie
hehe
-
myappie
what a waste of time. cute lil fella though
-
armin
lol
-
armin
there's this guy from tilda.center who was making music with freebsd 3 years ago
-
armin
that was highly impressive stuff, too
-
armin
that guy was simply tweaking freebsd so to the bone that he got latency of his whole audio stack WAY below his linux installations
-
armin
o.O
-
myappie
cool
-
armin
i've been making a lot of music using renoise (renoise.com), so that's very interesting for me...
-
myappie
should release a freebsd mixtape, id love to contribute
-
myappie
oh i see
-
myappie
ableton live here :/ can't survive without VSTs
-
armin
i'd be happy to contribute a couple of songs for a sampler, definitely.
-
myappie
hehe that'd be awesome
-
armin
myappie: renoise has support for VSTs, but you need these linux VST things i believe, there are some synthesizers that work just fine though
-
myappie
in openbsd it's a tradition even
-
armin
yea i have some music i would love to contribute
-
myappie
u have anything online?
-
armin
i'm hard at hearing since birth, have released music on some major labels, but i ended up giving my music away for free again, making money with art is just not for me
-
myappie
ah i see
-
myappie
yeah i'm starting my own major label for that exact same reason
-
armin
myappie: oof, i've been having 20 monikers, got stuff on spotify/youtube, whatever, yes, even releases on CD, ran a netlabel for years, yada yada
-
armin
myappie: but i never made a thing out of hype, that's not me
-
myappie
coupling it with a new major social network intended to rival twitter and soundcloud. it would be a nice way to get my own and my artists music out to hundreds of millions without having to kiss anybody's ass
-
mason
There's #freebsd-social right over there ->
-
myappie
oooh nice nice nice
-
myappie
mason: got it!
-
armin
mason: oh sorry, we weren't meaning to spam this and got lost, we're relaying discussion to there now, my apologies. <3
-
mason
No worries, just saying.
-
linear_cannon
hi, i'm trying to set up two FreeBSD VMs (big and little endian) on a POWER9 system, with a Linux host using libvirt/qemu-kvm. i've run through the install process, using guided partitioning. with both VMs, once finished, i can't boot into the installed system
-
linear_cannon
the bootloader runs, then give me a "panic: domount", and drops me back to openfirmware
-
linear_cannon
i don't know how to troubleshoot this
-
srp[m]
Howdy. I’ve got an interesting conundrum. For some reason, my wifi network isn’t showing up on AP scans and so I’ve got no connection.
-
srp[m]
Not sure what could be causing it, I can see a whole bunch of other networks and all other devices see the network no problem.
-
srp[m]
I did recently change the channels that the network runs on to avoid clogging, but I would think that wpa_supplicant would still spot it despite that.
-
srp
Fixed it, didn't know that certain channels were accessible with the card.
-
rukus
srp: could be related to region.
-
linear_cannon
i think i figured out my issue, i used gpt for the partition map and it seems like slof doesn't support it. booting kernel directly works, but then it won't mount root
-
linear_cannon
i'll just reinstall with mbr and see how that goes
-
srp
rukus: I just used `ifconfig wlan0 list channel` then switched the 5Ghz network to one of the channels there.
-
srp
The channel I had that network set to wasn't one in that list.
-
srp
It's working now.
-
rukus
good then.
-
jgh
root
-
jgh
wups
-
tercaL
Hello, good evening. I know how to set Jails and configure each of them to have a virtual *local* IP addresses like; jail1: 10.10.10.2, jail2: 10.10.10.3, et cetera. And I can set each of them to have sshd listening on their owni, virtual IP addresses. However, here goes my question; any idea/solution you'd suggest me on; how to access the root@jail1, root@jail2 through ssh directly and externally on the Internet?
-
tercaL
P.S.: Only the host has a public external IP address.
-
costly
tercaL: I assume you must configure NAT for IPv4
-
tercaL
costly: Some sort of PF would work you think? like; rdr pass on $ext_if proto tcp from any to $ext_if port 2222 -> 10.10.10.2 port 22
-
Beladona91
I expanded as per this
serverfault.com/questions/703471/wh…s-pool-expanding-using-zfs-on-linux but the size in `zpool list` is same as before with this message on `partprobe` : Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 24326944 blocks) or
-
Beladona91
continue with the current setting? any clue what I am missing?
-
VimDiesel
Title: Why isn't my ZFS pool expanding using ZFS on Linux? - Server Fault
-
Beladona91
rebooting\
-
Beladona
partprobe
-
Beladona
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 24326944 blocks) or continue with the current setting?
-
RhodiumToad
what is this /dev/sda of which you speak
-
RhodiumToad
or did you forget this is #freebsd?
-
fengshaun
debdrup, I'd be honoured, I'm just not sure if the post is polished enough/worthy of the Handbook. Any recommendations for get it ready?
-
fengshaun
my hosting is down again sadly! but you were referring to kerberized nfsv4 in mixed os environment
-
debdrup
fengshaun: I'd say it's pretty much ready to go, it just needs to be converted to asciidoc (I assume it's in markdown?)
-
fengshaun
it's in org-mode, if you think it's fine, I'd be happy to turn it into ascii doc. What do I do next?
-
debdrup
-
VimDiesel
Title: FreeBSD Documentation Project Primer for New Contributors | FreeBSD Documentation Portal
-
fengshaun
debdrup, thanks, I'll go through it and get back you once done!
-
debdrup
That document also contains a bit of explanation of the directory structure and such.
-
Beladona
RhodiumToad ah.. sorry, its nix guest in freebsd. Was so used to freebsd.
-
fengshaun
nice, which section of the handbook do you think the post fits? a subsection within 32.3 NFS?
-
rtprio
Beladona: what was the configuration of the pool
-
debdrup
fengshaun: yeah, a subsection within NFS seems like the best place for it
-
fengshaun
debdrup, thanks
-
ExclamationPoint
nimaje, A is a linux box, B is a FreeBSD box, and C is a FreeBSD box. C is my proxy to the rest of the world
-
ExclamationPoint
A<->B is 172.16 and B<->C is 10. I may just put NAT and FW on B and have it route otu
-
debdrup
Double-NAT is going to cause you no end of trouble.