Comment 6 for bug 1001460

Revision history for this message
Robie Basak (racb) wrote :

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.