112 Commits

Author SHA1 Message Date
wangyuhang
606b0c6c92 actually check authenticated flag of SOA transaction in resolved
(cherry picked from commit 1d960676d7f00f769a01a8d5deb9f5c96117b584)
2023-12-27 17:41:50 +08:00
xujing
3385b67375 fix /boot unmounted issue when the device is suspended during boot time
(cherry picked from commit 919736f2fa4e781e0756ab50709a74f447d43742)
2023-12-21 14:24:43 +08:00
hongjinghao
57a6d23c09 sync patches from systemd community 2023-12-18 20:15:17 +08:00
h30032433
6109ccfff3 sync patches from systemd community 2023-12-18 16:49:22 +08:00
hongjinghao
e165bae3ed sync patches from systemd community
(cherry picked from commit 4743d4dcf49acc4a4e7243fb238259b085bac5cd)
2023-12-12 20:52:58 +08:00
beta
bde93fb154 enable libcryptsetup
Signed-off-by: beta <beta@yfqm.date>
(cherry picked from commit 83367452942d6ef5601967c8b02c21694b0c5479)
2023-11-30 10:30:30 +08:00
zhangyao
fd2ea78b1f change the permission on vhost-net and vhost-vsock to 0660
(cherry picked from commit 8364ef56fdb58476c54966233498acde2ff0d96b)
2023-11-08 08:57:59 +08:00
wangyuhang
a4f95d3244 sync patch from systemd community
(cherry picked from commit 88369f234ec01b60fb047caf87b90ef10a92b0db)
2023-10-10 10:04:24 +08:00
Xin Shi
9ec39d0745 add embedded directory and add some features for embedded
Signed-off-by: Xin Shi <shixin21@huawei.com>
(cherry picked from commit decc956d9cea842432cea9e6d6f03e520b9b9414)
2023-10-10 10:04:24 +08:00
wangyuhang
97183d85bc add a new switch to control whether udev complies with the new SAT standards and add sense_data.py to check if the device meets the new SAT standards
(cherry picked from commit 1c54691e8fc8b710d9a35c3ee116a5fb40fccb08)
2023-08-17 15:28:44 +08:00
wangyuhang
5304d4b4cc backport: sync patches from systemd community; Fix compilation failure with - O0 option
(cherry picked from commit 112d69b7c80bafc341b94dbc98d8efd8c288f7a3)
2023-08-15 15:49:45 +08:00
hongjinghao
abdfb84164 backport: sync patches from systemd community
(cherry picked from commit 7f3bf53e4ce37e8fd286ede4ca0298aeb9ca217a)
2023-06-19 10:04:40 +08:00
licunlong
802409f315 set the cpuset.cpus/mems of machine.slice to all by default
(cherry picked from commit 1b3f200d74aafbdb040d7743faf1f29157684554)
2023-06-08 21:13:08 +08:00
chenjiayi
41dab2120f backport upstream patches to fix event loss when the whole disk is locked
(cherry picked from commit 0caaa4d46c7fbd226e6744d073cbeeff55ef5a15)
2023-06-03 15:09:45 +08:00
hongjinghao
72a9f049f9 sync patches from systemd community
(cherry picked from commit c44c51876221d348de31cc94cbbc0a70e67a4b46)
2023-04-10 16:04:13 +08:00
wangyuhang
32a48bff7a fix symlinks to NVMe drives are missing in /dev/disk/by-path
(cherry picked from commit 742541c954a9e6697656c322de2bcfdcaeafa57d)
2023-03-08 16:51:07 +08:00
hongjinghao
01effbba76 backport patches from upstream and add patches
(cherry picked from commit 7408966ed3f90de3a489251c9a5db9c0e6a884c9)
2023-03-06 14:56:02 +08:00
yangmingtaip
b661183446 delete unused patch files
(cherry picked from commit 0b021eef15e6fc50b960560f18520e9d3fb24720)
2023-01-19 11:25:15 +08:00
yangmingtaip
7782a47665 backport patches from upstream and add patchs to enhance compatibility and features
(cherry picked from commit c6e3325c5fc233470f4e4292f88eea8c7923de13)
2023-01-16 10:02:00 +08:00
h30032433
486ec00d6e fix CVE-2022-4415
(cherry picked from commit 37cc3c3e20a5f1f781a88939e652433a8ed4a003)
2022-12-29 15:05:17 +08:00
yangmingtaip
84b5b007f6 adjust the patch serial number
(cherry picked from commit 4a6f88035f5a69b86ec2f97a6a86725330b8b1dc)
2022-12-19 15:10:59 +08:00
Jingyun Hua
0f4579b6de Add loongarch for missing_syscall_def.h
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 1ffb1c39642ec93a0e82461bb8626154fde7215f)
2022-12-16 17:26:27 +08:00
yangmingtaip
df1ebd8e15 optimize some configurations
(cherry picked from commit df0337e3ee5b07b01a8b4f5e03e5c7747b55610c)
2022-11-23 21:32:31 +08:00
Jingyun Hua
25dc59a6f9 Add support loongarch
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 8fb214d16efb1fe37466a6560dbf5e352ed5d211)
2022-11-18 16:44:38 +08:00
yangmingtaip
3ebb2cbef3 fix CVE-2022-3821
(cherry picked from commit 4f0bd04bd2854ed0977738b537026efc9bdba535)
2022-11-08 10:20:44 +08:00
wzx
ed4a1c8b67 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
(cherry picked from commit 06e47522002f17c287b0be1c32dbda5a7ab68df0)
2022-11-02 09:25:31 +08:00
wangyuhang
5c8a153c39 sync systemd-stable-249 patches from systemd community
(cherry picked from commit 86ae43bc23afb68dc6c6b13b147e4e64a2d34077)
2022-10-24 20:34:42 +08:00
yangmingtaip
d96d090929 change default ntp server and correct the default value of RuntimeDirectoryInodesMax 2022-09-29 23:20:59 +08:00
yangmingtaip
736318e0a0 delete the initrd-usr-fs.target
(cherry picked from commit aa71245fd278d7d9575fd8dae4b05901516c847e)
2022-09-19 10:18:07 +08:00
xujing
f28a7c9384 revert units: add ProtectClock=yes
(cherry picked from commit d9587130ebdfb353de6f428ee69b9826b5ee0f03)
2022-09-14 15:42:33 +08:00
Wenchao Hao
f79ea83559 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>
(cherry picked from commit f00f2837773fbfcd0f776506372ef39ff1da8e91)
2022-09-14 15:10:53 +08:00
hongjinghao
2b6a69fb12 1. Don't set AlternativeNamesPolicy by default
2. fix systemd-journald coredump

(cherry picked from commit 259c820eff4c1cacdb5e5ecfe2fa6f0ff6039c21)
2022-09-01 19:16:31 +08:00
zhangyao
f813977a8e don't preset systemd-timesyncd when install systemd-udev
(cherry picked from commit d4bdd938ccfbe9dce345873973f8dc616eb005b2)
2022-06-25 10:55:15 +08:00
zhangyao
002705dcf0 Avoid /tmp beging mounted as tmpfs without the user's will
(cherry picked from commit 389bc14c7517592e57b3f306d93b5ccc2741ef7a)
2022-06-22 10:10:20 +08:00
wangyuhang
45d8d33723 fix build fail on meson-0.6
1. delete invalid meson build option
2. meson.build: change operator combining bools from + to and

(cherry picked from commit d58efaa4faa3e34500b7c0e25b5864338569a499)
2022-06-21 17:17:04 +08:00
wangyuhang
d8538c8dbc revert rpm: restart services in %posttrans
(cherry picked from commit 33ece06c2d2797cfc3145d1fae3cb0852d7b5519)
2022-06-17 15:23:28 +08:00
licunlong
3085980e47 move udev{rules, hwdb, program} to systemd-udev 2022-06-01 16:31:20 +08:00
xujing
508c356c2d rename patches name and use patch from upstream
(cherry picked from commit 68e94e5447622114ee014d8d62ecad65aa6254b9)
2022-04-18 19:27:21 +08:00
xujing
bbd18527a4 core: skip change device to dead in manager_catchup duringbooting
(cherry picked from commit 86b34218137b14fa6eeb1fd12e0f0f464e528815)
2022-04-13 16:22:24 +08:00
xujing
aea34ef4d5 print the real reason for link update
(cherry picked from commit 18658f18e3f08121f506ec0ba4127ed03a9c25e7)
2022-04-12 17:29:46 +08:00
xujing
40bfa0d8dc check whether command_prev is null before assigning value
(cherry picked from commit 772acaddacf0045c6a0459244e5c8f9572591a45)
2022-04-12 15:50:18 +08:00
xujing
b8a5de681d systemd: solve that rsyslog reads journal's object of size 0
(cherry picked from commit 0b7d53a49b53e581d6f936dc4125bb3e7eef7759)
2022-04-12 14:45:56 +08:00
xujing
50a1a75eec disable initialize_clock
(cherry picked from commit ea9bfe0ce9d84e07fd0d1c213ed294a3d9395d07)
2022-04-12 09:04:56 +08:00
xujing
85e9c969b7 fix name of option: RuntimeDirectoryInodes
(cherry picked from commit 90abbbdbce04a1a510ea509376536df58b2f5a46)
2022-04-08 16:48:46 +08:00
w30023233
e784d219ea 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:38 +08:00
xujing
e10e4dfb95 set urlify to be disabled by default
(cherry picked from commit 9f01e630a91bb3acf70f9d769752d5ce9316b670)
2022-04-06 10:50:49 +08:00
xujing
85980b9e63 set DEFAULT_TASKS_MAX to 80% and set mode to release
(cherry picked from commit 43e5fa840aff2b1d1495b0e4b8e5d6824578e4ef)
2022-04-01 17:18:44 +08:00
xujing
b470a2cb7d 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:30 +08:00
yangmingtaip
c1c425b006 fix systemctl reload systemd-udevd failed
(cherry picked from commit f0ee1ce0db24d8d10f4f27afd955fb2054bef2ba)
2022-03-29 09:28:00 +08:00
xujing
1ae3ef8f50 pid1 bump DefaultTasksMax to 80% of the kernel pid.max value
(cherry picked from commit ab4aee71d67f643ed3d275ad906a1fe5d783a025)
2022-03-28 20:06:17 +08:00