FS#40965 - [mdadm] Redundant mdadm.service file
Attached to Project:
Arch Linux
Opened by Sander Jansen (GogglesGuy) - Tuesday, 24 June 2014, 16:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 19 May 2015, 15:18 GMT
Opened by Sander Jansen (GogglesGuy) - Tuesday, 24 June 2014, 16:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 19 May 2015, 15:18 GMT
|
Details
The arch package of mdadm-3.3.1-2 adds a mdadm.service file
for systemd. This seems to be redundant since mdadm already
contains a mdmonitor.service file which is automatically
actived by the included udev rule and does the same thing
(--monitor --scan) as mdadm.service.
|
This task depends upon
$ systemctl status mdadm mdmonitor
● mdadm.service - MDADM Event Monitor
Loaded: loaded (/usr/lib/systemd/system/mdadm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2015-02-15 02:52:58 EST; 10min ago
Process: 402 ExecStart=/usr/bin/mdadm --monitor --scan (code=exited, status=1/FAILURE)
Main PID: 402 (code=exited, status=1/FAILURE)
Feb 15 02:52:58 nas mdadm[402]: mdadm: Only one autorebuild process allowed in scan mode, aborting
Feb 15 02:52:58 nas systemd[1]: mdadm.service: main process exited, code=exited, status=1/FAILURE
Feb 15 02:52:58 nas systemd[1]: Unit mdadm.service entered failed state.
Feb 15 02:52:58 nas systemd[1]: mdadm.service failed.
● mdmonitor.service - MD array monitor
Loaded: loaded (/usr/lib/systemd/system/mdmonitor.service; static; vendor preset: disabled)
Active: active (running) since Sun 2015-02-15 02:52:56 EST; 10min ago
Process: 299 ExecStartPre=/usr/lib/systemd/scripts/mdadm_env.sh (code=exited, status=203/EXEC)
Main PID: 303 (mdadm)
CGroup: /system.slice/mdmonitor.service
└─303 /sbin/mdadm --monitor --scan