mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
parent
4ed943e97b
commit
0f236e8cd6
|
@ -1289,6 +1289,10 @@ install_mdadm() {
|
||||||
for unit in "${mdadm_units[@]}"; do
|
for unit in "${mdadm_units[@]}"; do
|
||||||
image_install "${ROOTLIBDIR:?}/$unit"
|
image_install "${ROOTLIBDIR:?}/$unit"
|
||||||
done
|
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() {
|
install_compiled_systemd() {
|
||||||
|
|
|
@ -1159,10 +1159,6 @@ testcase_mdadm_lvm() {
|
||||||
helper_check_device_units
|
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 settle
|
||||||
udevadm control --log-level debug
|
udevadm control --log-level debug
|
||||||
lsblk -a
|
lsblk -a
|
||||||
|
|
Loading…
Reference in a new issue