[systemd-devel] Service is ignoring dependencies (suse)

Chad Anonymous chadanonymous at gmail.com
Thu May 9 17:31:49 PDT 2013


Thanks, that looks to be it. /usr/sbin/rcpostgresql has an explicit
--ignore-dependencies in there that I somehow missed. It would be good to
know why exactly that was done but that is another search...

Thanks for the pointer.

Chad


On Thu, May 9, 2013 at 5:26 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:

> 'Twas brillig, and Chad Anonymous at 09/05/13 20:13 did gyre and gimble:
> > I have an issue where the postgresql.service is being started and does
> > not appear to be obeying the dependency ordering that is specified using
> > a "Before=" entry that is in another oneshot service file.
> >
> > After turning on systemd debug it appears that the postgresql.service is
> > being enqueud with the ignore-dependencies setting. I have no idea where
> > this is coming from as it is not explicitly set anywhere that I can
> > find. Does systemd implicitly do this in certain scenarios?
> >
> > systemd log:
> >
> > May  9 14:33:01 host-1 systemd[1]: Trying to enqueue job
> > postgresql.service/start/ignore-dependencies
>
>
> I could be wrong but I believe OpenSuse has patches to their wrapper
> scripts which call systemctl with --ignore-dependences.
>
> So i'd guess some other script in the startup process is calling some
> generic wrapper to start prostgres or something similar to that.
>
> I doubt this is an upstream issue tho' (tho' some suse folks will
> hopefully see here and answer - added it to the subject for better
> exposure)
>
> Col
>
> --
>
> Colin Guthrie
> gmane(at)colin.guthr.ie
> http://colin.guthr.ie/
>
> Day Job:
>   Tribalogic Limited http://www.tribalogic.net/
> Open Source:
>   Mageia Contributor http://www.mageia.org/
>   PulseAudio Hacker http://www.pulseaudio.org/
>   Trac Hacker http://trac.edgewall.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130509/0798ccac/attachment.html>


More information about the systemd-devel mailing list