[Török Edvin]
> I am using lvm2, and have my /usr, /home, /var, /opt on lvm2 volumes.
> However using 'BAD_INSSERV_HACKER=true dpkg-reconfigure insserv' lvm2
> ends up at the end of the list in /etc/rcS.d (S26), and checkfs is
> S08. Booting fails.

Very nice to hear that you tested the insserv system.  You might want
to review the dependency graph using

  /usr/share/insserv/check-initd-order -g > bootorder.dot
  dotty bootorder.dot

Any loops is a serious bug in the dependency information.  Scripts
with missing dependencies are most probably causing incorrect an boot
sequence.

> I solved this by doing
> cp /usr/share/insserv/overrides/lvm /usr/share/insserv/overrides/lvm2
> 
> Now lvm2 is S06, and the booting succeeds.

Sound like almost the correct short term solution.  It migth be be
better to copy the file into /etc/insserv/overrides/ instead, to avoid
messing with /usr/share/.

> Please consider adding an override for lvm2 too.

I've added such file.  I've also filed a wishlist bug against lvm2
(#426108) asking for a more long term solution with correct dependency
information in the init.d script itself.

Friendly,
-- 
Petter Reinholdtsen


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

Reply via email to