CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 5 Dec 2023 at 06:46, Changqing Li <changqing.li@eng.windriver.com> wrote:So I add this patch https://git.openembedded.org/openembedded-core/commit/?id=406a72a9a47c2735b7e18cefc682b1df00d5a9aa to remove the lock file in rootfs. Since for dnf-native, it will not have reboot process, so it is better to remove it at post process of rootfs, to make an clean rootfs.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.
Hi, Alex
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.
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.
Regards
Sandy
Alex