| Summary: | Error when changing theme when dracut is installed instead of update-initramfs | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Alexander Mentyu <notuxius> |
| Component: | kcm_plymouth | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | bugseforuns, lucas.yamanishi, msdobrescu, nate, oioi555x, postix |
| Priority: | NOR | ||
| Version First Reported In: | 5.10.4 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | attachment-6810-0.html | ||
|
Description
Alexander Mentyu
2017-08-18 12:47:44 UTC
I can confirm this bug on Antergos (Arch-based), plasma 5.10.4. 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. Sorry, I have not added the following info: - Plymouth 0.8.9_pre1-r3~0. - Plasma 5.47.0~0. Is anyone able to reproduce this issue on a non-Arch distro? 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
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. Thanks for the info! I opened an MR to fix this issue. https://invent.kde.org/plasma/plymouth-kcm/-/merge_requests/18 |