postinst script needs updating to use trigger for update-initramfs

Bug #198848 reported by Jeremy Jackson
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Won't Fix

Bug Description

Binary package hint: udev

In the spec for dpkg Triggers it's scheduled for Gutsy to use triggers for update-initramfs. This package and others in Gutsy still call /usr/sbin/update-initramfs directly in postinst scripts. Since any changes to an initramfs can potentially break booting, this would be nice to fix, especially for servers where change control is strict.

Revision history for this message
Colin Watson (cjwatson) wrote :

If 'update-initramfs -u' detects that it's being called from a maintainer script, it will automatically activate the trigger and exit immediately. Thus, this seems like a non-issue; it's already designed for and handled.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

I think that I would rather change the update-initramfs call to a trigger call much later when triggers are very common -- right now the only downside is that you get a message on the screen, with a HUGE upside that if triggers aren't being used/working/available/etc. the initramfs is actually updated

Changed in udev:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.