[systemd-devel] [PATCH] service: do not apply SysV ordering to native services

Michal Schmidt mschmidt at redhat.com
Thu Mar 24 10:38:38 PDT 2011


On Thu, 24 Mar 2011 20:15:10 +0300 Andrey Borzenkov wrote:
> On Thu, Mar 24, 2011 at 7:51 PM, Michal Schmidt <mschmidt at redhat.com>
> wrote:
> > In Fedora udev-retry.service exists both as a native unit and as a
> > legacy SysV service. The ordering inferred from the rc.d symlink
> > farm is being incorrectly applied to the native unit:
> >
> 
> Then something is fishy. Native unit hides SysV script completely ...
> or at least is supposed to.
> >  #ifdef HAVE_SYSV_COMPAT
> >         /* Load a classic init script as a fallback, if we couldn't
> > find anything */
> 
> So it implies native unit was not found for whatever reasons. This
> looks like a real bug that has to be fixed.

The native unit is found. The else branch is taken in this case. The
comment refers to the first branch.

> Could you paste systemctl dump somewhere? Without your patch ...

http://fpaste.org/1iid/

Michal


More information about the systemd-devel mailing list