Bug#597654: postgresql-8.4 8.4.4-2 breaks start ordering of init scripts

2010-09-22 Thread Martin Pitt
reassign 597654 postgresql-common 109
tag 597654 confirmed
thanks

Hello Adam,

Adam Heath [2010-09-21 15:40 -0500]:
 I just upgraded postgres-8.4 from 8.4.4-1+b1 to 8.4.4-2.  This
 removed the separate postgresql-8.4 init script, and replaced it
 with a common one.  Previously, postgresql-8.4 would start at S19.

Ah, sorry about that. I'll move the common one back to 19 then.

 I have postgresql listed as Should-Start in ofbiz's initscript.
 However, init dependencies are not active, so normal number based
 ordering is used.

I. e. you removed insserv? I thought that was the (pretty much
mandatory) default in Squeeze now.

Thanks,

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature


Processed: Re: Bug#597654: postgresql-8.4 8.4.4-2 breaks start ordering of init scripts

2010-09-22 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 597654 postgresql-common 109
Bug #597654 [postgresql-8.4] postgresql-8.4 8.4.4-2 breaks start ordering of 
init scripts
Bug reassigned from package 'postgresql-8.4' to 'postgresql-common'.
Bug No longer marked as found in versions postgresql-8.4/8.4.4-2.
Bug #597654 [postgresql-common] postgresql-8.4 8.4.4-2 breaks start ordering of 
init scripts
Bug Marked as found in versions postgresql-common/109.
 tag 597654 confirmed
Bug #597654 [postgresql-common] postgresql-8.4 8.4.4-2 breaks start ordering of 
init scripts
Added tag(s) confirmed.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
597654: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597654
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#597654: postgresql-8.4 8.4.4-2 breaks start ordering of init scripts

2010-09-22 Thread Martin Pitt
Hello Adam,

Adam Heath [2010-09-22  8:13 -0500]:
 Note, that this affects the version in testing.

Yep, known. I mailed -release@ and got it unblocked for migration, and
it's urgency=high.

 If insserv doesn't support multiple scripts all providing the same
 thing, then it is buggy.

Only through some hairy workarounds apparently, but that should be
quite unrelated to this bug? insserv doesn't (or at least shouldn't)
care about the /etc/rc2.d/* bits.

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature


Bug#597654: [Fwd: Re: Bug#597654: postgresql-8.4 8.4.4-2 breaks start ordering of init scripts]

2010-09-22 Thread Adam Heath
---BeginMessage---
Martin Pitt wrote:
 Hello Adam,
 
 Adam Heath [2010-09-22  8:13 -0500]:
 Note, that this affects the version in testing.
 
 Yep, known. I mailed -release@ and got it unblocked for migration, and
 it's urgency=high.
 
 If insserv doesn't support multiple scripts all providing the same
 thing, then it is buggy.
 
 Only through some hairy workarounds apparently, but that should be
 quite unrelated to this bug? insserv doesn't (or at least shouldn't)
 care about the /etc/rc2.d/* bits.

Sure. But if insserv supported multiple provides, you wouldn't have
had to change the init script management at all, and you could revert
the whole thing.

Instead of fixing insserv, other packages are now breaking.  So
instead of one broken package, we have several.

---End Message---


Bug#597654: postgresql-8.4 8.4.4-2 breaks start ordering of init scripts

2010-09-21 Thread Adam Heath

Package: postgresql-8.4
Version: 8.4.4-2
Severity: serious

I just upgraded postgres-8.4 from 8.4.4-1+b1 to 8.4.4-2.  This removed 
the separate postgresql-8.4 init script, and replaced it with a common 
one.  Previously, postgresql-8.4 would start at S19.  The new version 
starts at S20.  So, anything in S20 that required postgresql-8.4, and 
happens to come earlier alphabetically, will fail to start, as 
postgresql-8.4 starts too late.


I have ofbiz as a deb package(local, not in debian, 
http://ofbiz.apache.org).  I use dbconfig-common to manage configuring 
the database.  I have postgresql listed as Should-Start in ofbiz's 
initscript.  However, init dependencies are not active, so normal 
number based ordering is used.  I've always used S20(the defaults), 
and everything has worked correctly.  This was due to postgresql-8.4 
being S19.


Ofbiz doesn't require any particular version of postgresql.  It'll 
work with all of them.  It'll also work with mysql, and with 
derby(which is embedded into ofbiz).  So I don't see a need to have a 
versioned Should-Start in its initscript, nor as a Depends on the package.


I'm fairly certain this will break full system upgrades too(hence the 
reason I set the severity to serious).


This bug is related to http://bugs.debian.org/585890

I would say that insserv is broken, if multiple packages can't provide 
the same service.




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org