300 Commits

Author SHA1 Message Date
openeuler-ci-bot
7e4b362b71
!852 sync patch from systemd community
From: @wangyuhang27 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2025-04-18 06:35:29 +00:00
hugel
4bc7986ea6 sync patch from systemd community 2025-04-18 11:16:50 +08:00
openeuler-ci-bot
57272f6165
!849 [sync] PR-845: 修复补丁序号位置和changelog日期降序问题
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2025-04-15 07:21:03 +00:00
hanjinpeng
8d7142686e fix patch number position and changelog date error
(cherry picked from commit 9fffa5a3d87fa876967e8ce066cdf04969d69e9f)
2025-04-14 16:42:27 +08:00
openeuler-ci-bot
536eb75f8b
!842 [sync] PR-840: update sw_64 patch
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2025-03-28 02:53:40 +00:00
Hailiang
294007e733 update sw_64 patch
(cherry picked from commit c63fdd0d2447368e607a0ae470efa6d6a07d657e)
2025-03-27 15:17:53 +08:00
openeuler-ci-bot
5de891536e
!831 delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array
From: @huyubiao 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2025-01-09 12:56:27 +00:00
h30032433
f289458f7e delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array 2025-01-09 19:07:20 +08:00
openeuler-ci-bot
18c3f3643b
!825 systemd-logind button_dispatch add log to display devices that triggered the button
From: @fly_fzc 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2025-01-03 02:26:51 +00:00
fly_fzc
ccb23ad9fb systemd-logind button_dispatch add log to display devices that triggered the button 2024-12-31 09:21:09 +08:00
openeuler-ci-bot
d26cddac18
!816 sync patches from systemd community
From: @wangyuhang27 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-24 09:09:24 +00:00
w30023233
9aab60fdba sync patches from systemd community 2024-12-24 16:16:41 +08:00
openeuler-ci-bot
faae7c1142
!812 [sync] PR-811: systemd-fstab-generator print logs only to kmsg
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-23 11:06:12 +00:00
zhangyao
4ba4c49594 systemd-fstab-generator print logs only to kmsg
(cherry picked from commit 2c6fac999817e3973f67d50081f6f7de5989eac2)
2024-12-23 17:51:25 +08:00
openeuler-ci-bot
6b3586498d
!803 Fix the varlink connection is disconnected when systemd upgrade
From: @zhang-yao-2022 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-13 03:44:19 +00:00
zhangyao
64ae0f0c7d Fix the varlink connection is disconnected when systemd upgrade 2024-12-13 11:14:02 +08:00
openeuler-ci-bot
2879f3c660
!798 backport upstream patch to solve systemd-shutdown hang all the time caused by fsync blocked by absence of DM mapping table
From: @zhang-yao-2022 
Reviewed-by: @protkhn 
Signed-off-by: @protkhn
2024-12-12 09:00:35 +00:00
zhangyao
ca995e3d45 backport upstream patch to solve systemd-shutdown hang all the time caused by fsync blocked by absence of DM mapping table 2024-12-12 17:04:48 +08:00
openeuler-ci-bot
42d4f7c5de
!797 【openEuler-24.03-LTS】fix the systemctl disable cannot delete residual symlink after the unit is deleted
From: @yixiangzhike 
Reviewed-by: @protkhn 
Signed-off-by: @protkhn
2024-12-12 08:28:05 +00:00
yixiangzhike
d0baee7661 fix the systemctl disable cannot delete residual symlink after the unit is deleted 2024-12-12 10:26:12 +08:00
openeuler-ci-bot
da0244f953
!789 fix memory leak in cryptsetup-generator.c
From: @zhang-yao-2022 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-10 07:13:02 +00:00
肖在
f0b7bd83b2 fix memory leak in cryptsetup-generator.c 2024-12-10 14:22:52 +08:00
openeuler-ci-bot
e7d7cef89a
!786 fix systemd-logind.service failed
From: @zhang-yao-2022 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-10 01:36:47 +00:00
不吃香菜联盟
8c157f3b45 fix systemd-logind.service failed
Signed-off-by: 不吃香菜联盟 <niuwanli@cqsoftware.com.cn>
2024-12-09 21:31:43 +08:00
openeuler-ci-bot
7ee5f786f6
!785 fix memory leak in repart
From: @zhang-yao-2022 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-09 13:22:04 +00:00
肖在
ee27ae4009 fix memory leak in repart 2024-12-09 20:45:29 +08:00
openeuler-ci-bot
47d91adbf5
!781 [sync] PR-779: network networkd address does not set up firewall rules
From: @openeuler-sync-bot 
Reviewed-by: @protkhn 
Signed-off-by: @protkhn
2024-12-09 11:31:47 +00:00
zhangyao
51dcfe02a1 network networkd address does not set up firewall rules
(cherry picked from commit 62bb9204099329e4e2362084f60884613f6e3a4f)
2024-12-09 18:05:51 +08:00
openeuler-ci-bot
827d1dc912
!773 escape spaces during serialization
From: @zhang-yao-2022 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-12-09 08:47:49 +00:00
h30032433
c26f3c54d3 escape spaces during serialization 2024-12-09 15:42:51 +08:00
openeuler-ci-bot
9d5806c327
!748 pid1: add env var to override default mount rate limit interval
From: @xujing99 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
2024-11-12 13:33:56 +00:00
xujing
ba1f969e3d pid1: add env var to override default mount rate limit interval 2024-11-11 21:35:44 +08:00
openeuler-ci-bot
63739f235a
!744 [sync] PR-740: 修复systemctl显示service服务字段参数RootImageOptions问题
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-11-07 11:33:11 +00:00
hanjinpeng
57dee42bf9 systemctl: fix printing of RootImageOptions
(cherry picked from commit 426002625d6bba31a0cf6925c4c85075122c51ab)
2024-11-07 19:05:09 +08:00
openeuler-ci-bot
20c6f9c876
!738 mount: optimize mountinfo traversal by decoupling device discovery
Merge pull request !738 from xujing/openEuler-24.03-LTS
2024-11-07 01:28:36 +00:00
xujing
6887b91844 mount: optimize mountinfo traversal by decoupling device discovery 2024-11-05 21:07:06 +08:00
openeuler-ci-bot
b14d7c2cf8
!724 fix cgroup v2 cpuset function error and optimize the code of cpuset and freezer
From: @xujing99 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
2024-09-23 08:20:38 +00:00
xujing
b6d240c672 cgroup: fix cgroup v2 cpuset function error and optimize the code of cpuset and freezer 2024-09-23 14:56:29 +08:00
openeuler-ci-bot
57d1eab45c
!702 [sync] PR-701: dont create dont-synthesize-nobody when login shell is /sbin/nologin or /usr/sbin/nologin
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-08-16 07:50:06 +00:00
h30032433
3fb451ad0d dont create dont-synthesize-nobody when login shell is /sbin/nologin or /usr/sbin/nologin
(cherry picked from commit ad22ea4e73c16741f302b80a552982dbea9de216)
2024-08-14 11:26:53 +08:00
openeuler-ci-bot
c7e9dc608c
!697 [sync] PR-695: 添加检查sscanf函数的返回值,防止返回值是EOF错误引发问题
From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
2024-08-01 01:39:52 +00:00
hanjinpeng
bb3393e37a cgtop: fix sscanf return code checks
sscanf can return EOF on error, so check that we get a result instead.

(cherry picked from commit a44311428a99003d4d40591cdb023c6d253efd94)
2024-07-31 20:34:19 +08:00
openeuler-ci-bot
caa8b9573c
!682 sd-event: fix fd leak when fd is owned by IO event source
From: @dufuhang 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
2024-07-18 08:26:29 +00:00
dufuhang
3def181809 sd-event: fix fd leak when fd is owned by IO event source
When an IO event source owns relevant fd, replacing with a new fd leaks
the previously assigned fd.
===
sd_event_add_io(event, &s, fd, ...);
sd_event_source_set_io_fd_own(s, true);
sd_event_source_set_io_fd(s, new_fd);  <-- The previous fd is not closed.
sd_event_source_unref(s);  <-- new_fd is closed as expected.
===

Without the change, valgrind reports the leak:
==998589==
==998589== FILE DESCRIPTORS: 4 open (3 std) at exit.
==998589== Open file descriptor 4:
==998589==    at 0x4F119AB: pipe2 (in /usr/lib64/libc.so.6)
==998589==    by 0x408830: test_sd_event_source_set_io_fd (test-event.c:862)
==998589==    by 0x403302: run_test_table (tests.h:171)
==998589==    by 0x408E31: main (test-event.c:935)
==998589==
==998589==
==998589== HEAP SUMMARY:
==998589==     in use at exit: 0 bytes in 0 blocks
==998589==   total heap usage: 33,305 allocs, 33,305 frees, 1,283,581 bytes allocated
==998589==
==998589== All heap blocks were freed -- no leaks are possible
==998589==
==998589== For lists of detected and suppressed errors, rerun with: -s
==998589== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

(cherry picked from commit 2fa4805)
(cherry picked from commit 6d2dd43)
(cherry picked from commit 5f8cf63)

Conflict:test case adaptation
Reference:a4bb56c61a
2024-07-18 15:52:04 +08:00
openeuler-ci-bot
adeb52cd91
!673 extract systemd-cryptsetup
From: @wangyuhang27 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2024-06-14 01:31:19 +00:00
w30023233
ea52d82e1d extract systemd-cryptsetup 2024-06-13 20:37:42 +08:00
openeuler-ci-bot
e85927e290
!662 main: pass the right error variable
From: @dufuhang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-22 09:56:26 +00:00
dufuhang
76f4ff9be8 main: pass the right error variable 2024-05-21 17:03:17 +08:00
openeuler-ci-bot
fd2189b177
!658 修复systemctl disable禁用服务时提示信息却是enable的问题
From: @protkhn 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-21 02:36:43 +00:00
hanjinpeng
d8914bfc58 fix log message print not match when glob patterns passed to disable service 2024-05-16 12:11:13 +08:00