[Martin Pitt]
> CC'ing Petter for advice.

I believe I already suggested how to solve this in #474515: Make all
postgresql init.d scripts have a unique provides line, and let them
all provide a $postgresql virtual facility, and get all init.d scripts
that should start before or after any of the postgresql init.d scripts
declare a relationship on $postgresql.

See <URL: http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities >
for more information on Debian specific virtual facilities.

The postgresql packages would include a file
/etc/insserv.conf.d/postgresql-X.Y with content like this:

  $postgresql postgresql-X.Y

The init.d scripts (postgresql-X.Y) would have a provides line like
this matching the name in the insserv.conf.d entry:

  Provides: postgresql-X.Y

This would allow all the postgresql init.d scripts to provide the same
virtual facility, while getting the correct init.d script ordering.

> So at this point I'm inclined to either reassign this to insserv
> (see the discussion in #474515), or mark as "wontfix".

sysv-rc with insserv is behaving as intended, so there is no use
reassigning it there.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to