Skip to content

Commit

Permalink
Remove mdmonitor service from boot.iso
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bcl committed Nov 2, 2020
1 parent ee2496d commit b07151c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion share/templates.d/99-generic/runtime-cleanup.tmpl
Expand Up @@ -239,7 +239,7 @@ removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum*
removefrom linux-firmware /usr/lib/firmware/dpaa2/*
%endif
removefrom lldpad /etc/*
removefrom mdadm /etc/*
removefrom mdadm /etc/* /usr/lib/systemd/system/mdmonitor*
removefrom mesa-dri-drivers /usr/${libdir}/dri/*_video.so
removefrom mt-st /usr/sbin/*
removefrom mtools /etc/*
Expand Down
2 changes: 0 additions & 2 deletions share/templates.d/99-generic/runtime-postinstall.tmpl
Expand Up @@ -37,8 +37,6 @@ symlink /lib/systemd/system/rngd.service etc/systemd/system/basic.target.wants/r
## Disable unwanted systemd services
systemctl disable systemd-readahead-collect.service \
systemd-readahead-replay.service \
mdmonitor.service \
mdmonitor-takeover.service \
lvm2-monitor.service \
dnf-makecache.timer
## These services can't be disabled normally (they're linked into place in
Expand Down

0 comments on commit b07151c

Please sign in to comment.