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

Colin Guthrie gmane at colin.guthr.ie
Thu May 9 14:26:28 PDT 2013


'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/


More information about the systemd-devel mailing list