It looks like makedev is being unpacked *before* sysv-rc. If sysv-rc is
providing /etc/init.d/.legacy-bootordering, it's too late for update-
rc.d to see it when run from makedev's preinst. But sysv-rc is not
marked Essential, so isn't it invalid for makedev to assume that update-
rc.d will work?

I think there a few options here:

1) It looks like makedev's preinst calls update-rc.d to manage an old
upgrade path that predates Lucid. So do we need to support it at all?
What if we ripped that part out?

1b) Alternatively does the preinst need to run update-rc.d if it is not
upgrading from an older version? If $2 is empty, can we skip the upgrade
path handling, since if makedev was previously purged then the conffiles
it's removing should have been deleted anyway? Or is this a fix for a
bug where an old version failed to remove the conffiles on purge? As
this would predate Lucid, do we care?

2) update-rc.d could be updated to test for insserv and assume legacy
bootordering if it is not available.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001460

Title:
  preinst fails in d-i

To manage notifications about this bug go to:
https://bugs.launchpad.net/eilt/+bug/1001460/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to