diff --git a/mdadm.spec b/mdadm.spec index 8af769b9e035935675d20ea6a1f744ea0c914d0f..c7ed197804d649ad4693b59faefda42297863572 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,6 +1,6 @@ Name: mdadm Version: 4.1 -Release: rc2.0.6 +Release: rc2.0.7 Summary: The software RAID arrays user manage tools License: GPLv2+ URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ @@ -81,6 +81,12 @@ install -d -m 710 %{buildroot}/var/run/mdadm/ %{_mandir}/man*/* %changelog +* Sun Jan 19 2020 hy - 4.1-rc2.0.7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add the --syslog option while executing mdadm --scan command in mdmonitor.service + * Sat Jan 11 2020 openEuler Buildteam - 4.1-rc2.0.6 - Type:enhancemnet - ID:NA diff --git a/mdmonitor.service b/mdmonitor.service index 7b4149788afc8863554ccebeb82a5779e3531a0a..778be70db6e412bd1a22d1d1e81c95e583c49031 100644 --- a/mdmonitor.service +++ b/mdmonitor.service @@ -12,7 +12,7 @@ DefaultDependencies=no [Service] Type=forking PIDFile=/var/run/mdadm/mdadm.pid -Environment= MDADM_MONITOR_ARGS=--scan +Environment= MDADM_MONITOR_ARGS="--scan --syslog" EnvironmentFile=-/etc/sysconfig/mdadm ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS -f --pid-file=/var/run/mdadm/mdadm.pid