Bug#600875: lvm2: 'Should-Start' should depend on mdadm-raid and not mdadm

Alexander Clouter alex at digriz.org.uk
Wed Oct 20 20:39:07 UTC 2010


Package: lvm2
Version: 2.02.39-8
Severity: grave
Tags: squeeze
Justification: renders package unusable

Hi,

Apart from adding the tweak detailed in #568838, an upgrade from lenny to squeeze causes dpkg to grumble about:
----
insserv: There is a loop between service checkfs and lvm2 if started
insserv:  loop involving service lvm2 at depth 8
insserv: There is a loop between service checkfs and lvm2 if started
insserv:  loop involving service mdadm at depth 6
insserv:  loop involving service mountall at depth 4
insserv:  loop involving service checkfs at depth 3
insserv:  loop involving service udev at depth 1
insserv: There is a loop between service mountall and checkfs if started
insserv:  loop involving service networking at depth 5
insserv:  loop involving service urandom at depth 13
insserv:  loop involving service portmap at depth 14
insserv: Max recursions depth 99 reached
insserv: Max recursions depth 99 reached
insserv: Max recursions depth 99 reached
insserv: Max recursions depth 99 reached
insserv: Max recursions depth 99 reached
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
----

Others have reported similar things for other packages (hibernate: #554905) and the tweak was to replace mdadm with mdadm-raid; which seems to work for me although I have no idea if this is the Right Solution(tm).

Marking 'grave' as the #554905 did the same :)

Cheers

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.26-2-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  libc6                        2.11.2-6    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3.1     GNU readline and history libraries
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip

Versions of packages lvm2 recommends:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use

lvm2 suggests no packages.

-- Configuration Files:
/etc/init.d/lvm2 changed:
SCRIPTNAME=/etc/init.d/lvm2
. /lib/lsb/init-functions
[ -x /sbin/vgchange ] || exit 0
do_start()
{
	modprobe dm-mod 2> /dev/null || :
	/sbin/vgscan --ignorelockingfailure --mknodes || :
	/sbin/vgchange -aly --ignorelockingfailure || return 2
	[ -x /sbin/udevadm ] && udevadm settle 
}
do_stop()
{
	/sbin/vgchange -aln --ignorelockingfailure || return 2
}
case "$1" in
  start)
	log_begin_msg "Setting up LVM Volume Groups"
	do_start
	case "$?" in
		0|1) log_end_msg 0 ;;
		2) log_end_msg 1 ;;
	esac
	;;
  stop)
	log_begin_msg "Shutting down LVM Volume Groups"
	do_stop
	case "$?" in
		0|1) log_end_msg 0 ;;
		2) log_end_msg 1 ;;
	esac
	;;
  restart|force-reload)
	;;
  *)
	echo "Usage: $SCRIPTNAME {start|stop}" >&2
	exit 3
	;;
esac


-- no debconf information





More information about the pkg-lvm-maintainers mailing list