[systemd-devel] Service is ignoring dependencies

Chad Anonymous chadanonymous at gmail.com
Thu May 9 12:13:30 PDT 2013


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

-------------------------------------

postgresql.service:

[Unit]
Description=PostgreSQL database server

[Service]
Type=forking
User=postgres
Group=xyz

ExecStart=/usr/sbin/postgresql start
ExecReload=/usr/sbin/postgresql reload
ExecStop=/usr/sbin/postgresql stop

----------------------------------------

Software version info:
OpenSuse 12.1
systemd-presets-branding-openSUSE-0.1.0-6.2.1.noarch
systemd-sysvinit-37-3.14.1.x86_64
systemd-37-3.14.1.x86_64

Thanks,

Chad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130509/788da7ac/attachment.html>


More information about the systemd-devel mailing list