Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704546 - sys-kernel/genkernel-4.0.1: stuck in unmount loop
Summary: sys-kernel/genkernel-4.0.1: stuck in unmount loop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-02 10:32 UTC by Mathy Vanvoorden
Modified: 2020-01-02 17:34 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 Mathy Vanvoorden 2020-01-02 10:32:49 UTC
If genkernel automounts the /boot partition it gets stuck in a loop trying to unmount it if the unmount is not working. Version -3 didn't unmount /boot if I recall correcty. I noticed because I have the habit to clean out old kernels while I'm compiling the new one so I cd into /boot, making it impossible to unmount the filesystem. Genkernel keeps retrying until you ctrl-c or cd out of the directory. It seems to me it would be better if it would only retry a few times (perhaps with a sleep inbetweeen instead of continuous) and then abort the unmount with a warning / error message.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-01-02 17:33:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d00387e421e541bad7e3c16e2a7c67bc3c0a1cb7

commit d00387e421e541bad7e3c16e2a7c67bc3c0a1cb7
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-01-02 17:33:03 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-01-02 17:33:03 +0000

    gen_funcs.sh: gen_die(): Prevent recursion
    
    Closes: https://bugs.gentoo.org/704546
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 gen_funcs.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-01-02 17:34:17 UTC
Thanks for the report, will be in genkernel-4.0.2.