Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796752 - app-admin/eclean-kernel: should be aware of unmounted /boot?
Summary: app-admin/eclean-kernel: should be aware of unmounted /boot?
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-19 13:36 UTC by Raymond Jennings
Modified: 2021-06-19 18:15 UTC (History)
1 user (show)

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


Attachments
emerge --info (einfo.txt,6.78 KB, text/plain)
2021-06-19 13:36 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
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.