Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 796752

Summary: app-admin/eclean-kernel: should be aware of unmounted /boot?
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: CONFIRMED ---    
Severity: enhancement CC: ionen
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Raymond Jennings 2021-06-19 13:36:04 UTC
Created attachment 716850 [details]
emerge --info

When I run eclean-kernel and have /boot unmounted, it doesn't find the files and errors out.

Considering that genkernel is aware of it (perhaps via pymountboot?), I think it would be a good idea if eclean-kernel followed suit.

Expected: it works normally and finds the files

Actual: when /boot isn't mounted, it errors out:

eclean-kernel has met the following issue:

  SystemError('No vmlinuz found. This seems ridiculous, aborting.')

If you believe that the mentioned issue is a bug, please report it
to https://github.com/mgorny/eclean-kernel/issues. If possible,
please attach the output of 'eclean-kernel --list-kernels' and your
regular eclean-kernel call with additional '--debug' argument.

For now I've skipped the --list-kernels and --debug steps since mounting and unmounting /boot has proven to make the difference, but debug output from those is available on request.