On Fri, 15 Mar 2024 at 02:43, Changqing Li wrote:
> This issue only happened when dnf log rotate is happened. maybe install
> "a lot" packages can trigger reproduce this issue more quickly.
Maybe logrotate threshold can as well be adjusted to happen on small,
easily reproducible installations?
On 3/7/24 19:42, Alexander Kanavin wrote:
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 Thu, 7 Mar 2024 at 11:21, Chen Qi via lists.openembedded.org
wrote:
You can see
bedded.org
> Subject: Re: [OE-core] [PATCH V2] dnf: remove log_lock.pid before exit
>
> On Thu, 7 Mar 2024 at 11:21, Chen Qi via lists.openembedded.org
> wrote:
> > You can see dnf's solution is: https://github.com/rpm-software-
> management/dnf/blob/master/etc/tmpfiles.d
On Thu, 7 Mar 2024 at 11:21, Chen Qi via lists.openembedded.org
wrote:
> You can see dnf's solution is:
> https://github.com/rpm-software-management/dnf/blob/master/etc/tmpfiles.d/dnf.conf
>
> I don't think dnf community will look into this issue. And I would expect it
> to be a complicated
-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH V2] dnf: remove log_lock.pid before exit
On Thu, 7 Mar 2024 at 10:19, Changqing Li
wrote:
> ++for arg in args:
> ++if arg.startswith("--installroot="):
> ++ro
On Thu, 7 Mar 2024 at 10:19, Changqing Li
wrote:
> ++for arg in args:
> ++if arg.startswith("--installroot="):
> ++root=arg.split("=")[1]
> ++if os.path.exists(os.path.join(root, "log_lock.pid")):
> ++
On Thu, 7 Mar 2024 at 10:19, Changqing Li
wrote:
> +Upstream-Status: Inappropriate [oe specific workaround]
You *just* said you will send this upstream as requested. Why is it
suddenly Inappropriate?
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply
From: Changqing Li
dnf has a bug, refer [1], it causes that log_lock.pid may not removed
after dnf exit. And for native dnf, since we change the lock file path
to /, it will never be removed, and make the rootfs not clean,refer
[2][3]. This patch is a workaround to fix above issue.
[1]