Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726690 - app-admin/eclean-kernel-2.99.1 - SystemError: No vmlinuz found. This seems ridiculous, aborting
Summary: app-admin/eclean-kernel-2.99.1 - SystemError: No vmlinuz found. This seems ri...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 18:37 UTC by Pavel Volkov
Modified: 2020-06-01 19:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2020-06-01 18:37:11 UTC
After recent update this is the error I get. 
I added some debug output in process.py.

sudo eclean-kernel -n 3 --debug
DEBUG:root:Trying bootloader lilo
DEBUG:root:Trying bootloader grub2
DEBUG:root:Trying bootloader grub
DEBUG:root:Trying bootloader yaboot
DEBUG:root:Trying bootloader symlinks
DEBUG:root:in get_removal_list()
remove_kernels {Kernel('5.6.11-gentoomelf'): ['vmlinuz does not exist'], Kernel('5.6.12-gentoomelf'): ['vmlinuz does not exist'], Kernel('5.6.13-gentoomelf'): ['vmlinuz does not exist'], Kernel('5.7.0-gentoomelf'): ['vmlinuz does not exist']}
kernels [Kernel('5.6.11-gentoomelf'), Kernel('5.6.12-gentoomelf'), Kernel('5.6.13-gentoomelf'), Kernel('5.7.0-gentoomelf')]
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.8/eclean-kernel", line 11, in <module>
    load_entry_point('eclean-kernel==2.99.1', 'console_scripts', 'eclean-kernel')()
  File "/usr/lib/python3.8/site-packages/ecleankernel/__main__.py", line 353, in setuptools_main
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python3.8/site-packages/ecleankernel/__main__.py", line 216, in main
    removals = get_removal_list(
  File "/usr/lib/python3.8/site-packages/ecleankernel/process.py", line 84, in get_removal_list
    raise SystemError(
SystemError: No vmlinuz found. This seems ridiculous, aborting.

For bootloader I use systemd-boot.
This is my /boot contents:

drwxr-xr-x 2 root root    4096 дек 29 18:59 b30d5327c85a19a2efac621000000025/
-rwxr-xr-x 1 root root   61525 мар  7 09:11 cmos_custom1.BIN*
-rwxr-xr-x 1 root root  119918 мая 10 11:28 config-5.6.11-gentoomelf*
-rwxr-xr-x 1 root root  119918 мая 13 09:15 config-5.6.12-gentoomelf*
-rwxr-xr-x 1 root root  119918 мая 15 20:18 config-5.6.13-gentoomelf*
-rwxr-xr-x 1 root root  121457 июн  1 21:20 config-5.7.0-gentoomelf*
drwxr-xr-x 6 root root    4096 дек 29 18:59 EFI/
drwxr-xr-x 3 root root    4096 мая 10 11:04 loader/
-rwxr-xr-x 1 root root 4079701 мая 10 11:28 System.map-5.6.11-gentoomelf*
-rwxr-xr-x 1 root root 4079701 мая 13 09:15 System.map-5.6.12-gentoomelf*
-rwxr-xr-x 1 root root 4079860 мая 15 20:18 System.map-5.6.13-gentoomelf*
-rwxr-xr-x 1 root root 4110733 июн  1 21:20 System.map-5.7.0-gentoomelf*
drwxr-xr-x 2 root root    4096 фев  8  2018 templates/
-rwxr-xr-x 1 root root 8079968 мая 10 11:28 vmlinuz-5.6.11-gentoomelf*
-rwxr-xr-x 1 root root 8079968 мая 13 09:15 vmlinuz-5.6.12-gentoomelf*
-rwxr-xr-x 1 root root 8084064 мая 15 20:18 vmlinuz-5.6.13-gentoomelf*
-rwxr-xr-x 1 root root 8012800 июн  1 21:20 vmlinuz-5.7.0-gentoomelf*

Everything was okay with the previous version.

Reproducible: Always
Comment 1 Pavel Volkov 2020-06-01 18:38:17 UTC
$ eclean-kernel -l
5.7.0-gentoomelf [None]
- modules: /lib/modules/5.7.0-gentoomelf
- build: /usr/src/linux-5.7.0-gentoo
- last modified: 2020-06-01 18:20:06
5.6.13-gentoomelf [None]
- modules: /lib/modules/5.6.13-gentoomelf
- build: /usr/src/linux-5.6.13-gentoo
- last modified: 2020-05-15 17:18:34
5.6.12-gentoomelf [None]
- modules: /lib/modules/5.6.12-gentoomelf
- last modified: 2020-05-13 06:15:14
5.6.11-gentoomelf [None]
- modules: /lib/modules/5.6.11-gentoomelf
- last modified: 2020-05-10 08:28:09
Comment 2 Pavel Volkov 2020-06-01 18:53:00 UTC
Correction: strictly speaking, systemd-boot is my emergency bootloader, normally my kernel is directly booted (EFISTUB).
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-01 18:57:55 UTC
You want '-L std' to override layout autodetection.
Comment 4 Pavel Volkov 2020-06-01 19:04:06 UTC
Thanks!