-
Remilia
yuripv: also it has the -H flag to have everything separated by a single tab
-
Remilia
for ease of parsing
-
yuripv
yep, that's what i meant by "parsable" (and not the -p flag) :)
-
Macer
ok so.. i sort of thoughtlessly upgraded zroot and received a message about updating this..
-
Macer
Pool 'zroot' has the bootfs property set, you might need to update the boot code. See gptzfsboot(8) and loader.efi(8) for details.
-
Macer
-
VimDiesel
Title: Solved - Help needed after zfs features upgrade before bootcode upgrade | The FreeBSD Forums
-
Macer
taking a look at that i should probably run something like gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 daXX ?
-
kevans
yes, assuming you're set up for BIOS booting. If there's an ESP on the disk, you should go ahead and update loader.efi on that as well
-
Macer
for the life of me i can't remember how i installed it lol. is there a quick way to check?
-
Macer
(without rebooting?)
-
kevans
sysctl machdep.bootmethod
-
Macer
machdep.bootmethod: BIOS
-
Macer
nice
-
Macer
and if it's a zfs mirror then just gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 daXX x 2 ?
-
Macer
ie: write it to both drives?
-
kevans
presumably yes
-
Macer
awesome. have 2 usb drives mirrored for booting fbsd .. so hopefully that works.
-
kevans
admittedly I have little clue... I mostly drive one-disk ZFS setups, and if I have to touch anything ore complicated than that I have a bunch of zfs-y friends I can poke
-
Macer
i didn't honestly know the pool upgrade would affect the boot partition requirement tbh .. probably should have taken a look at that prior to doing it
-
rtprio
usb drives with zfs. bold move.
-
kevans
yeah, most features are fine, some /could/ affect the read-only bits we have in bootloaders and we have to whitelist those
-
kevans
so it's actually relatively easy to lock yourself out of the system with a loader that doesn't understand some new feature you enabled
-
Macer
rtprio: you gotta want it :)
-
Macer
i use the 16GB usb drives to boot. but have most of the dirs on 2 SSDs and just changed the mountpoints for fbsd
-
Macer
i've actually swapped on once before because it just.... died... and that seemed to recover nicely. but that was quite some time ago
-
Macer
*swapped one
-
Macer
kevans: thanks for the help. appreciate it.
-
kevans
*nods*
-
mane
alright got apache with ssl running :DD
vlepy.com
-
VimDiesel
Title: Mirosław Leśniak
-
mane
i need to set an apache vhost on port 80 ip 10.8.0.1
-
mane
server runs but i get 403 forbidden
-
mane
any clue? :V
-
mane
ok i got it working
-
mns
mane: what was the solution to your 403 forbidden ?
-
mane
a simple Documen directive
-
mane
Document*
-
mane
eh
-
mane
a Directory directive
-
mane
actually
-
mane
:V
-
mns
understood.
-
mns
if your needs are simple, have you lookedat lighthttpd or obhttpd rather than apache ?
-
mane
i'm ok with apache
-
mns
no worries. just pointing out there are other options if needed.
-
meena
somebody tell mane about mod_md when they come back
-
nimmen_dimmur
i mean wow, this r13->r14 upgrade with zpool upgrade just keeps getting worse, but at least i managed to get one bootable option accidentally
paste.ofcode.org/3bJiD76GwFGridMDymhufpj
-
VimDiesel
Title: Paste ofCode
-
nimmen_dimmur
my question is how do i specify this, using "zpool set bootfs=zroot/ROOT/14.0-RELEASE_2023-11-21_145542 zroot" ? or /boot/loader.conf changes?
-
yuripv
nimmen_dimmur: tried bectl?
-
nimmen_dimmur
yuripv: nope, first time i see "bectl", will check
-
stl_
mane: 09:24 < meena> somebody tell mane about mod_md when they come back
-
stl_
(I have no idea of the context :-D )
-
meena
stl_: SSL config on Apache httpd
-
flatdog
definitely
-
dch
what causes a process to stop accepting? `netstat -ALanp tcp` gives me this:
-
dch
fffffe00b4c858f0 tcp4 102/0/128 *.8000
-
dch
I guess its completely stopped accepting connections
-
voy4g3r2
and today's lesson.. do not assume that each man page document has the "same" section structure of .Sh <name of section> <some text> .Rs
-
yuripv
why .Rs?
-
yuripv
i.e. why did you assume .Rs even has to be in man page?
-
voy4g3r2
yuripv: because the samples i reviewed had it, like date.1.gz for example
-
yuripv
mdoc(7) documents it as "bibliographic block (references)", and lots of man pages don't have it, hence me wondering
-
voy4g3r2
yuripv: i just picked the one that did.. now i got some that are quoting SEE ALSO.. oh well, just time to play with regex
-
yuripv
what are you trying to do exactly?
-
voy4g3r2
yuripv: i am trying to confirm a bug still exists.. i am trying to find all references to man pages, within indvidual man pages.. and see if that reference exists
-
voy4g3r2
-
VimDiesel
Title: 108980 – list of missing man pages
-
voy4g3r2
so if a man page has a SEE ALSO section, give me all the references in that section and let me traverse the system to confirm/deny they exist
-
yuripv
mandoc has a -Tlint which will tell you if there are any .Xr's to missing pages
-
voy4g3r2
this is my pythonic regular expression re.compile(r"(.Sh SEE ALSO)(.*?)(.Rs)|(.Sh SEE ALSO)(.*)(.Sh)", flags=re.DOTALL)
-
yuripv
note that .Xr can be anywhere in the man page
-
voy4g3r2
the convention was implying it should be in a SEE ALSO section of man pages
-
voy4g3r2
well that would make finding things easier than that mess above
-
voy4g3r2
that did increase coverage from 3873 files to 9625
-
voy4g3r2
yuripv: thanks, back to toying around
-
Demosthenex
hrm, i have an ubuntu jail with ssh, and i know i've solved this before. when i ssh to the ip address i set (seen in jls), i ssh to my native box instead
-
yuripv
Demosthenex: bind the sshds to specific addresses (instead of wildcard one) both on host and jails
-
Demosthenex
yuripv: i knew it was a simple one
-
Demosthenex
*sigh* is there a guide for running dbus in a jail w/o x11?
-
nimaje
hm, why would running dbus in a jail be a problem? and why would running x11 or not affect it?
-
Demosthenex
nimaje: just trying to run scli (with signal-cli, it's a text front end to signal messenger), and it keeps trying to run dbus and wants a DISPLAY variable and dbus services running
-
nimaje
dbus-run-session ? but DISPLAY sounds like a problem with scli
-
Demosthenex
scli is a urwid python program, no x11
-
Demosthenex
i think it's signal-cli, which uses java, and dbus just pukes if i don't define DISPLAY
-
Demosthenex
though all the errors say dbus, not java stack
-
nimaje
yeah or that, but I don't think dbus cares that much about x11 (but I could be wrong)
-
Demosthenex
in my experience, dbus is ONLY for desktop nonsense
-
nimaje
I suggest you don't look at systemd then
-
Demosthenex
is that allowed in this channel?
-
Demosthenex
i moved to freebsd to get away from that crap
-
sixpiece
hello all of a sudden although my database is working it seems like from command line that it doesn't even exist
-
rtprio
what database
-
sixpiece
mysql database
-
rtprio
how do you connect to said database
-
rtprio
when did i wander into #mysql
-
sixpiece
I used to do stuff like call it command line I used to be able to connect by typing mysql -p
-
sixpiece
it's a freebsd issue though
-
rtprio
how so
-
sixpiece
why is it dissapeared how do I find it?
-
sixpiece
how do I know it's running?
-
rtprio
sounds like you need a .my.cnf
-
sixpiece
I have that
-
rtprio
service mysql-server status
-
sixpiece
says it does not exist
-
Schamschula
what version of mysql?
-
sixpiece
8 something
-
sixpiece
let me check
-
ek
sixpiece: What does "pkg info | grep mysql-server" say?
-
ek
Or just "pkg info | grep mysql"
-
ek
There might be a version in the package name these days.
-
sixpiece
I tried that btw it's 8.033
-
sixpiece
when I do the pkg info | grep mysql I don't get the database though I only get php81-mysqli-8.1.22 and php-pdo_mysql-8.1.22
-
sixpiece
it's like the database is hidden from myself
-
ek
So, it got uninstalled while running.
-
rtprio
"ooops"
-
sixpiece
but then how come it is still working?
-
ek
sixpiece: Because the process is still running.
-
rtprio
a file doesn't have to exist to run
-
ek
sixpiece: "pkg install mysql80-server"
-
sixpiece
ok thank you I think that would solve it then...
-
sixpiece
strange how did it erase itself?
-
adonis
I am seeing high interrupt rate: ~59% in top, but can't find how to resolve the issue even though I think it might be related to FreeBSD running as a guest in xcp-ng (xen host)
-
ek
I'm guessing another package requires (or required) something that was conflicting with mysql-server so it was uninstalled automatically. Pay attention to the messages when reinstalling mysql-server and make sure there are no conflicts.
-
sixpiece
question: is it a good time to install freebsd 14?
-
sixpiece
also thank you ek rtprio
-
ek
sixpiece: Sure thing. FBSD 14.0 seems perfectly stable to me. Been testing it in production for a while now.
-
hackerman
did an upgrade and now the linker says that libs are missing that are there
-
sixpiece
thank you , will try it later going to go to A&W to eat, then the gym then walmart
-
Schamschula
It's the reason I asked about the mysql version. The upgrade to 14.0 removed mysql 5.7.
-
hackerman
like firefox where linker says /usr/local/lib/libgtk-3.so.0 is missing, chromium says /usr/local/lib/libatspi.so.0 is missing
-
Schamschula
hackerman: did you reinstall your ports?
-
hackerman
no
-
hackerman
is now suppose to do that
-
hackerman
because I compiled a lot of ports
-
Schamschula
It's part of the upgrade process.
-
adonis
-
VimDiesel
Title: systat -v - Pastebin.com
-
hackerman
Schamschula, setting LD_LIBRARY_PATH to /usr/local/lib worked
-
hackerman
atleast in the terminal
-
adonis
sysctl kern.eventtimer:
pastebin.com/2e92rPWF
-
VimDiesel
Title: sysctl kern.eventtimer - Pastebin.com
-
meena
does our openssh not support strict key exchange?