Bug 5101

Summary: Add %posttrans script to dracut to be able to update from ancient versions
Product: [ROSA-based products] ROSA Fresh Reporter: Denis Silakov <denis.silakov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: firstlevel
Version: FreshFlags: firstlevel: qa_verified+
denis.silakov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Denis Silakov 2015-02-26 14:47:07 MSK
If users with old ROSA releases with dracut <= 017 will try to update to the modern package base, they will get a problem with missing lsinitrd and mkinitrd symlinks (see bug #4779) due to bug in %postun script of old dracut. To handle such situations, we should add %posttrans script to modern dracut that will recreate the links if they are dropped.
Comment 1 Denis Silakov 2015-02-26 14:49:29 MSK
Advisory:

Added %posttrans script to dracut to allow updating of ROSA systems with dracut <= 017.

Build lists:
https://abf.io/build_lists/2441959
https://abf.io/build_lists/2441960

Note for testers:
This case is actual only for our certified systems. For Desktop Fresh it is enough to ensure that this update doesn't break anything.
Comment 2 FirstLevel 2015-03-04 22:45:10 MSK
I have successfully updated newly installed R4 release (32 and 64bit) and system was restarted well after rebooting
Comment 3 FirstLevel 2015-03-05 10:05:16 MSK
For R5 with latest updates I have plugged the container and updated 32 and 64bit system without issues
Comment 4 FirstLevel 2015-03-05 10:30:36 MSK
dracut-037-24
http://abf-downloads.rosalinux.ru/rosa2014.1/container/2441959/i586/main/release/
http://abf-downloads.rosalinux.ru/rosa2014.1/container/2441960/x86_64/main/release/

************************ Advisory **********************
Added %posttrans script to dracut to allow updating of ROSA systems with dracut <= 017.
********************************************************
QA Verified