Bug 1203019 - yast2: replace mkinitrd wrapper with native dracut
yast2: replace mkinitrd wrapper with native dracut
Status: CONFIRMED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/6NouwiGv
:
Depends on:
Blocks: 1202351
  Show dependency treegraph
 
Reported: 2022-09-01 10:35 UTC by Antonio Feijoo
Modified: 2023-03-24 13:47 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
locilka: needinfo? (rtsvetkov)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Feijoo 2022-09-01 10:35:41 UTC
+++ This bug was initially created as a clone of Bug #1202351 +++

Upstream support removed in March 2021 (https://github.com/dracutdevs/dracut/commit/43df4ee2) and deprecation announcement on factory mailing list in May 2021 (https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/GDAZ7TVXS2BAXENVBAMHVXVHLSR7D7NQ/).

ALP will not ship the mkinitrd wrapper, so it's better to get rid of it in Tumbleweed first.

References:

- yast2

/usr/share/YaST2/modules/Initrd.rb:72:      # parametr for mkinitrd because of splash screen
/usr/share/YaST2/modules/Initrd.rb:75:      # Additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:391:                "/lib/mkinitrd/scripts/setup-splash.sh"
/usr/share/YaST2/modules/Initrd.rb:400:          "/sbin/mkinitrd %1 %2 >> %3 2>&1",
/usr/share/YaST2/modules/Initrd.rb:405:          File.join(Directory.logdir, "y2logmkinitrd").shellescape
/usr/share/YaST2/modules/Initrd.rb:411:            Ops.add(Directory.logdir, "/y2logmkinitrd")
/usr/share/YaST2/modules/Initrd.rb:434:    # Set the -s parameter of mkinitrd
/usr/share/YaST2/modules/Initrd.rb:463:    # Get additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:464:    # @return [String] additional mkinitrd parameters
/usr/share/YaST2/modules/Initrd.rb:469:    # Set additional parameters for mkinitrd
/usr/share/YaST2/modules/Initrd.rb:470:    # @param [String] params string additional mkinitrd parameters

# rpm -qf /usr/share/YaST2/modules/Initrd.rb
yast2-4.5.10-1.1.x86_64


- yast2-country

/usr/share/YaST2/modules/Timezone.rb:85:      # if mkinitrd should be called at the end
/usr/share/YaST2/modules/Timezone.rb:86:      @call_mkinitrd = false
/usr/share/YaST2/modules/Timezone.rb:467:      Builtins.y2milestone("calling mkinitrd...")
/usr/share/YaST2/modules/Timezone.rb:470:        "/sbin/mkinitrd >> /var/log/YaST2/y2logmkinitrd 2>> /var/log/YaST2/y2logmkinitrd"
/usr/share/YaST2/modules/Timezone.rb:860:      CallMkinitrd() if @call_mkinitrd && !Stage.initial
/usr/share/YaST2/modules/Timezone.rb:1081:    publish :variable => :call_mkinitrd, :type => "boolean"

# rpm -qf /usr/share/YaST2/modules/Timezone.rb
yast2-country-4.5.1-1.1.x86_64


- yast2-kdump

/usr/share/YaST2/modules/Kdump.rb:419:      update_command = (using_fadump? ? "/usr/sbin/mkdumprd -f" : "/sbin/mkinitrd")
/usr/share/YaST2/modules/Kdump.rb:426:      update_logfile = File.join(Directory.logdir, "y2logmkinitrd")

# rpm -qf /usr/share/YaST2/modules/Kdump.rb
yast2-kdump-4.5.3-1.1.x86_64
Comment 1 Antonio Feijoo 2023-03-08 13:42:10 UTC
ping

ALP is moving forward and we need to get rid of mkinitrd. What's the status of this task?
Comment 2 Josef Reidinger 2023-03-08 16:38:58 UTC
yast2-kdump 4.5.7 should be already without calling mkinitrd
Comment 3 Antonio Feijoo 2023-03-17 09:29:17 UTC
(In reply to Josef Reidinger from comment #2)
> yast2-kdump 4.5.7 should be already without calling mkinitrd

Thanks.

So the only missing pieces blocking the mkinitrd removal are yast2 and yast2-country. All the other identified packages (kernel, kdump, mdadm) are fixed.
Comment 4 Lukas Ocilka 2023-03-18 07:46:13 UTC
(In reply to Antonio Feijoo from comment #3)
> All the other identified packages (kernel, kdump, mdadm) are
> fixed.

I rather say "adapted to the new state" ;) It's not a bug per se.

We'll work on this after the ALP March Prototype is out, because that's our current priority.
Comment 5 Lukas Ocilka 2023-03-24 13:47:31 UTC
Rado, do you want this also for SP5?