肖在
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
openeuler-ci-bot
d4c822cb05
!654 添加systemctl的service-log-level/target命令的自动提示补全
...
From: @protkhn
Reviewed-by: @dillon_chen, @linfong
Signed-off-by: @dillon_chen, @linfong
2024-05-13 09:12:23 +00:00
hanjinpeng
bee8d8c7a0
bash completion add systemctl service-log-level/target
2024-05-09 20:55:40 +08:00
openeuler-ci-bot
24a8665530
!651 同步systemd上游社区补丁
...
From: @protkhn
Reviewed-by: @xujing99
Signed-off-by: @xujing99
2024-05-09 09:33:28 +00:00
hanjinpeng
50b07322ee
sync patches from systemd community
2024-05-08 16:58:23 +08:00
openeuler-ci-bot
da34860a97
!648 [sync] PR-645: 同步上游社区补丁
...
From: @openeuler-sync-bot
Reviewed-by: @licunlong
Signed-off-by: @licunlong
2024-04-29 10:33:54 +00:00
h30032433
dc60336942
sync patches from systemd community
...
(cherry picked from commit fd4fd656a4729f1a2b273e6836b3663591144af7)
2024-04-29 17:32:34 +08:00
openeuler-ci-bot
72c95c48ae
!636 修复使用环境变量无法修改udevadm test-builtin命令的默认日志级别问题
...
From: @protkhn
Reviewed-by: @xujing99
Signed-off-by: @xujing99
2024-04-29 06:12:32 +00:00
hanjinpeng
1195b77e83
udevadm allow to override the default log level by environment variable
2024-04-28 13:36:33 +08:00
openeuler-ci-bot
7eb700ff46
!633 修复systemd-analyze -q 命令执行报invalid的错误
...
From: @protkhn
Reviewed-by: @licunlong
Signed-off-by: @licunlong
2024-04-28 02:13:43 +00:00
hanjinpeng
d0e118b2d3
Fix systemd-analyze -q option invalid issue
2024-04-24 17:10:54 +08:00
openeuler-ci-bot
b0c965d0f4
!608 修复systemd在编译后进行rpm打包时候的找不到文件的告警
...
From: @protkhn
Reviewed-by: @licunlong
Signed-off-by: @licunlong
2024-04-19 09:05:14 +00:00
hanjinpeng
db8a44101c
Merge branch 'openEuler-24.03-LTS' of gitee.com:src-openeuler/systemd into openEuler-24.03-LTS
...
Signed-off-by: hanjinpeng <hanjinpeng@kylinos.cn>
2024-04-18 01:25:41 +00:00
openeuler-ci-bot
5f89cf3843
!628 修复 CVE-2023-50387 和 CVE-2023-50868
...
From: @huyubiao
Reviewed-by: @licunlong
Signed-off-by: @licunlong
2024-04-17 12:20:12 +00:00
huyubiao
633eb2deae
fix CVE-2023-50387 and CVE-2023-50868
2024-04-17 16:16:38 +08:00
hanjinpeng
aea86b057a
Fix warning for file not found during rpm packaging
2024-04-17 14:24:44 +08:00
openeuler-ci-bot
2b20884ae6
!599 更新过时的URL
...
From: @no_coke
Reviewed-by: @dillon_chen
Signed-off-by: @dillon_chen
2024-04-12 06:21:41 +00:00
GuoCe
1b2f1bfd18
Update outdated URL
2024-04-12 13:32:59 +08:00
openeuler-ci-bot
a9627ee277
!596 [sync] PR-588: 同步上游社区补丁
...
From: @openeuler-sync-bot
Reviewed-by: @licunlong
Signed-off-by: @licunlong
2024-03-28 03:02:03 +00:00
h30032433
6b2a2cf984
sync patches from systemd community
...
(cherry picked from commit dc86afa7d17f12540dfc1b35c8d081d51996415f)
2024-03-27 17:15:53 +08:00
openeuler-ci-bot
3d4d4de28d
!581 [sync] PR-580: switch systemd back to cgroup v1 to prevent the docker.service startup failure
...
From: @openeuler-sync-bot
Reviewed-by: @overweight
Signed-off-by: @overweight
2024-03-20 01:26:33 +00:00
h30032433
8b3af8b2ac
switch systemd back to cgroup v1 to prevent the docker.service startup failure
...
(cherry picked from commit b312404196accbf4cb5b228b4efebfd688c9c2f1)
2024-03-19 19:53:17 +08:00