Changqing Li
319353cd9d
dnf: fix Exception handling for class ProcessLock
Yocto based systems will sometimes have log_lock.pid left in target
filesystems. Users typing 'ls /' will notice it, and will never be
removed.
It happened when log rotate happened, refer [1], since the problem
descripted in patch 0001-lock.py-fix-Exception-handling.patch, file
log_lock.pid will not be removed after dnf exit. For target system,
refer [4], dnf have a solution to remove it. But for OE, refer commit
[2][3], for fix another issue, OE changed log_lock.pid to root dir for
native dnf, so solution in [4] not works for log_lock.pid under "/", so
it will always exist under "/" of target system.
Use patch 0001-lock.py-fix-Exception-handling.patch to fix the problem.
[1] a6d82221ae/dnf/logging.py (L127C31-L127C42)
[2] https://git.openembedded.org/openembedded-core/commit/?id=742a1b71249f4da1c8d8e13e270b0eb6128a3f66
[3] https://git.openembedded.org/openembedded-core/commit/?id=7610f81586bd475f28fd3d89a7350771720c3264
[4] https://github.com/rpm-software-management/dnf/blob/master/etc/tmpfiles.d/dnf.conf
(From OE-Core rev: d86c0e3468504c6ed19e38750abbb8970b5b7691)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-30 22:25:43 +00:00
..
2023-06-01 08:05:11 +01:00
2024-01-21 12:27:12 +00:00
2023-03-06 09:52:16 +00:00
2023-07-19 19:37:38 +01:00
2024-02-24 16:10:23 +00:00
2023-07-30 07:54:44 +01:00
2023-09-22 07:45:17 +01:00
2024-03-07 17:25:02 +00:00
2024-03-01 09:28:51 +00:00
2023-11-05 11:28:35 +00:00
2022-02-20 16:45:25 +00:00
2024-02-08 17:12:54 +00:00
2024-03-01 09:28:51 +00:00
2023-09-26 10:35:28 +01:00
2022-02-20 16:45:25 +00:00
2023-11-30 08:43:04 +00:00
2023-09-22 07:45:17 +01:00
2024-02-03 22:08:26 +00:00
2022-02-20 16:45:25 +00:00
2023-05-05 11:07:25 +01:00
2024-03-30 22:25:43 +00:00
2023-02-26 11:49:00 +00:00
2022-09-28 08:01:10 +01:00
2023-09-03 10:34:20 +01:00
2022-02-20 16:45:25 +00:00
2023-05-22 10:53:48 +01:00
2024-03-20 18:20:38 +00:00
2023-11-30 08:43:04 +00:00
2023-05-22 10:53:49 +01:00
2024-01-10 17:01:28 +00:00
2024-02-08 10:59:06 +00:00
2024-03-19 15:25:12 +00:00
2024-03-23 10:18:20 +00:00
2024-03-05 12:24:49 +00:00
2024-03-18 12:21:45 +00:00
2024-02-06 10:32:19 +00:00
2024-03-18 12:21:45 +00:00
2022-12-22 23:05:50 +00:00
2022-02-20 16:45:25 +00:00
2023-09-22 07:45:17 +01:00
2021-08-02 15:44:10 +01:00
2022-02-20 16:45:25 +00:00
2023-09-26 10:35:27 +01:00
2023-12-02 17:18:57 +00:00
2023-10-19 13:38:57 +01:00
2024-03-07 17:25:02 +00:00
2023-09-02 18:23:05 +01:00
2023-06-16 15:40:10 +01:00
2024-03-07 17:25:02 +00:00
2024-01-19 00:16:41 +00:00
2024-03-22 16:25:08 +00:00
2023-11-30 08:43:03 +00:00
2023-06-27 16:23:40 +01:00
2023-04-27 14:41:31 +01:00
2023-03-11 00:08:41 +00:00
2022-05-27 23:50:48 +01:00
2024-03-18 12:21:45 +00:00
2023-11-23 12:46:42 +00:00
2023-09-26 10:35:27 +01:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2023-07-21 11:52:26 +01:00
2024-02-09 13:55:06 +00:00
2024-01-12 11:54:05 +00:00
2024-03-07 17:25:02 +00:00
2022-02-20 16:45:25 +00:00
2023-08-01 09:51:20 +01:00
2024-03-30 22:22:19 +00:00
2023-12-21 10:38:29 +00:00
2024-03-01 09:28:51 +00:00
2023-08-24 16:50:24 +01:00
2024-02-03 21:43:35 +00:00
2024-03-22 16:27:48 +00:00
2024-03-03 16:25:20 +00:00
2023-05-05 11:07:25 +01:00
2024-03-07 17:25:03 +00:00
2024-02-29 10:26:13 +00:00
2023-07-21 11:52:26 +01:00
2023-05-29 13:32:55 +01:00
2024-03-30 22:22:19 +00:00
2024-03-18 12:21:45 +00:00
2023-06-16 15:40:11 +01:00
2024-02-06 10:32:19 +00:00
2024-01-07 12:24:57 +00:00
2024-03-01 09:28:52 +00:00
2024-02-05 14:06:10 +00:00
2024-01-07 12:24:57 +00:00
2023-09-07 07:53:51 +01:00
2024-03-30 22:22:19 +00:00
2023-05-05 11:07:25 +01:00
2022-12-21 10:16:31 +00:00
2024-03-18 12:21:45 +00:00
2024-03-30 22:22:19 +00:00
2023-08-24 16:50:24 +01:00