Re: systemd: Is it wrong?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 08.07.11 06:47, Neil Horman (nhorman@xxxxxxxxxx) wrote:

>
> On Thu, Jul 07, 2011 at 10:57:54PM -0400, Steve Dickson wrote:
> > Hello,
> >
> > One of the maintainers of systemd and I  have been working
> > together on trying to convert the NFS SysV init scripts
> > into systemd services. Here is the long trail...
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=699040
> >
> > The point is this, with fairly complicated system,
> > some events need to have happen, like loading modules,
> > before other events happen, like setting parameters of
> > those loaded modules.
> >
> > Currently the ExecStart commands can be started and end
> > before the ExecStartPre even start. This means setting
> > modules parameters within the same service file are
> > impossible.
> >
> I would have though intuitively that Pre commands would complete prior to
> ExecStart command in the same service file.  To not do so seems like a bug to
> me.

Yes, correct. ExecStartPre= lines are executed in the same order as they
appear in the unit file, and one by one. There is never more than
one ExecStartPre= process running, and if it is then this would be a bug.

Lennart

--
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux