91 Commits

Author SHA1 Message Date
wzx
32e150ecbc Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
(cherry picked from commit 06e47522002f17c287b0be1c32dbda5a7ab68df0)
2022-11-07 16:51:20 +08:00
wangyuhang
80bb4f7896 sync systemd-stable-249 patches from systemd community 2022-10-11 09:32:44 +08:00
Mingtai
3277399481
fix the patch serial number
Signed-off-by: Mingtai <yangmingtai@huawei.com>
2022-09-30 01:30:42 +00:00
yangmingtaip
fe34b7af11 change default ntp server and correct the default value of RuntimeDirectoryInodesMax 2022-09-29 23:28:17 +08:00
yangmingtaip
f857ced99a delete the initrd-usr-fs.target 2022-09-16 18:38:18 +08:00
xujing
9c793a2df9 revert units: add ProtectClock=yes 2022-09-14 15:23:20 +08:00
Wenchao Hao
77c27e8d74 scsi_id: retry inquiry ioctl if host_byte is DID_TRANSPORT_DISRUPTED
The inquiry is issued to kernel via ioctl, kernelspace would set
this inquiry command's retry count to 0 which means the command
would not be retried in kernel space even if the LLDs returned
a status which need to be retried. So we should take the retry
in user space.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
2022-09-02 17:13:54 +08:00
hongjinghao
f7471c8480 1. Don't set AlternativeNamesPolicy by default
2. fix systemd-journald coredump
2022-09-01 15:18:30 +08:00
Keqian Zhu
c7b06e7825 core: replace slice dependencies as they get added
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
(cherry picked from commit 21edb615f1543c29d6a03e26e08b6af283f5d3bf)
2022-08-19 11:37:34 +08:00
zhangyao
78bbe175eb don't preset systemd-timesyncd when install systemd-udev
(cherry picked from commit d4bdd938ccfbe9dce345873973f8dc616eb005b2)
2022-06-25 10:55:11 +08:00
zhangyao
26db7ed93e Avoid /tmp beging mounted as tmpfs without the user's will
(cherry picked from commit 389bc14c7517592e57b3f306d93b5ccc2741ef7a)
2022-06-22 10:10:28 +08:00
wangyuhang
d58efaa4fa fix build fail on meson-0.6
1. delete invalid meson build option
2. meson.build: change operator combining bools from + to and
2022-06-21 15:50:25 +08:00
wangyuhang
c25028a29f revert rpm: restart services in %posttrans
(cherry picked from commit 33ece06c2d2797cfc3145d1fae3cb0852d7b5519)
2022-06-17 15:23:25 +08:00
licunlong
83c23b73ab move udev{rules, hwdb, program} to systemd-udev
(cherry picked from commit 3085980e47500a448cb591c6ef6d66fc6ac1f540)
2022-06-07 09:13:14 +08:00
xujing
479574bc00 rename patches name and use patch from upstream
(cherry picked from commit 68e94e5447622114ee014d8d62ecad65aa6254b9)
2022-04-18 19:27:18 +08:00
xujing
cc2df88471 core: skip change device to dead in manager_catchup duringbooting
(cherry picked from commit 86b34218137b14fa6eeb1fd12e0f0f464e528815)
2022-04-13 16:22:20 +08:00
xujing
d5bc38ae27 print the real reason for link update
(cherry picked from commit 18658f18e3f08121f506ec0ba4127ed03a9c25e7)
2022-04-12 17:29:43 +08:00
xujing
2d45d074e0 check whether command_prev is null before assigning value
(cherry picked from commit 772acaddacf0045c6a0459244e5c8f9572591a45)
2022-04-12 15:50:15 +08:00
xujing
29b6370261 systemd: solve that rsyslog reads journal's object of size 0
(cherry picked from commit 0b7d53a49b53e581d6f936dc4125bb3e7eef7759)
2022-04-12 14:45:53 +08:00
xujing
9ac3b166b8 disable initialize_clock
(cherry picked from commit ea9bfe0ce9d84e07fd0d1c213ed294a3d9395d07)
2022-04-12 09:04:53 +08:00
xujing
015f10ecc6 fix name of option: RuntimeDirectoryInodes
(cherry picked from commit 90abbbdbce04a1a510ea509376536df58b2f5a46)
2022-04-08 16:29:06 +08:00
w30023233
7a536ac382 set dnssec to be allow-downgrade by default
set mdns to be yes by default
set llmnr to be yes by default

(cherry picked from commit f665e6905954d6727a3f433b866e35e1ddfbfb9e)
2022-04-08 15:14:34 +08:00
xujing
0f40fea4da set urlify to be disabled by default
(cherry picked from commit 9f01e630a91bb3acf70f9d769752d5ce9316b670)
2022-04-06 10:50:44 +08:00
xujing
6190abd9bb set DEFAULT_TASKS_MAX to 80% and set mode to release
(cherry picked from commit 43e5fa840aff2b1d1495b0e4b8e5d6824578e4ef)
2022-04-01 17:18:40 +08:00
xujing
826fd825d6 sync and backport some patches
systemd-journald: Fix journal file descriptors leak problems.
systemd: Activation service must be restarted when it is already started and re-actived by dbus
systemd-core: fix problem of dbus service can not be started
systemd-core: Delay to restart when a service can not be auto-restarted when there is one STOP_JOB for the service
core: fix SIGABRT on empty exec command argv
journalctl: never fail at flushing when the flushed flag is set
timesync: fix wrong type for receiving timestamp in nanoseconds
udev: fix potential memleak
(cherry picked from commit d0907552a565ed01a4f9da4dd27168b3726f9236)
2022-03-30 10:15:27 +08:00
yangmingtaip
3c03224757 fix systemctl reload systemd-udevd failed
(cherry picked from commit f0ee1ce0db24d8d10f4f27afd955fb2054bef2ba)
2022-03-29 09:27:56 +08:00
xujing
7ad7761bf6 pid1 bump DefaultTasksMax to 80% of the kernel pid.max value
(cherry picked from commit ab4aee71d67f643ed3d275ad906a1fe5d783a025)
2022-03-28 20:06:14 +08:00
xujing
a02b2eef9c allow more inodes in /dev and /tmp
(cherry picked from commit fe3edac4ef60ea93e78641807015438778afc83c)
2022-03-28 20:06:14 +08:00
yangmingtaip
e5114a8434 disable some features
(cherry picked from commit 0dbc752f8ce2c172fbcd8654997f0f6dbc079fe6)
2022-03-16 13:14:15 +08:00
xujing
bdfb2a8bf6 core: use empty_to_root for cgroup path in log messages
(cherry picked from commit f07f449f204cffc2df75b02fd4dbfe2ea3b0e6a8)
2022-03-11 19:25:48 +08:00
yangmingtaip
1ef3dc77b2 revert :core map io.bfq.weight to 1..1000
(cherry picked from commit 8f64623fae838468c9092f6762bdf915b3b70165)
2022-03-01 21:16:02 +08:00
duyiwei
683d1a2bdf update systemd.spec——change %systemd_requires to %{?systemd_requires} 2022-03-01 14:16:03 +08:00
xujing
9ea0b345d4 temporarily disable test-seccomp and ensure some features disabled
(cherry picked from commit 97b97a9994762afb7f595ba90d30aa0507f14cb9)
2022-02-22 21:17:45 +08:00
yangmingtaip
aaaa0de636 delete udev-compat 2022-02-21 17:03:45 +08:00
yangmingtaip
095a679a9e nop_job of a unit must also be coldpluged after deserization 2022-02-15 22:15:10 +08:00
yangmingtaip
b4c5569ed4 fix CVE-2021-3997 and CVE-2021-33910 2022-02-15 22:14:51 +08:00
yangmingtaip
d80fce2655 backport patchs to fix issues 2022-02-15 22:14:06 +08:00
yangmingtaip
7bdbe85795 do not make systemd-cpredump sub packages 2022-02-15 22:12:49 +08:00
yangmingtaip
8daeb154d7 delete useless Provides and Obsoletes 2022-02-15 22:04:53 +08:00
yangmingtaip
7ece4f0aac update systemd to v249 2022-02-15 22:04:20 +08:00
licunlong
6082df2d70 fix typo, disable not denable 2021-12-28 20:11:35 +08:00
licunlong
7cd4e9fd77 disable systemd-{timesyncd, networkd, resolved, homed, userdbd, pstore} by default 2021-12-17 11:18:22 +08:00
ExtinctFire
2c3578ff30 core: fix free undefined pointer when strdup failed in the first loop
Signed-off-by: ExtinctFire <shenyining_00@126.com>
2021-09-16 16:12:40 +08:00
yangmingtaip
a633153091 move postun to correct position 2021-09-06 14:28:54 +08:00
yangmingtaip
e4efce343f delete rpath 2021-09-04 15:55:05 +08:00
yangmingtaip
fc0f7be01d enable some patchs and delete unused patchs 2021-08-30 21:24:22 +08:00
xujing
c71a32fbb3 enable some patches to fix bugs 2021-08-26 14:58:47 +08:00
yangmingtaip
5d307241f5 udev: exec daemon-reload after installation 2021-08-16 02:56:15 +00:00
yangmingtaip
62e83cce68 fix CVE-2021-33910 2021-07-22 20:35:51 +08:00
Yangyang Shen
dcdd38bc28 change requires to openssl-libs as post scripts systemctl requires libssl.so.1.1 2021-06-03 00:34:11 +08:00