-
polyex
what standard userland command can tell me the nameserver of a domain?
-
RhodiumToad
drill somedomain.com ns
-
RhodiumToad
or do you mean standard across OSes?
-
polyex
ah no drill's fine ty!
-
polyex
is there a way to get the name servers of the current system?
-
polyex
i tried drill localhost ns but that didn't work
-
RhodiumToad
the ones used for name resolution? see /etc/resolv.conf
-
V_PauAmma_V
You mean the name serv... beat me to it.
-
RhodiumToad
if there's no nameserver listed there, then there should be a resolver running on localhost
-
polyex
it says localhost ip. so ya i'm running unbound i guess
-
polyex
that mean i don't use nameservers, i resolve my own from the root servers directly?
-
RhodiumToad
that depends on whether you have forwarders configured for unbound
-
RhodiumToad
for that see /etc/unbound/forward.conf
-
RhodiumToad
(but that assumes a standard unbound config, it might be configured differently)
-
polyex
got a couple forward ips in there. that mean unbound funnels resolves through them and doesn't bother the root nameservers?
-
RhodiumToad
that'll depend on the configuration I think.
-
polyex
alright
-
RhodiumToad
at the very least, it'll ask the forwarders first. whether it then fails if they don't respond, or resorts to the roots, I don't know without checking the docs and config
-
RhodiumToad
it looks like unbound defaults to what BIND would call "forward-only", i.e. if it gets SERVFAIL (or presumably no response) from a forwarder, it stops rather than falling back to the roots
-
RhodiumToad
there's a forward-first: option to change that
-
polyex
think it's better to fall back to roots?
-
RhodiumToad
depends on your requirements
-
markmcb
ooh, drill, a new one for me. here i was installing bind-tools to get dig.
-
antranigv
Does FreeBSD's lua have libxo bindings?
-
polyex
that would be awesome
-
antranigv
polyex I'll work on that if there's not
-
antranigv
but I'm having a bad issue with libxo
-
antranigv
one of the values is a JSON by itself, and libxo is escaping it
-
antranigv
I want `xo` to keep it raw.
-
yuripv
how would you parse it then?
-
polyex
setting up a fresh 13.2 install, finishing up config, and pkg seems borked. pkg <anything> says pkg: loading of plugin 'provides' failed: cannot open /usr/local/lib/pkg//provides.so, plugins cannot be loaded. what's going on?
-
antranigv
yuripv I'm basically getting something like this: "arg": ["{\"name\":\"username\",\"type\":\"string\",\"required\":\"false\"}","{\"name\":\"password\",\"type\":\"string\",\"required\":\"false\"}"]
-
antranigv
while in reality it should be a list of objects
-
antranigv
or lemme put it this way, how to print list of objects?
-
ridcully_
antranigv: you have a pre-formatted JSON string and you want to put it inside the output from xo? you would use the --open/--close to just surround your string or you could place a marker in the xo-output and later replace it with your JSON string
-
antranigv
ridcully_ thank yoooou
-
antranigv
ridcully_ I totally forgot about --open-list and --close-list
-
polyex
anyone can help me fix my pkg prob? :/
-
meena
polyex: can you run ldd on that file?
-
V_PauAmma_V
polyex, what does "ls -l /usr/local/lib/pkg" show?
-
vkarlsen
polyex: Disable the 'provides' plugin from your pkg.conf for now. Then see if the pkg-provides pkg is properly installed/needs reinstall etc
-
polyex
no such file or dir for /usr/local/lib/pkg
-
V_PauAmma_V
That's your problem, then. Do as vkarlsen said.
-
polyex
ya that worked, thanks! i think the problem was i messed up the order of ansible tasks. i copied the pkg.conf file, which is set up for pkg-provides to exist, into the system before pkg install pkg-provides was installed. so pkg was in a temporarily incoherent state. that sound right?
-
vkarlsen
Sounds right. Then pkg couldn't install pkg-provides because pkg-provides wasn't installed :)
-
polyex
lol yea
-
ghoti
I'm having trouble getting a usb audio device to work. I see "uaudio" and "pcm4" show up in messages when I plug it in, but how do I tell the system (mplayer, firefox, etc) to use it for output?
-
ghoti
I am running pulseaudio, and `pamixer --list-sinks` shows the USB device's name... But no sound.
-
thorre
Hi! I have a sshd_config file with quite a few non-standard configurations. After the last upgrade to 13.2-RELEASE-p2, each time I run freebsd-update fetch I get a message that my sshd_config is affected by an update ....
-
thorre
How do I get rid of that?
-
thorre
Contents of my sshd_config:
bsd.to/r6NJ/raw
-
VimDiesel
Title: r6NJ
-
RhodiumToad
thorre: I believe it's trying to do a merge of the update's changes with your file, but can't because your file is completely different from the stock one
-
RhodiumToad
thorre: you can probably arrange to exclude it in freebsd-update's config
-
thorre
RhodiumToad: Thank you
-
thorre
-
VimDiesel
Title: Chapter 26. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
thorre
I'll check the docs for that.
-
RhodiumToad
man freebsd-update.conf
-
thorre
RhodiumToad: Would the correct prefix to /etc/ssh/sshd_config in that file be "IgnorePaths"?
-
RhodiumToad
that's probably right, yes
-
thorre
Thank you. I will give that a try then.
-
thorre
Worked like intended. Thank you RhodiumToad
-
RhodiumToad
it looks to me like you'd need that for any config file where you completely replaced the content, rather than just making changes to the default version
-
thorre
RhodiumToad: I should have fixed this a long time ago. Have had some minor problems with sshd_config during the past upgrades. I have some settings in the update.conf file so I do not fully grasp as to why I have not fixed this before.
-
meena
once again, made the mistake of doing zfs send | ssh receive without a buffer inbetween and it's painfully slow
-
CmdLnKid
... zfs receive
-
CmdLnKid
think i have a bsic limiter in my repo but failing to retrieve it
-
CmdLnKid
of the preload lib type
-
CrtxReavr
Okay, so I have a verifyablely correctly created FreeBSD USB boot-only stick drive.
-
CrtxReavr
Trying to boot an HP Elitebook.
-
CrtxReavr
I see the USB drive in the boot menu, but when I select it, it just beeps are me and brings me back to the main boot menu.
-
CmdLnKid
sounds like you need some efi.
-
CmdLnKid
inspect the bios for secure boot something something
-
CmdLnKid
you can turn it off and then reconfigure from there
-
CmdLnKid
perhaps is this a system re-aquired from a healthcare org ?
-
CrtxReavr
I found the option to disable secure boot - seems to have done the trick.
-
CrtxReavr
Thanks.
-
CrtxReavr
Well, now its booting from USB. . . but it's locking up on kernel boot.
-
rtprio
verbose boot should provide a few more details
-
CrtxReavr
It does not.
-
CrtxReavr
No matter what options I use (single/multi user, safe mode, verboses) it locks up after printing EF Framebuffer Information.
-
CrtxReavr
EFI
-
RhodiumToad
what freebsd version?
-
beowuff
For what? Generally, 13.2, but it depends on what you want to do.
-
phryk
I have a gmirror over two .eli devices that was just brought up with "Unknown error 1: help!" what do? fsck runs through, but complains that it doesn't know the name for a directory (and then gives a long decimal number i assume to be some sort of id).
-
rtprio
inode. make something up that's reasonable and you can figure it out if it boots
-
phryk
does this mean that it lost the information about the directory name on all providers at once, or is there some more involved way of actually restoring it, or at least looking it up on both providers?
-
phryk
found #223491 trying fsck -f now.
-
phryk
okay, marked as clean – not sure what happened to the affected directory, tho… 🤔
-
rtprio
you should find it based on number
-
phryk
rtprio: okay, ignoring that i already forgot that number – how would i do that?
-
phryk
will the directory just be renamed to that number?
-
RhodiumToad
check whether anything's in lost+found
-
polyex
when i run freebsd-update fetch, it says the following file has been updated, but no changes downloaded because file was modified locally. (it was /etc/ssh/sshd_config) so how do i download and integrate the changes?
-
RhodiumToad
how much have you modified it locally?
-
polyex
only changed the Port directive
-
polyex
to move sshd to another port
-
RhodiumToad
what it's supposed to do with that file, afaict, is to do a 3-way merge
-
RhodiumToad
but maybe it's failing to do that
-
polyex
how do i make it start that process?
-
polyex
all it does now is list the file path then next line is (END)
-
polyex
sorry i d/c. how do i make it start that process? all it does now is list the file path then next line is (END)
-
polyex
anyone know? i wanna do a proper freebsd-update but i gotta figure out how to reconcile this file change
-
Erhard
You typed q to get out of less there ?
-
Erhard
Typically that is all I do and it still updates
-
Erhard
At the (end)
-
Erhard
(or it may use whatever you have set as your PAGER, I dunno I use less)
-
polyex
ya i hit q to get out of it, but that didn't do anything
-
polyex
it said no changes made because the file's been edited
-
Erhard
did you try freebsd-update install ?
-
Erhard
I dunno. On my systems I just hit q and it took me through some other files. Showed me some diffs, and then just worked
-
polyex
ya i did all that. didn't make me do any of that
-
Erhard
What version are you running now (freebsd-version -kru)
-
polyex
13.2-release-p2
-
polyex
trying to look up the diff history for sshd_config to see what's changed. github is pretty hard to figure out
-
Erhard
Isn't that the latest?
-
polyex
ya but sshd_config didn't get updated it said
-
polyex
because it had been edited
-
Erhard
I think it was some symtantic stuff, nothing that really mattered
-
Erhard
semantic, jeez
-
CrtxReavr
Are there people using Docker and Kubernetes with FreeBSD?
-
meena
CrtxReavr: there's someone working on podman, to bring OCI functionality to jails, so that you can schedule jails with Kubernetes.
-
CrtxReavr
meena, just a bit baffled by Netflix (a known and admitted FreeBSD shop) looking for Docker & Kubernetes experience.
-
polyex
what does k8s do and why do ppl use it with containers like docker and jail?
-
RhodiumToad
netflix is, from what I hear, not an exclusively freebsd shop
-
» RhodiumToad never worked for them though
-
CrtxReavr
Okay, their CDN is a known FreeBSD shop.
-
meena
CrtxReavr: what RhodiumToad said
-
CrtxReavr
And that's what this pertains to.
-
CrtxReavr
Why is 'git pull' in my ports tree randomly "Aborting" in different places resolving deltas?
-
RhodiumToad
no idea
-
RhodiumToad
repo corruption? disk full?
-
CrtxReavr
Disk isn't full.
-
CrtxReavr
As for corruption. . . it's a ports tree. . . how would you define corruption?
-
RhodiumToad
hardware or filesystem issues?
-
RhodiumToad
bugs?
-
RhodiumToad
who knows
-
CrtxReavr
Cleanly mounted UFS2.
-
RhodiumToad
do you get the error with git fetch?
-
RhodiumToad
(git pull is just git fetch followed by a merge or rebase)
-
RhodiumToad
if so try git fetch -v to see if more info is available about the error
-
CrtxReavr
That ran cleanly. . . 'course "resolving deltas" is part of the merge.
-
CrtxReavr
I just nuked the tree and am re-cloning.
-
RhodiumToad
resolving deltas is not part of the merge, it's part of the fetch
-
» RhodiumToad does git fetch a lot, sees it all the time
-
polyex
any way to read all error messages associated with capsicum?
-
CrtxReavr
Crush a Scotch Bonnet in your fingers, then rub your eyes.
-
V_PauAmma_V
Please cut the snarky answers.
-
CrtxReavr
Probably never going to happen.
-
CrtxReavr
IRC is supposed to be fun.
-
V_PauAmma_V
"be civilized, respect each other" (from the topic): accept that snarky comments in a tech support channel aren't everyone's notion of fun, and tone it down. If you want to define "fun" your way to the exclusion of everyone else, you can create your own channel.
-
RhodiumToad
or take it to -social
-
RhodiumToad
polyex: what sort of errors?
-
RhodiumToad
other than "Capabilities insufficient" and "Not permitted in capability mode", as far as I know the capsicum stuff just uses the usual errno values with their normal meanings and text
-
polyex
ty