Bug 383666 - Error when changing theme when dracut is installed instead of update-initramfs
Summary: Error when changing theme when dracut is installed instead of update-initramfs
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_plymouth (show other bugs)
Version: 5.10.4
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 12:47 UTC by Alexander Mentyu
Modified: 2022-06-29 10:32 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-6810-0.html (2.13 KB, text/html)
2019-08-01 17:11 UTC, Mihai Sorin Dobrescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2017-08-18 12:47:44 UTC
'Unable to authenticate/execute the action: 9, Cannot start initramfs.' error after changing theme and pressing 'Apply' button.
Tried both with plymouth 1:0.8.8-3 and plymouth-dev 0.9.2.r66.g63148b2-1
Comment 1 Patrick Silva 2017-08-19 21:53:28 UTC
I can confirm this bug on Antergos (Arch-based), plasma 5.10.4.
Comment 2 Mihai Sorin Dobrescu 2018-07-05 16:28:06 UTC
I can confirm on Sabayon, up to date - 64 bit, 4.16.0-sabayon #1 SMP Tue Jul 3 09:06:27 UTC 2018 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux.
Comment 3 Mihai Sorin Dobrescu 2018-07-05 16:30:08 UTC
Sorry, I have not added the following info:
- Plymouth 0.8.9_pre1-r3~0.
- Plasma 5.47.0~0.
Comment 4 Nate Graham 2019-08-01 15:12:10 UTC
Is anyone able to reproduce this issue on a non-Arch distro?
Comment 5 Lucas Yamanishi 2019-08-01 16:38:22 UTC
I see this in Gentoo. It's attempting to execute `update-initramfs`, which does not exist. I use Dracut.

To change Plymouth themes on my system I take the following steps:

 1. List Plymouth themes with `plymouth-set-default-theme -l`
 2. Execute `plymouth-set-default-theme ${THEME_NAME}`
 3. Mount `/boot`
 4. Execute `dracut --force /boot/path/to/initramfs-${KERNEL_VERSION} ${KERNEL_VERSION}`
 5. Unmount `/boot`

I understand I'm an extreme corner case, but I would need the option to call a custom script for the KCM to work for me as advertised; it's  still useful right now as a theme preview tool. Thank you!

Whatever the system, I think the error message could use an update. Maybe something like, "Could not update the initramfs. Please update it manually to apply the changes."

---

Version: 5.15.5 (relevant code appears unchanged as of 5.16.4)

Dialog popup:
    Unable to authenticate/execute the action: 9, Cannot start initramfs.

Console output:
    Debug message from helper: Running update-initramfs -u  now
Comment 6 Mihai Sorin Dobrescu 2019-08-01 17:11:18 UTC
Created attachment 121888 [details]
attachment-6810-0.html

IMHO, should be able to update, even though requesting root password.

On Thu, Aug 1, 2019 at 7:38 PM Lucas Yamanishi <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383666
>
> --- Comment #5 from Lucas Yamanishi <lucas.yamanishi@gmail.com> ---
> I see this in Gentoo. It's attempting to execute `update-initramfs`, which
> does
> not exist. I use Dracut.
>
> To change Plymouth themes on my system I take the following steps:
>
>  1. List Plymouth themes with `plymouth-set-default-theme -l`
>  2. Execute `plymouth-set-default-theme ${THEME_NAME}`
>  3. Mount `/boot`
>  4. Execute `dracut --force /boot/path/to/initramfs-${KERNEL_VERSION}
> ${KERNEL_VERSION}`
>  5. Unmount `/boot`
>
> I understand I'm an extreme corner case, but I would need the option to
> call a
> custom script for the KCM to work for me as advertised; it's  still useful
> right now as a theme preview tool. Thank you!
>
> Whatever the system, I think the error message could use an update. Maybe
> something like, "Could not update the initramfs. Please update it manually
> to
> apply the changes."
>
> ---
>
> Version: 5.15.5 (relevant code appears unchanged as of 5.16.4)
>
> Dialog popup:
>     Unable to authenticate/execute the action: 9, Cannot start initramfs.
>
> Console output:
>     Debug message from helper: Running update-initramfs -u  now
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 7 Nate Graham 2019-08-01 19:44:36 UTC
Thanks for the info!
Comment 8 oioi555x 2022-06-28 06:22:14 UTC
I opened an MR to fix this issue.
https://invent.kde.org/plasma/plymouth-kcm/-/merge_requests/18