The RPM package management system
We turn the old path (/var/lib/rpm) into a symlink when the migration is done but then keep retriggering the migration service whenever rpm is upgraded since the -d conditional is still true. This has no actual effect since the rpmdb_migrate script does check whether it's a symlink and bails out if so, but it causes unnecessary noise in the journal, so fix that by checking for the symlink in the %posttrans scriptlet right away. Do the same in %pre, even though there the find command doesn't follow symlinks by default so it won't produce any files to iterate over. Still, fix that as well, if just for the sake of consistency. Resolves: RHEL-96510 |
||
|---|---|---|
| .fmf | ||
| plans/internal | ||
| tests | ||
| .gitignore | ||
| 0001-Ensure-binary-and-source-headers-are-identified-as-s.patch | ||
| 0001-Fix-memory-leak-in-rpmsign.patch | ||
| 0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch | ||
| 0001-Fix-potential-use-of-uninitialized-pgp-struct.patch | ||
| 0001-Fix-potential-use-of-uninitialized-pipe-array.patch | ||
| 0001-Fix-regression-in-Lua-scriptlet-runaway-child-detect.patch | ||
| 0001-Make-_passwd_path-and-_group_path-lists.patch | ||
| 0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch | ||
| 0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch | ||
| 0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch | ||
| 0001-Store-configurable-digest-s-on-packages-from-verific.patch | ||
| 0002-Add-support-for-spec-local-file-attributes-and-gener.patch | ||
| 0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch | ||
| 0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch | ||
| 0002-Fix-memory-leak-in-rpmspec-shell.patch | ||
| 0002-Fix-regression-on-build-id-generation-from-compresse.patch | ||
| 0003-Declare-signCmd-static.patch | ||
| 0003-Fix-memory-leak-in-runGPG.patch | ||
| 0003-Fix-root-relocation-regression.patch | ||
| 0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch | ||
| 0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch | ||
| ci.fmf | ||
| gating.yaml | ||
| macros.rpmsign-sequoia | ||
| rpm-4.7.1-geode-i686.patch | ||
| rpm-4.9.90-no-man-dirs.patch | ||
| rpm-4.17.x-rpm_dbpath.patch | ||
| rpm-4.18.90-weak-user-group.patch | ||
| rpm-4.18.92-disable-sysusers.patch | ||
| rpm-4.18.x-siteconfig.patch | ||
| rpm-4.19.x-multisig.patch | ||
| rpm-4.19.x-pqc-algo.patch | ||
| rpm-4.19.x-pqc-fixes.patch | ||
| rpm-4.19.x-rpmkeys-add-list-erase.patch | ||
| rpm.spec | ||
| rpmdb_migrate | ||
| rpmdb-migrate.service | ||
| rpmdb-rebuild.service | ||
| sources | ||
| STAGE2-rpm | ||