On Wed, 6 Dec 2023 at 03:39, Changqing Li <[email protected]> wrote: > The review comments that led to the revert are still valid, and this > message does not address them. The concern was that the removal via > rootfs postprocess is too late. If dnf leaves lock files around, they > should be removed just after the dnf execution. > Thanks. Agree that the lock file should be removed after dnf execution. > This is a bug of dnf. I had raise a bug upstream in Jul: > > https://github.com/rpm-software-management/dnf/issues/1963.
Looks like it's not something upstream is going to fix quickly - low priority, no comments. > This patch more like an workaround before dnf fix this issue, and this > log_lock.pid in rootfs > > has no function impact, just a dirty file in rootfs. If you can rework the patch so that the stale files are removed immediately after running dnf, I think no one is going to object. The location is somewhere in meta/lib/oe/package_manager/rpm/. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191880): https://lists.openembedded.org/g/openembedded-core/message/191880 Mute This Topic: https://lists.openembedded.org/mt/99869451/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
