-
alepzi
new files
-
V_PauAmma_V
What creates them?
-
alepzi
quickwit a search engine that's run by daemon in a rc script
-
alepzi
but wait it's the -o option of daemon
-
alepzi
so i guess daemon does
-
V_PauAmma_V
Quoting from daemon(8), "-o" paragraph: "If the file does not exist, it is created with permissions 0600." daemon(8) can't know what will go into the file, so has to be prudent. If you want the file world-readable, touch it before running daemon so it exists.
-
alepzi
i was even reading the man page don't know how i forgot that!!
-
crest
does anyone else have problems fetch packages from the official pkgbase repo for 14.0?
-
crest
i can fetch from my own (locally compiled) pkgbase repo, but not from the official pkg.freebsd.org mirrors
-
crest
pkg update -f -r base works
-
crest
but pkg fetch -o /tmp -r base FreeBSD-clibs fails
-
crest
it dies with an exit code != 0 but doesn't write any errors to stdout/stderr
-
alepzi
does it make sense for a pid file to be +x?
-
rwp
No.
-
meena
crest: there definitely seems to be an issue on aarch64, not sure about amd64
-
crest
meena: are you getting the same behavior on aarch64?
-
crest
e.g. pkg install failing with exit status 21 without an error message
-
meena
-
VimDiesel
Title: gist:162ddc534e4141cffdf4dd36b13556b5 · GitHub
-
crest
looks like at least some official pkgbase repo mirros are broken?
-
meena
crest: so, this machine is in germany; lemme try my local amd64 vm
-
meandrain
I've change mac address of a freebsd machine using ifconfig_vtnet0_alias0 and now I have too lines in ifconfig: ether and hwaddr. Which one will be broadcasted ?
-
meena
never mind,that's already up to p6
-
meena
meandrain: it should be the one you set
-
meandrain
arp show the ether one ... so it seems to be ok
-
crest
meandrain: iirc ether is the active one an and hwaddr is only displayed if ether has be changed to make it posssible to still track the interfaces by their hardwired default mac address
-
meandrain
nice
-
crest
meena: so you're most likely hitting the frankfurt pkg mirror by default
-
meena
crest: if i switch to a different mirror, the error is the same.
-
crest
meena: i see the same problem
-
meena
so I reckon the issue is with (14:)FreeBSD:aarch64
-
crest
not just aarch64
-
crest
i'm unable to pkg update -r base with the example base.conf from the wiki
-
meena
let's start a thread on pkgbase@?
-
crest
sure
-
meena
you said you're getting the same issue? on amd64?
-
meena
I update my CURRENT dev VM every other day, and it doesn't have that issue
-
crest
-
VimDiesel
Title: Re: FreeBSD kernel version 0
-
crest
if bapt@ says this is the one and only correct fix and it won't be fixed by restoring the old pkg behaviour that means it will take an errata release to get the fix into releng/14.0
-
meena
crest: agreed.
-
polarian
I can't seem to get .login_conf locale working
-
polarian
I set the charset to UTF-8 and set the locale to en_GB.UTF-8 and nothing...
-
polarian
I have generated the db too
-
polarian
I run locale as my user, and I still get C.UTF-8
-
polarian
I have restarted my laptop and also relogged in
-
V_PauAmma_V
Did ypu log out and back in?
-
polarian
yes
-
V_PauAmma_V
OK
-
V_PauAmma_V
Tbat looks like a more-coffee-than-I-have-in-my-bloodstream problem.
-
polarian
damn... anyone else got any ideas on what I could try?
-
voy4g3r2
i may be late to this whole conversation (true statement, very little coffee) is locale in userland apps NOT taking over from your .login_conf?
-
polarian
voy4g3r2: I set them in .login_conf, then generated the db, then rebooted and relogged in, nothing... running locale I can still see C.UTF-8 is the locale
-
voy4g3r2
does locale -a show en_GB? or just C?
-
polarian
voy4g3r2: both of them are elements of them yes
-
polarian
if I grep the list, they will both appear
-
polarian
(with en_GB having different charsets too)
-
voy4g3r2
could you put your locale output in dpaste.org please?
-
polarian
-
VimDiesel
Title: dpaste/ouinx (Python)
-
voy4g3r2
you said you updated the .login_conf, is that located in your $HOME dir and once you do that you rebuild the database with: cap_mkdb
-
voy4g3r2
cap_mkdb $HOME/.login_conf (whereever you have it)
-
voy4g3r2
SHOULD set the en_GB for that user and leave the system wide configuration intact
-
polarian
voy4g3r2: yes I did that
-
polarian
want me to dpaste that?
-
voy4g3r2
sure
-
meandrain
I've moved a FreeBSD 10.x running machine into bhyve, but now I get this:
pastebin.mozilla.org/rp8Ofua8 Any idea how to find the problem ?
-
VimDiesel
Title: Mozilla Community Pastebin/rp8Ofua8 (JavaScript)
-
voy4g3r2
meandrain: you move a FreeBSD 10.x install to a newer FreeBSD host? upon moving this machine to a bhyve instance, you are receiving the above message?
-
meandrain
yes
-
meandrain
the host is 14.0
-
mrtnt
Let's say, that I send an unrelated TCP packet with RST or ACK flag set to a FreeBSD server. Such packet will get dropped. Is there a counter for example under /proc or visible with for example netstat, which counts such dropped packets?
-
voy4g3r2
meandrain: how is your bhyve? do you have debug=on for the image? does that give more details for you?
-
meandrain
no, I will do that
-
meandrain
I don't know how to enable debug in bhyve
-
voy4g3r2
find your .conf file for the bhyve instance and add an entry like this...
-
voy4g3r2
-
VimDiesel
Title: dpaste/ypdZy (Bash)
-
voy4g3r2
this is a configuration for a -CURRENT bhyve instance but the focus should be the last line
-
meandrain
this is my bhyve start script:
pastebin.mozilla.org/nTtecdee
-
VimDiesel
Title: Mozilla Community Pastebin/nTtecdee (JavaScript)
-
voy4g3r2
oh crap, i use vm-script sorry
-
voy4g3r2
so my option won't work, i forgot about that
-
meandrain
my issue might be the bhyveload line ... the -d part
-
meandrain
because I am not using zfs
-
meandrain
well I am using zfs zvol for drive
-
voy4g3r2
i am looking through man bhyve_config
-
voy4g3r2
there is a way to link the gdb to the bhyve image
-
meena
crest: okay, i *am* seeing the issue on amd64, too
-
debdrup
mrtnt: blackhole(4) has a couple MIBs for sysctl(8) that let you tweak exactly how the blackholing works, but I don't believe there's a counter as such. However, FreeBSD will generate syslog messages if it spikes above 200, then limit it to 200. To find out the source, you'll have to use tcpdump or an IDS/IPS - the latter of which can be achieved by setting up a monitoring port in ipfw using the tee
-
debdrup
rule, that you can then probabilistically filter using dummynet.
-
meena
-
VimDiesel
Title: gist:b566c56b251486576ea7b36b3bc230ee · GitHub
-
crest
meena: which pkg version are you running?
-
crest
1.21.2?
-
debdrup
mrtnt: siftr(4) might be worth investigating, though.
-
meena
crest: 1.21.2, which just updated
-
meena
crest: see, i usually start my PkgBase upgrades with: pkg upgrade -r FreeBSD pkg
-
crest
1.21.2 was committed on 2024-04-23 to ports
-
polarian
-
VimDiesel
Title: dpaste/dHsCN (Python)
-
debdrup
siftr(4) is quite interesting, and I wish more people knew about it.
-
crest
but i don't know how fast (or slow) the arm64 builders are
-
polarian
ohhh the indexing is wrong
-
polarian
neovim isn't displaying it though
-
meena
crest: would be nice to see a comparision
-
crest
between what?
-
ridcully
polarian: isn't there the `lang=` missing?
-
polarian
ridcully: hehe
-
polarian
yes...
-
polarian
thanks for pointing it out
-
meena
crest: like, where is the build-queue between the different arch's builders.
-
voy4g3r2
meandrain: i would get the gdb options going for your bhyve, unfortunately i do not know EXACT syntax (man bhyve_config) and see if it gives yuou more details.
-
meandrain
yea, I'll try to catch a kernel dump
-
meandrain
voy4g3r2: thank you!
-
mrtnt
debdrup: thanks, I'll check the siftr(4)
-
meandrain
voy4g3r2: I solved the problem, I kind of had a feeling that I've messed up with rsync of older files over newer os. So I delete everything new from the partition and rsync older machine to a blank partition, the restored boot. And now I can mount the root in bhyve
-
voy4g3r2
nice!
-
voy4g3r2
if you have the data on a zfs , i have found great success with zfs send and zfs recv
-
voy4g3r2
it is "quicker" than rsync .. but awesome
-
voy4g3r2
polarian: everything good from your side?
-
voy4g3r2
i got a slew of meetings coming up and will be going dark
-
polarian
voy4g3r2: yup
-
polarian
it works now
-
polarian
apart from claws-mail not detecting the locale :/
-
polarian
its still trying to load C dictionary for hunspell (which I dont have)
-
voy4g3r2
polarian: awesome, the hunspell may or may not be related but progress is always good
-
last1
I hotswap removed and re-inserted a disk in my zfs pool, now it shows as removed
-
last1
diskid/DISK-PHYF117400FZ1P9DGN REMOVED 0 0 0
-
last1
its name used to be da56
-
last1
I see in the logs that da56 was properly seen by FreeBSD
-
VVD
try zpool replace
-
last1
and if I do zfs replace -f diskid/DISK-PHYF117400FZ1P9DGN da56
-
last1
it errors out with: /dev/da56 is part of active pool 'ssd_bkp'
-
last1
err
-
last1
zfs replace -f ssd_bkp ..
-
VVD
zpool status
-
last1
-
VVD
probably u need -f or clear disk manually (with dd for example)
-
VimDiesel
Title: dpaste/krpD (Plain Text)
-
VVD
without formatting…
-
last1
I did use -f
-
last1
I haven't written to the zpool since I removed/inserted the drive
-
last1
I really need to wipe it clean before trying again ?
-
VVD
last1, try: zpool attach ssd_bkp da55 da56
-
VVD
maybe add -f
-
VVD
I mean: zpool attach -f
-
last1
yeah, that's what I ended up doing
-
last1
attach, have to resilver, etc
-
last1
not ideal :|
-
VVD
ye
-
VVD
and then detach diskid/DISK-PHYF117400FZ1P9DGN
-
crest
meena: did you catch the discussion on the pkgbase list about the changes in pkg 1.21?
-
meena
crest: nah, i was staring at broken pytest output all day
-
Devil_Kin
f/window close 14
-
Devil_Kin
ugh, sorry
-
bastelfreak
autojoin add
-
bastelfreak
autojoin add --run
-
alepzi
i got a pf block out going on. any way i can sniff what protocol it is and stuff about the connection attempt?
-
V_PauAmma_V
See pflogd(8).
-
markmcb
is there a preview of release notes (or something to that effect) for 14.1 anywhere?
-
V_PauAmma_V
Not yet, that I've seen.
-
alepzi
how can i say where fetch should dl a file to?
-
alepzi
-o then absolute path?
-
V_PauAmma_V
So the manual page says.
-
alepzi
hm didn't work
-
alepzi
jexec -l testjail fetch -a -o /tmp/file.zip https://...
-
alepzi
running that in a scripted bsdinstall fwiw
-
alepzi
wait nvm
-
alepzi
ya it did work my bad
-
Steeve
I'm coming from mostly GNU/Linux experience. For elevating privileges, is it reasonable to install the sudo package and allow members of "wheel" group to elevate? Or is there are reason to only $ su - into root and do things therein?
-
V_PauAmma_V
I use sudo and wheel group membership as you mentioned. Others prefer doas instead. I would say both are reasonable approaches.
-
Steeve
Thanks V_PauAmma_V
-
tsoome
only embers of wheel group can su to root, so the direct difference is about if you know root password or not.
-
tsoome
s/embers/members/
-
Steeve
Thank you, I was curious if that pattern was a "no no" or somehow not appropriate to FreeBSD
-
Steeve
For managing packages, if I do # pkg update; pkg upgrade, as well as # freebsd-update fetch and # freebsd-update install , does that bring my machine fully up to current?
-
Steeve
managing updates***
-
Steeve
Sorry I guess I shouldn't say "current" since I understand that to be a different thing in this context. I just want to know how to patch a machine so it is fully up to date with regard to security patches to the system, any libraries, packages, etc
-
Steeve
This would be a 14.0 install
-
TommyC
`freebsd-update fetch install' is for the base freebsd system, similar to RHEL's `dnf update' without any additional repos enabled/installed
-
TommyC
the pkg update upgrade commands you mentioned are for pre-built packages, yes
-
V_PauAmma_V
What "pkg upgrade" gets you to depend on whether you're using quarterly packages or latest packages. (Quarterly is the default, but sometimes security fixes don't make it to it until the next quarter.)
-
V_PauAmma_V
s/depend/depends/
-
Steeve
Thank you both
-
V_PauAmma_V
-
Steeve
Thank you. Regarding that point about security fixes not making it into the current quarter, would best practice be to target "latest", say in the case of having something edge-facing... a web server for instance?
-
Steeve
Like if I were deploying a public-facing nginx instance and want to keep it as secure as possible with regard to any library updates
-
TommyC
Steeve: in my opinion, that's not a simple yes/no question
-
TommyC
but if you believe the latest is the safest, then yeah you'd probably want the latest possible updates
-
Steeve
Understood, thank you
-
V_PauAmma_V
Problem with "latest" is the constant churn, which can increase your workload if you need (or want) to check each update for breaking changes, which sometimes happen, depending on upstream's stance on backward compatibility.
-
Steeve
Yes makes sense
-
Steeve
Thank you both, appreciate the input
-
lw
V_PauAmma_V: are missing security updates in quarterly really a thing then? i've always been a bit suspicious about running it but didn't have any specific examples
-
lw
markmcb:
freebsd.org/releases/14.1R/relnotes - but there's nothing there
-
VimDiesel
Title: FreeBSD 14.1-RELEASE Release Notes | The FreeBSD Project
-
lw
the releng branch hasn't even been created yet, relnotes can't really happen until then someone people are still pushing new changes to stable/14
-
V_PauAmma_V
lw, from my own experience of late 2019, soon after switching from PC-BSD to FreeBSD, there was a security update to sudo that didn't make it to quarterly. That's when I switched to latest. Since then, I've occasionally seen people complain about relatively few security updates being applied to quarterly - whether because maintainers don't request them, committers don't apply them, or both, I can't
-
V_PauAmma_V
say.
-
markmcb
lw: thanks. i recall prior to 14.0 there was a non freebsd site that had lots of detailed notes on what was coming. seemed fairly informal, but it was insightful.
-
V_PauAmma_V
Was that Phoronix by any chance?
-
TommyC
to be fair, everything on that site looks informal
-
lw
'informal' is certainly one way to describe it
-
TommyC
I think the harsher words I want to use aren't permitted in this channel. "be civilized" being in the /topic and all :)
-
alepzi
failed to chown ... bad file descriptor <- what can cause that over and over in a jail during pkg install ...?