Bug#535442: postgresql: Broken upgrade when using insserv

Petter Reinholdtsen pere at hungry.com
Sun Jul 26 22:44:53 UTC 2009


reassign 535442 postgresql
thanks

[Kel Modderman]
> insserv is designed to not support multiple scripts claiming to provide
> the same service. See #474515 for a previous discussion about it.
> Should it be that way? dunno for sure.
> 
> System (or Virtual) facilities can be used for this purpose, though these
> seem to be reserved for things defined in the LSB spec. insserv(8) describes
> how they work.

Yes.  I recommend droping the 'postgresql' provide from the LSB
headers of both scripts.  Make a new $postgresql or similar virtual
facility if you want to have several scripts providing a generic
service.

I'm switching on insserv by default in unstable today, so this problem
will affect many more people until the postgresql packages are
changed.

Happy hacking,
-- 
Petter Reinholdtsen



More information about the initscripts-ng-devel mailing list