w30023233
9aab60fdba
sync patches from systemd community
2024-12-24 16:16:41 +08:00
zhangyao
4ba4c49594
systemd-fstab-generator print logs only to kmsg
...
(cherry picked from commit 2c6fac999817e3973f67d50081f6f7de5989eac2)
2024-12-23 17:51:25 +08:00
zhangyao
64ae0f0c7d
Fix the varlink connection is disconnected when systemd upgrade
2024-12-13 11:14:02 +08: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
yixiangzhike
d0baee7661
fix the systemctl disable cannot delete residual symlink after the unit is deleted
2024-12-12 10:26:12 +08:00
肖在
f0b7bd83b2
fix memory leak in cryptsetup-generator.c
2024-12-10 14:22:52 +08:00
不吃香菜联盟
8c157f3b45
fix systemd-logind.service failed
...
Signed-off-by: 不吃香菜联盟 <niuwanli@cqsoftware.com.cn>
2024-12-09 21:31:43 +08:00
肖在
ee27ae4009
fix memory leak in repart
2024-12-09 20:45:29 +08: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
h30032433
c26f3c54d3
escape spaces during serialization
2024-12-09 15:42:51 +08:00
xujing
ba1f969e3d
pid1: add env var to override default mount rate limit interval
2024-11-11 21:35:44 +08:00
hanjinpeng
57dee42bf9
systemctl: fix printing of RootImageOptions
...
(cherry picked from commit 426002625d6bba31a0cf6925c4c85075122c51ab)
2024-11-07 19:05:09 +08:00
xujing
6887b91844
mount: optimize mountinfo traversal by decoupling device discovery
2024-11-05 21:07:06 +08: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
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
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
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
w30023233
ea52d82e1d
extract systemd-cryptsetup
2024-06-13 20:37:42 +08:00
dufuhang
76f4ff9be8
main: pass the right error variable
2024-05-21 17:03:17 +08:00
hanjinpeng
d8914bfc58
fix log message print not match when glob patterns passed to disable service
2024-05-16 12:11:13 +08:00
hanjinpeng
bee8d8c7a0
bash completion add systemctl service-log-level/target
2024-05-09 20:55:40 +08:00
hanjinpeng
50b07322ee
sync patches from systemd community
2024-05-08 16:58:23 +08:00
h30032433
dc60336942
sync patches from systemd community
...
(cherry picked from commit fd4fd656a4729f1a2b273e6836b3663591144af7)
2024-04-29 17:32:34 +08:00
hanjinpeng
1195b77e83
udevadm allow to override the default log level by environment variable
2024-04-28 13:36:33 +08:00
hanjinpeng
d0e118b2d3
Fix systemd-analyze -q option invalid issue
2024-04-24 17:10:54 +08: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
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
GuoCe
1b2f1bfd18
Update outdated URL
2024-04-12 13:32:59 +08:00
h30032433
6b2a2cf984
sync patches from systemd community
...
(cherry picked from commit dc86afa7d17f12540dfc1b35c8d081d51996415f)
2024-03-27 17:15:53 +08: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
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
huyubiao
5ea7594cde
systemd update to v253
2023-07-24 05:10:36 +08:00
hongjinghao
443db3dc3c
sync patches from systemd community
2023-06-19 11:08:46 +08:00
chenjiayi
1d68f589fa
backport upstream patches to fix event loss when the whole disk is locked
2023-06-11 08:05:32 +08:00
licunlong
8fca0ab1e6
set the cpuset.cpus/mems of machine.slice to all by default
2023-06-08 20:16:11 +08:00
hongjinghao
0bd6b14818
sync patches fromsystemd community
2023-03-22 15:05:56 +08:00