-
sgs
Hi all! After upgrading to pkg-2.4.x I get the following error when running: cd /usr/ports/packages/All && pkg create -a && /usr/sbin/pkg repo /usr/ports/packages/ /<secure>/repo.key
-
sgs
pkg: /usr/ports/packages/All/pkg-2.4.2_1.pkg is not a valid package: no manifest found
-
cyric_
sgs: there's a related thread on ports@ which might provide some clues ("pkg-2.4.1 broken?")
-
ke8cqc
I would like to know if there is a way to request an app to be ported to FreeBSD. Who would I submit this request to if there is a way to do it?
-
vkarlsen
Which app is it?
-
ke8cqc
zen-browser
-
ke8cqc
I ran across it in Manjaro Linux. Can't remember if it was from the main repos or the AUR.
-
ke8cqc
... of Arch.
-
rwp
Hmm... "# Re-do process to pick up [possibly] redefined $rc_conf_files" Under what circumstances could there be a difference between the first time and an additional time?
-
rwp
And in the new proposal there is no delay in that very tight loop. If I saw that code I would think it was a coding error for certain.
-
bdrewery
rwp: what are you referring to? An open review or commit?
-
ivy
rwp: why would you put a delay in rc.conf? that would make every rc script slow for no reason?
-
ivy
bdrewery: referring to
reviews.freebsd.org/D53597 i think, which someone posted earlier
-
rwp
Hmm... I guess that was in the scrollback from yesterday. I just got back from a trip and looked at IRC and saw: < ketas> oh loooook
reviews.freebsd.org/D53597
-
ketas
there was no delay before
-
rwp
Right. Hence my question under what circumstances could there be a difference between the first time and an additional time?
-
ketas
if rc_conf_files has new files
-
rwp
And how might that happen?
-
ketas
that's the whole point of that code
-
ketas
when files loaded redefine it
-
rwp
Okay. I see it now. It's initially this: rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
-
rwp
But then someone redefines that to be somethign else in /etc/rc.conf such as rc_conf_files="/etc/rc.conf /etc/rc.conf.local /etc/myotherlocalrc.conf"
-
ketas
yes
-
rwp
And so it runs through and loads files not yet loaded, again, to pick up that new myotherlocalrc.conf file.
-
ketas
yes
-
ketas
periodic.conf needs it actually but it looked weird to me at first and then kevans pushed me to rewrite even the place i got idea from
-
rwp
And then the proposed change would allow myotherlocalrc.conf file to extend that further to be rc_conf_files="/etc/rc.conf /etc/rc.conf.local /etc/myotherlocalrc.conf /etc/andanotherrc.conf"
-
ketas
yes
-
ketas
up to enough times
-
ivy
ketas: this is the sort of thing you should explain in a commit message, fwiw
-
ketas
yeah probably
-
ketas
there's review for when this was added too
-
rwp
That's actually the answer to my question. In case it is redefined. But then I ask... What should the behavior be if someone redefines it as rc_conf_files="/etc/onlythisfileplease.conf" ??
-
ketas
and vendor.conf
-
ketas
put them there as refs?
-
ketas
or just one i mean
-
ketas
unsure how to explain more eh
-
ketas
can always improve
-
rwp
In that case it is too late to source onlythisfileplease.conf because it has already sourced the other files. Kind'a a weird case.
-
ketas
unsure what happens then
-
ketas
you can't undo it eh :p
-
ketas
or i mean
-
rwp
I am sure that the redefine that removes previously defined files is ignored. Because they are already sourced by that time.
-
ketas
in the end you can break init
-
ketas
well lets see
-
ketas
only that file gets loaded?
-
ketas
and then, unsure
-
ketas
anyway
-
rwp
It's keeping track of files that are already sourced in $sourced_files and only sources files that are not listed there. But by the time it is redefined the previous files have already been sourced.
-
ketas
the original code doubling has better explanation in it
-
ketas
i could search it up and add as reference
-
ketas
somewhere
-
ketas
some 2017 or when it was eh
-
ketas
so what do you propose?
-
ketas
it can't unload them
-
rwp
Yes. Now that I understand what it is doing the comment "# Re-do process to pick up [possibly] redefined $rc_conf_files" makes sense to me now. I should have noticed it as the clue I needed to know that but it slipped by me anyway.
-
ketas
it could load defaults again but
-
rwp
Honestly I think I don't like the feature at all, even in the original one time case, because it adds a level of complexity that I don't think is actually needed.
-
rwp
Does anyone need multiple levels of /redefining/ the list of rc.conf files? There are already three locations available.
-
ketas
maybe
-
rwp
I try to avoid being too parochial and avoid saying that because I don't have a use that others won't have a use. But it seems that three locations is already many.
-
ketas
could use vendor.conf and rc.conf
-
rwp
And also rc.conf.local
-
ketas
-
ketas
hmm wrong one but
-
ketas
even more exotic things
-
rwp
The new code would help me if it had a comment that hinted that the local admin might redefine rc_conf_files in each of the new rc_conf_files up to the 25 loop count limit times.
-
rwp
Being difficult to describe in a comment is a clue that the feature is subtle and has subtle interactions.
-
rwp
The description mentions "...new loop that runs as long as needed or 25 times..." but it does not define what "needed" means there.
-
ketas
that was supposed to mean until files stop appearing
-
ketas
:p
-
rwp
But files are not "appearing". That is why I was asking, how was this working? Because I assumed some network mount or something where files were being created asynchronously or something!
-
ketas
-
rwp
I have to wait for it to make sure I am not a bot, nice anime image, ... ah, there it is...
-
ketas
on some page that waifu took 82s
-
ketas
unsure what they did there
-
rwp
It's anti-abuse mitigation due to the endless AI scrapers that are taking down every web site. It's the new normal. The AI scrapers and ddos'ers are why we can't have nice things.
-
ketas
the 82s tho
-
rwp
Thanks for the previous bug references. It is the top of the hour and I must run to a meeting now. I have exhausted my free time to look at this right now. Gotta run!
-
ketas
maybe those beagleboard hw design files are extra precious
-
ketas
i can't find the original which added that
-
ketas
-
ketas
that's not it either
-
ketas
:p
-
mzar
-
mzar
Fall 2025 FreeBSD Vendor Summit - Day 1
-
ketas
funnily in the phabricator and bugzilla there are not (yet) used and declined changes too, which sometimes give new good ideas
-
ketas
-
ketas
that's the commit part of it
-
ketas
maybe it just was that
-
ketas
oh yes
-
ketas
Add comment to explain functionality of code
-
ketas
in next commit
-
ketas
anyway
-
ketas
i don't know what real answer is
-
ketas
if it's not slower, it's fine i guess
-
ketas
i don't know what loops or test -r cost
-
ketas
the less the better :]
-
ketas
)
-
mzar
ketas: aren't you tuned to the Vendor Summit yet ?
-
ketas
no
-
ketas
now i looked
-
mzar
it's a break now
-
ketas
yeah
-
ketas
had to confirm location and tz
-
ketas
it's a morning on the other side of planet
-
ketas
why is it round
-
ketas
why it's a ball
-
ketas
nah i closed that
-
ketas
i haven't watched or visited any fbsd even yet eh
-
mzar
perhaps you have to give it a try
-
ketas
Panel: Emerging Security Trends and Their Impact on FreeBSD
-
ketas
this tho...!
-
Reinhilde
an AI generated panel?
-
mzar
LLMs discussing