Re: [arch-general] mdmonitor.service failed to start

2014-06-24 Thread Sander Jansen
Just opened a bug report since we probably should get rid of mdadm.service. https://bugs.archlinux.org/task/40965 On Tue, Jun 24, 2014 at 11:25 AM, Sander Jansen wrote: > > > On Tue, Jun 24, 2014 at 10:56 AM, Paul Gideon Dann > wrote: > >> On Tuesday 24 Jun 2014 10:07:31 Sander Jansen wrote:

Re: [arch-general] mdmonitor.service failed to start

2014-06-24 Thread Sander Jansen
On Tue, Jun 24, 2014 at 10:56 AM, Paul Gideon Dann wrote: > On Tuesday 24 Jun 2014 10:07:31 Sander Jansen wrote: > > > But the new problem is: Why this service automatically start? I never > > > manually enabled mdmonitor, and I cannot find its link in > > > /etc/systemd/system/ . > > > > > > Reg

Re: [arch-general] mdmonitor.service failed to start

2014-06-24 Thread Paul Gideon Dann
On Tuesday 24 Jun 2014 10:07:31 Sander Jansen wrote: > > But the new problem is: Why this service automatically start? I never > > manually enabled mdmonitor, and I cannot find its link in > > /etc/systemd/system/ . > > > > Regards. > > It's part of the udev rule in /usr/lib/udev/rules.d/63-md-ra

Re: [arch-general] mdmonitor.service failed to start

2014-06-24 Thread Sander Jansen
On Tue, Jun 24, 2014 at 12:58 AM, Bill Sun wrote: > Ah, I found the problem: I never configured an email address in > /etc/mdadm.conf > > But the new problem is: Why this service automatically start? I never > manually enabled mdmonitor, and I cannot find its link in > /etc/systemd/system/ . > >

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
> But the new problem is: Why this service automatically start? I never > manually enabled mdmonitor, and I cannot find its link in > /etc/systemd/system/ . OK, it seems that the unit is somehow a dependence for some other units: $ systemctl is-enabled mdmonitor static And I just masked th

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
Ah, I found the problem: I never configured an email address in /etc/mdadm.conf But the new problem is: Why this service automatically start? I never manually enabled mdmonitor, and I cannot find its link in /etc/systemd/system/ . Regards.

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
On Mon, Jun 23, 2014 at 09:57:46AM -0500, Sander Jansen wrote: > I don't think the service failed to start, The ExecStartPre starts with an > -, so it's allowed to fail to start that script, but unit isn't considered > failed: > > mdmonitor.service - MD array monitor >Loaded: loaded (/usr/lib/

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Sander Jansen
On Thu, Jun 19, 2014 at 8:04 PM, Bill Sun wrote: > Hi, > > I noticed that my mdmonitor.service failed to start with the following > error message: > Failed at step EXEC spawning /usr/lib/systemd/scripts/mdadm_env.sh: > No such file or directory > > My mdadm package version is 3.3.1-2. Sho