mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
parent
4ed943e97b
commit
0f236e8cd6
@ -1289,6 +1289,10 @@ install_mdadm() {
|
||||
for unit in "${mdadm_units[@]}"; do
|
||||
image_install "${ROOTLIBDIR:?}/$unit"
|
||||
done
|
||||
|
||||
# Disable the mdmonitor service, since it fails if there's no valid email address
|
||||
# configured in /etc/mdadm.conf, which just unnecessarily pollutes the logs
|
||||
"${SYSTEMCTL:?}" mask --root "${initdir:?}" mdmonitor.service || :
|
||||
}
|
||||
|
||||
install_compiled_systemd() {
|
||||
|
@ -1159,10 +1159,6 @@ testcase_mdadm_lvm() {
|
||||
helper_check_device_units
|
||||
}
|
||||
|
||||
# Disable the mdmonitor service, since it fails if there's no valid email address
|
||||
# configured in /etc/mdadm.conf, which just unnecessarily pollutes the logs
|
||||
systemctl list-unit-files mdmonitor.service >/dev/null && systemctl mask --runtime mdmonitor.service
|
||||
|
||||
udevadm settle
|
||||
udevadm control --log-level debug
|
||||
lsblk -a
|
||||
|
Loading…
Reference in New Issue
Block a user