Remove mdmonitor service from boot.iso

There's no reason for it to run, it can't notify anyone. But disabling
the service, or masking it, doesn't work so remove the service files
from the rootfs.

Resolves: rhbz#1888730
This commit is contained in:
Brian C. Lane 2020-10-30 12:19:41 -07:00
parent 67d16ebc32
commit 0821641284
2 changed files with 1 additions and 3 deletions

View File

@ -239,7 +239,7 @@ removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum*
removefrom linux-firmware /usr/lib/firmware/dpaa2/* removefrom linux-firmware /usr/lib/firmware/dpaa2/*
%endif %endif
removefrom lldpad /etc/* removefrom lldpad /etc/*
removefrom mdadm /etc/* removefrom mdadm /etc/* /usr/lib/systemd/system/mdmonitor*
removefrom mesa-dri-drivers /usr/${libdir}/dri/*_video.so removefrom mesa-dri-drivers /usr/${libdir}/dri/*_video.so
removefrom mt-st /usr/sbin/* removefrom mt-st /usr/sbin/*
removefrom mtools /etc/* removefrom mtools /etc/*

View File

@ -37,8 +37,6 @@ symlink /lib/systemd/system/rngd.service etc/systemd/system/basic.target.wants/r
## Disable unwanted systemd services ## Disable unwanted systemd services
systemctl disable systemd-readahead-collect.service \ systemctl disable systemd-readahead-collect.service \
systemd-readahead-replay.service \ systemd-readahead-replay.service \
mdmonitor.service \
mdmonitor-takeover.service \
lvm2-monitor.service \ lvm2-monitor.service \
dnf-makecache.timer dnf-makecache.timer
## These services can't be disabled normally (they're linked into place in ## These services can't be disabled normally (they're linked into place in