-
phryk
is kern.geom.eli.threads applied per partition or as a total?
-
kevans
phryk: should be per-partition, it looks likke
-
phryk
thanks for confirming, kevans :)
-
antranigv
just wondering, anyone here uses bhyve CPU pinning feature?
-
Matt|home
-
moviuro
dvl: I *may* have done something stupid by (hard) linking to that file or mis-copying from/to /etc/localtime. But then again, base.txz is only available for -RELEASE, not patched versions. It's strange there's no `freebsd-install repair <path>` (which could also fix permission issues... had a lot of those too). Luckily I have another machine where the zoneinfo file is not broken, so I'll use that
-
karolyi
hey, is there a website/url where I can track where the pkg build pipeline is currently at?
-
karolyi
I'd like to see when I can get the new rust version as a binary, because now my poudriere wants to compile it, and I don't want my production server to churn at 150% CPU for half an hour
-
polarian
next year when freebsd-update is deprecated, will the sets in the src tree be removed?
-
polarian
I am happy to compile from src, but I cant think of any decent way to install freebsd (even manually) if the build script stops making the base tarballs
-
polarian
I still need to attempt a bsdinstall-less install
-
polarian
install directly from source without bsdinstall, simply because I can :3
-
AmyMalik
i've been doing that a few times now
-
polarian
AmyMalik: yeah I used to like doing it for Linux its just so much fun being able to decide on everything yourself
-
polarian
to be honest, I could even script my own installations to bypass the inevitable end of the freebsd base
-
polarian
as long as I can compile the base as a single entity, and not packages, there is hope :p
-
AmyMalik
meh. I don't really care about the details as long as it works.
-
AmyMalik
15 was released prematurely, i hold.
-
nimaje
karolyi: hm, as I understand your problem you want to always build the git commit the repo build last (so poudriere can fetch everything you haven't changed the options for), which you could find in data.pkg in the file data as port_git_hash as far as I understand
-
karolyi
nimaje: something along those lines, yes. I compile a couple things for myself (with options changed) and some dependencies are recompiled when they aren't available as pkgs yet, which is the case with rust right now
-
karolyi
nimaje: but how do I specify that git hash for poudriere to work with?
-
karolyi
extracting that hash is doable with a bit of jq magic
-
nimaje
you could just go into the repo and do a git checkout but no idea if poudriere has a proper way for that, I didn't see any with a quick skim of poudriere-ports(8)
-
karolyi
hmm, just a sec
-
karolyi
yes, probably going to the repo and reseting to that hash is the most viable option
-
karolyi
thanks
-
polarian
AmyMalik: how so?
-
polarian
what issues do you have with 15.0?
-
karolyi
nimaje: that port_git_hash you mentioned, is assigned to every package and varies. is there an information somewhere of what's the latest git hash the data.pkg is built from? that is, what's the latest ports commit the pkg repo is built with?
-
karolyi
the same applies to ports_top_git_hash
-
nimaje
hm, no idea I have only found port_git_hash, but that is per package, so not what we want here
-
swee
lounge.swee.codes/uploads/0ac86cd663fadda7/image.png even if so much memory is used, why is swap not used at all?
-
lts
Would you want to use swap?
-
swee
yes
-
CrtxReavr
swee, I would question if your swap is even working.
-
nimaje
is everything actively used? swap is for stuff that is inactive, if you put something into swap just to get it out again shortly after, then it wasn't worth it
-
CrtxReavr
Can you show us your /etc/fstab?
-
swee
-
regis
pstat(8), swapinfo maybe...?
-
CrtxReavr
swee, what does 'sudo swapctl -l' say?
-
swee
Device: 1024-blocks Used:
-
swee
/dev/ada0p3 4194284 0
-
CrtxReavr
file -s /dev/ada0p3
-
swee
/dev/ada0p3: data
-
regis
swee: You don't want swap being used (it's slow as fuck in comparison to RAM) in normal scenarios. Treat it as a 'backup' memory which is slower than RAM.
-
CrtxReavr
regis, that's just not correct.
-
CrtxReavr
Things go to shit real fast if you can't swap.
-
lts
If there is no need to swap, why would it swap?
-
regis
CrtxReavr: In certain scenarios - yes. In other certain scenarios (routing?) you may want absolutely no swap on your systems.
-
CrtxReavr
swee, df -h
-
regis
lts: yup.
-
CrtxReavr
swee, this is for bash, but if you can set similar for your shell, it makes it really easy to pipe output to a paste site: alias tb='nc termbin.com 9999'
-
CrtxReavr
df -h | tb
-
karolyi
nimaje: maybe if I can look into the machinery of the pkg building pipeline, I can find something valuable
-
CrtxReavr
swee, did you get distracted by something shiny?
-
nimaje
the official builders use poudriere to build the repo
-
CrtxReavr
Should I stop caring?
-
CrtxReavr
If I'm being honest, I wish poudriere didn't exist.
-
CrtxReavr
I miss the dates of beign able to 'cd /usr/ports/this/that ; make install clean' and have it reliably work.
-
CrtxReavr
Constantly dealing with ports that won't build, and getting told I need to fire up poudriere.
-
CrtxReavr
That's not how it's supposed to work.
-
nimaje
yeah, some ports have problems to build in unclean environments, but that are still bugs in those ports
-
CrtxReavr
nimaje, not sure that's always the case.
-
nimaje
what part?
-
CrtxReavr
I think the project's gotten to pkg-centric and the work doesn't go into building outside of poudriere.
-
CrtxReavr
Packages are great, 'til you need to build a port with non-default options.
-
bdrewery
CrtxReavr: there's no special sauce in poudriere to get ports working. It's just a clean environment. An unclean environment was a problem in portmaster and portupgrade, etc, too
-
bdrewery
as the maintainer of poudriere I'd never put special sauce into it to force it to be used
-
karolyi
bdrewery: ah, so maybe you can help me
-
bdrewery
if there is such a thing we should fix it
-
bdrewery
karolyi: what's up?
-
CrtxReavr
bdrewery, I'll be sure you ping you next time I can't get a port to build. >=]
-
karolyi
bdrewery: do you know a way to get the ports git hash the current pkg database is built from? I want my local ports repo to set to that one so updated packages since the FreeBSD-based binary builds won't get rebuilt and set my production server CPU afire. :) rust is a regular culprit to that
-
bdrewery
karolyi: there is no _1_ place unfortunately. Each package has metadata in it though.
-
karolyi
bdrewery: I've checked that out (suggestion from nimaje), but the hashes change to every package
-
bdrewery
if a package hash changes every update it means it is getting rebuilt every update
-
bdrewery
A lot of the rebuilds are just to be safe but are not optimal of course
-
lts
Is there a way after a patch release to tell poudriere bulk not to try building dependency ports that will soon again be available as pkgs?
-
nimaje
well, you could collect them all and try to ask git to give you the newest one, no idea if git has a good way to do that
-
bdrewery
It would be nice to have `pkg repo` place the top-level git hash into the repo it creates
-
karolyi
bdrewery: I would think that a data.pkg is built from a certain ports git hash, so I could set mine to that and only my locally options-changed packages would get rebuilt if their version (or options) are different, otherwise poudriere would use the binaries from the pkg site. am I wrong here?
-
karolyi
nimaje: I could put something together in python for that, but I'd rather just use something that's available :) whic doesn't seem to be the case
-
bdrewery
lts: poudriere will rebuild all the packages if the .jailversion in the package dir does not match. You could hack at that but risk not rebuilding static-bin packages (like go)
-
bdrewery
karolyi: the poudriere package fetching does consider remote package options and other metadata to try to match your checkout to fetch from. I'm not understanding "set mine to that". We only publish 1 set per branch right?
-
lts
I see, thank you. I wonder if that status could be detected somehow, and the cronjob for poudriere then cancelled until next day
-
nimaje
bdrewery: the problem is having a more recent checkout than the official builders build from
-
karolyi
thank you, I started to elaborate more that that's the exact issue
-
bdrewery
that makes sense
-
bdrewery
would be nice to have annotations on the pkg-repo
-
karolyi
it would be nice to have an extra key in data.pkg/data to point to the git hash the binaries are built from
-
karolyi
bdrewery: right now there is a minor rust version change in ports compared to what's in the binaries and my local poudriere wants to rebuild it which churns my CPU for half an hour, only to build clamd later on
-
bdrewery
painful :)
-
karolyi
so if I could set my local ports to exactly that commit (git reset stuff), I could avoid that pain
-
bdrewery
got it
-
karolyi
here comes that extra key in the picture
-
bdrewery
I'll look into getting the needed metadata and querying into pkg
-
karolyi
would make my life tremendously easier :)
-
karolyi
I'm fine with putting it into data.pkg/data, I can get, extract and the query it with curl/tar/jq
-
karolyi
I already do some local pkgmirror magic to speed up binary installation :)
-
karolyi
bdrewery: should I make an issue about it that can be followed up later on?
-
bdrewery
karolyi: +1
-
karolyi
aight, coming right up
-
karolyi
-
karolyi
seems to be an easy task to me
-
cracauer
What's the easiest way to copy a NULL-terminated string from kernel to userland? getcwd looks rather convoluted.
-
CrtxReavr
cracauer, I would ask in #bsdcode on EFnet.
-
cracauer
secret channel? :-)