[systemd-devel] [PATCH] core: collapse JOB_RELOAD on an inactive unit into JOB_NOP

Lennart Poettering lennart at poettering.net
Mon Aug 18 07:05:18 PDT 2014


On Fri, 15.08.14 21:10, Michael Biebl (mbiebl at gmail.com) wrote:

> 
> 2014-08-15 12:50 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> > I think most of the confusion here comes from the fact that sysv service
> > restarts don't care about ordering at all, really, and we do. But the
> > answer to that is not to weaken the current strong semantics of
> > blocking, but simply not to request blocking operation at all, i.e. use
> > --no-block, and just queue things in, instead of waiting for them.
> >
> > Note that on FEdora the sysv /sbin/service glue actually adds in
> > --no-block for many cases, too, due to the stricter requirements of
> > systemd there.
> 
> I just had a look at /sbin/service and/etc/init.d/functions  as
> shipped by F20 and couldn't find any traces of --no-block.
> 
> I'd be interested to know under what conditions you add --no-block.

Ah, sorry, it doesn't use --no-block. But it does use the
ignore-dependencies stuff, look for SYSTEMCTL_IGNORE_DEPENDENCIES in
/etc/rc.d/init.d/functions.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list