zhangyao
52f022d0a8
actually check authenticated flag of SOA transaction in resolved
...
(cherry picked from commit 6c7d63db50238019d89b638f92f433fa95358084)
2025-04-28 14:14:08 +08:00
hugel
b5c7c93df8
sync patch from systemd community
...
(cherry picked from commit 4bc7986ea6dac24cd30932f6ba14529d330feef0)
2025-04-18 14:40:18 +08:00
hanjinpeng
1c4faca247
fix patch number position and changelog date error
...
(cherry picked from commit 9fffa5a3d87fa876967e8ce066cdf04969d69e9f)
2025-04-14 16:42:29 +08:00
Hailiang
c63fdd0d24
update sw_64 patch
2025-03-25 13:10:56 +08:00
h30032433
00f7293514
delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array
...
(cherry picked from commit f289458f7e41d63795ebf8c62e425d1a7e838783)
2025-01-09 20:57:06 +08:00
fly_fzc
8585800b78
systemd-logind button_dispatch add log to display devices that triggered the button
...
(cherry picked from commit ccb23ad9fbd090bd3f6487e5816ae6d42d9ad9cd)
2025-01-03 10:26:56 +08:00
w30023233
aeadbda562
sync patches from systemd community
2024-12-24 16:17:21 +08:00
zhangyao
2c6fac9998
systemd-fstab-generator print logs only to kmsg
2024-12-23 16:20:51 +08:00
zhangyao
fc90562681
Fix the varlink connection is disconnected when systemd upgrade
...
(cherry picked from commit 64ae0f0c7d703b792bb8ea4e917f5e1ede086704)
2024-12-19 14:56:15 +08:00
zhangyao
2e0336061f
backport upstream patch to solve systemd-shutdown hang all the time caused by fsync blocked by absence of DM mapping table
...
(cherry picked from commit ca995e3d453af4d2c88093f3e98d030ec59d6d07)
2024-12-13 09:21:00 +08:00
yixiangzhike
7d7aadd8ac
fix the systemctl disable cannot delete residual symlink after the unit is deleted
...
(cherry picked from commit d0baee766145d391b7fd017f055519db087eab75)
2024-12-12 16:28:11 +08:00
肖在
1566b11ba8
fix memory leak in cryptsetup-generator.c
2024-12-10 14:23:42 +08:00
不吃香菜联盟
d0af19615e
fix systemd-logind.service failed
...
Signed-off-by: 不吃香菜联盟 <niuwanli@cqsoftware.com.cn>
2024-12-09 21:38:03 +08:00
肖在
1e48b99fca
fix memory leak in repart
2024-12-09 20:44:31 +08:00
zhangyao
6f3edf5802
network networkd address does not set up firewall rules
...
(cherry picked from commit 62bb9204099329e4e2362084f60884613f6e3a4f)
2024-12-09 18:05:54 +08:00
h30032433
3ff944624c
escape spaces during serialization
2024-12-09 15:46:05 +08:00
xujing
39ee48a0f8
pid1: add env var to override default mount rate limit interval
...
(cherry picked from commit ba1f969e3d261da60e85338a394a3607e0a205a4)
2024-11-12 21:34:03 +08:00
hanjinpeng
5a1e73b638
systemctl: fix printing of RootImageOptions
...
(cherry picked from commit 426002625d6bba31a0cf6925c4c85075122c51ab)
2024-11-07 19:05:12 +08:00
xujing
2b45f712d7
mount: optimize mountinfo traversal by decoupling device discovery
...
(cherry picked from commit 6887b918443912bf1c901ac4f530ff93b1d77eb8)
2024-11-07 09:28:43 +08:00
xujing
2b312b44c0
cgroup: fix cgroup v2 cpuset function error and optimize the code of cpuset and freezer
...
(cherry picked from commit b6d240c672f4ac0327394f4d5e9c9b15d2e7cc1e)
2024-09-23 16:20:41 +08:00
h30032433
ddf911b10b
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:56 +08:00
hanjinpeng
a44311428a
cgtop: fix sscanf return code checks
...
sscanf can return EOF on error, so check that we get a result instead.
2024-07-26 14:08:00 +08:00
dufuhang
3a390e6003
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
(cherry picked from commit 3def181809e3239522241442f1b8a99b34961d81)
2024-07-18 16:29:57 +08:00
w30023233
4ffa47c87c
extract systemd-cryptsetup
...
(cherry picked from commit ea52d82e1d06267a79e171207061df1d44b2c23d)
2024-06-14 09:39:51 +08:00
dufuhang
ad931e3577
main: pass the right error variable
...
(cherry picked from commit 76f4ff9be85e57b0ca9b6e782a79740623c31571)
2024-05-22 17:56:30 +08:00
hanjinpeng
d425e27396
fix log message print not match when glob patterns passed to disable service
...
(cherry picked from commit d8914bfc58b92818f088396d41e22c63ef6e59bd)
2024-05-21 10:36:48 +08:00
hanjinpeng
1d5153e037
bash completion add systemctl service-log-level/target
...
(cherry picked from commit bee8d8c7a056dd4bfed2a1e7ade1586763523be0)
2024-05-13 19:04:04 +08:00
hanjinpeng
efb4998ba2
sync patches from systemd community
...
(cherry picked from commit 50b07322eec409d406c809c1984c0c15eb614390)
2024-05-09 17:44:46 +08:00
h30032433
480d22e3c0
sync patches from systemd community
...
(cherry picked from commit fd4fd656a4729f1a2b273e6836b3663591144af7)
2024-04-29 17:32:38 +08:00
hanjinpeng
88b5193f73
udevadm allow to override the default log level by environment variable
...
(cherry picked from commit 1195b77e8381047f821da184e15a778c3c48af4d)
2024-04-29 14:12:59 +08:00
hanjinpeng
37249df4ab
Fix systemd-analyze -q option invalid issue
2024-04-28 11:57:16 +08:00
hanjinpeng
4d8160b22f
Fix warning for file not found during rpm packaging
2024-04-19 21:13:10 +08:00
huyubiao
df90da6e58
fix CVE-2023-50387 and CVE-2023-50868
2024-04-17 16:19:07 +08:00
GuoCe
0ace029dcb
Update outdated URL
...
(cherry picked from commit 1b2f1bfd1866ecc86ea8fecfcc7e46eac05a66db)
2024-04-12 14:21:54 +08:00
h30032433
7796258521
sync patches from systemd community
...
(cherry picked from commit dc86afa7d17f12540dfc1b35c8d081d51996415f)
2024-03-27 17:16:28 +08:00
h30032433
128d0b3b52
switch systemd back to cgroup v1 to prevent the docker.service startup failure
...
(cherry picked from commit b312404196accbf4cb5b228b4efebfd688c9c2f1)
2024-03-19 19:53:25 +08:00
h30032433
af35d8ee94
move the architecture patches after Patch9800 (excluding Patch9800)
2024-03-04 11:09:39 +08:00
licunlong
29abb4e1c3
fix the compilation warning caused by misusing const
2024-02-29 20:23:25 +08:00
h30032433
ef8501e789
add cpuset-cgv1 and freezer-cgv1 macros, add missing sw_64 macro
2024-02-28 10:50:08 +08:00
h30032433
de01380543
allow underscore in hostname
2024-02-19 14:31:45 +08:00
huyubiao
3aab45c265
update systemd to v255
2024-01-29 09:50:22 +08:00
wangyuhang
606367f948
actually check authenticated flag of SOA transaction in resolved
2023-12-28 15:49:56 +08:00
xujing
d5159b38a1
fix /boot unmounted issue when the device is suspended during boot time
2023-12-21 14:19:57 +08:00
h30032433
f097b1feb4
sync patches from systemd community
2023-12-18 17:29:00 +08:00
hongjinghao
48cf301819
sync patches from systemd community
2023-12-12 19:19:08 +08:00
jiahua.yu
e5316e0a8d
Init support for ppc64le
2023-12-04 10:02:26 +08:00
hongjinghao
6f1ea72415
journal: don't enable systemd-journald-audit.socket
2023-09-15 17:13:54 +08:00
wangyuhang
caecdd36fc
add a new switch to control whether udev complies with the new SAT standards; add sense_data.py to check if the device meets the new SAT standards; fix compilation failure with - O0 option
2023-08-17 17:11:08 +08:00
h30032433
d86e446005
sync the patch from v249
2023-07-27 00:50:15 +08:00
h30032433
a02052f289
fix the dynamic library cannot be found
2023-07-29 11:13:34 +08:00