I'm checking here with the archive from time to time, not subscribing.Ouch. That's a high volume list if you don't procmail it.
I'm checking here with the archive from time to time, not subscribing.Ouch. That's a high volume list if you don't procmail it.
I'd think that 'pkg being problematic' is one unfortunate reason for that ML to be THAT high-volume...Ouch. That's a high volume list if you don't procmail it.
Forgot to mention.poudriere bulk builder detects OSVERSION upgrade and delete all pkgs before starting actual builder jails,
I'd think that 'pkg being problematic' is one unfortunate reason for that ML to be THAT high-volume...![]()
*If* this is how packages are created, they should rename the directory (an atomic operation) *once* the pkg dir is fully populated. Partially populated pkg dir should never be visible to users. [A reason to not use a zfs mountpoint for pkg dir]If I understand you correctly, the workflow used by the system that creates packages for RELEASE is the following:
And: if anyone runs a "pkg upgrade" command between steps 1 and 2 above (when the new quarterly repo is only partially populated), they will get some of their installed packages deleted. In other words, there is a window of several days every quarter (or roughly several percent probability) where an host is at high risk of having packages wrongly uninstalled.
- On October 1st, create a new empty package directory for the current quarter.
- Begin populating it with newly built packages. This takes several days.
- Use the created packages for the remainder of the quarter, unless they need to be regenerated.
If true, that would mean that the "pkg upgrade" mechanism has only a reliability of 1-2 nines (about 90% to 99%). That would be insanely bad.
pkg update && pkg upgrade
and so far have not run into problems.This, I would upvote if I could!Partially populated pkg dir should never be visible to users.
Now that, I disagree with, I see no technical reason for that. If there's reasons to rename a directory, it's usually pretty easy to add the necessary lines to do that just about anywhere.[A reason to not use a zfs mountpoint for pkg dir]
This is still not clear to me either. I have 14.3-RELEASE with Xfce installed on a modern, powerful workstation with a Radeon RX 6900 XT GPU. I saw that pkg was about to be upgraded which is a red flag to me since a previous bad experience. After upgrading it I ranSo if it works for you, why not for me ?
pkg upgrade
again. I do check the pkg upgrade
output when it asks for confirmation, and when I saw the long list of packages about to be removed without corresponding reinstallations I aborted the upgrade.Let us say (to illustrate) the publicly visible dir isNow that, I disagree with, I see no technical reason for that. If there's reasons to rename a directory, it's usually pretty easy to add the necessary lines to do that just about anywhere.
pub_pkg
, and you are building packages in priv_pkg
. When you are done, you might want to do this: mv pub_pkg temp_pkg; mv priv_pkg pub_pkg; mv temp_pkg priv_pkg
-- not strictly atomic but the downtime is very small. What I meant is if pub_pkg
& priv_pkg
are separate zfs filesystems, this would be far more painful (if at all possible) but if these dirs are *one* level down in the same zfs filesystem, a normal mv works. [But note that I am speculating based on what was described. I have never used poudriere]1. The builders run poudriere bulk -a in a loop
2. Package sets are not removed when a new one is started
poudriere bulk -a
wants to rebuild everything depending upon anything actually bumped by default. And recursively delete already-built pkgs in its builder repo before starting builds.*
.poudriere bulk -a
wants to rebuild everything depending upon anything actually bumped by default. And recursively delete already-built pkgs in its builder repo before starting builds.
And bump of OSVERSION causes everything to be rebuilt, even if ABI is*
.
*If* this is how packages are created, they should rename the directory (an atomic operation) *once* the pkg dir is fully populated. Partially populated pkg dir should never be visible to users.
I've just commented regarding my experiences related with the 2 items.Indeed, I'm not sure I see your point here.
So if anything lacking on latest build && not marked as vulnerable are copied back to new (not yet swapped) repo, there would be much fewer claims / frustrations.The project does not serve packages directly out of poudriere repositories (see: the rest of my post).
That's what ports snapshots are for - if you build from ports, you get the stuff with security fixes... and not wait for pre-built stuff.That is debatable. You don't want security fixes for packages that did built successfully to be held back for extended periods of time.
I think is more generalized to "if you care that much about security fixes, you should probably be building from ports and not using pre built packages".That's what ports snapshots are for - if you build from ports, you get the stuff with security fixes... and not wait for pre-built stuff.
Sorry about adding to the noise!No, pkg clients will not see a weird incomplete set of packages at the beginning of every new quarterly. Maybe things were broken when main branched off and they fail in the new build, but I don't think that's common enough to warrant making a sweeping generalization.
I think is more generalized to "if you care that much about security fixes, you should probably be building from ports and not using pre built packages".