Bug#603036: lvm2: fails to install due to incorrect dependencies in init.d LSB header
gregor herrmann
gregoa at debian.org
Thu Dec 9 19:07:33 UTC 2010
On Mon, 06 Dec 2010 14:02:08 +0100, Tanguy Ortolo wrote:
> > invoke-rc.d: policy-rc.d denied execution of start.
> > insserv: Service udev has to be enabled to start service lvm2
> > insserv: exiting now!
> > update-rc.d: error: insserv rejected the script header
> > dpkg: error processing lvm2 (--configure):
> > subprocess installed post-installation script returned error exit status 1
> > configured to not write apport reports
> I wonder if it is not simply because lvm2's init script depends on
> udev's, whereas the package does not depend on the udev package. Thus it
> is possible to install lvm2 without udev, which would make insserv fail
> to satisfy this dependancy.
Sounds logical. And also works in a quick piuparts test.
What surprises me is the changelog entry for 2.02.64-1:
* Enable udev sync, remove explicit udev dependency, bump dmsetup dependency
to get it working. (closes: #543163)
The question is if udev is necessary; if not it probably can be moved
from Default-Start to Should-Start in the init script.
I've also tried this and it also works.
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Vic Chesnutt: Gravity Of The Situation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20101209/693cd0c6/attachment.pgp>
More information about the pkg-lvm-maintainers
mailing list