Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51be74a2cb |
2 changed files with 6 additions and 11 deletions
14
mdadm.spec
14
mdadm.spec
|
|
@ -1,7 +1,7 @@
|
|||
Name: mdadm
|
||||
Version: 4.1
|
||||
#define subversion rc2
|
||||
Release: 4%{?subversion:.%{subversion}}%{?dist}
|
||||
Release: 5%{?subversion:.%{subversion}}%{?dist}
|
||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
||||
License: GPLv2+
|
||||
|
|
@ -66,15 +66,9 @@ mkdir -p %{buildroot}/etc/libreport/events.d
|
|||
install -m644 %{SOURCE6} %{buildroot}/etc/libreport/events.d
|
||||
|
||||
%post
|
||||
%systemd_post mdmonitor.service raid-check.{service,timer}
|
||||
%systemd_post mdmonitor.service raid-check.timer
|
||||
%{_bindir}/systemctl disable mdmonitor-takeover.service >/dev/null 2>&1 || :
|
||||
|
||||
# If there is any cron daemon configured, enable the systemd timer to avoid
|
||||
# breaking the configuration silently when upgrading from 4.1-rc2.0.2 or
|
||||
# earlier versions
|
||||
%triggerin -- mdadm < 4.1-rc2.0.2
|
||||
[ -e %{_sysconfdir}/crontab -o -e %{_sysconfdir}/anacrontab -o -e %{_sysconfdir}/fcrontab ] && %{_bindir}/systemctl enable raid-check.timer &>/dev/null || :
|
||||
|
||||
%preun
|
||||
%systemd_preun mdmonitor.service raid-check.timer
|
||||
|
||||
|
|
@ -95,6 +89,10 @@ install -m644 %{SOURCE6} %{buildroot}/etc/libreport/events.d
|
|||
/etc/libreport/events.d/*
|
||||
|
||||
%changelog
|
||||
* Wed May 27 2020 Xiao Ni <xni@redhat.com> - 4.1-5
|
||||
- Don't enable raid-check.service to avoid raid check after every boot
|
||||
- Resolves bz1840519
|
||||
|
||||
* Sun Mar 08 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1-4
|
||||
- Fix install location of udev rules (rhbz 1809117)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,3 @@ Description=RAID setup health check
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/raid-check
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue