It's a pretty irrelevant observation but technically speaking it's still a bug: the kernel-remover script does weird things when it can't find a /boot directory.

Afaik it lists the contents of the current directory as options to delete, correct behavior would be to exit with an error message.

Feel free to ignore it though.

slh

Post subject: RE: kernel-remover oddity Posted: 18.07.2012, 01:02

Joined: 2010-08-25
Posts: 957

Status: Offline

What do you understand under "can't find a /boot/ directory"?

- there being no /boot/ directory under / (e.g. some partial chroot environment)
- it being not allowed to be read by root, but physically present
- implications from read-only root configurations
- a separate /boot/ partition which is just not mounted at the moment (so an empty, but present /boot/)
- some netboot or external boot (kvm with kernel/ initrd supplied via cli arguments) environment (please specify)
- something totally different

Knowing the exact error condition would help a lot for fixing it (and to confirm if it really got fixed).

CaesarTjalbo

Post subject: Re: RE: kernel-remover oddity Posted: 18.07.2012, 08:34

Joined: 2010-09-13
Posts: 96
Location: Enschede
Status: Offline

slh wrote:

- there being no /boot/ directory under /

Separate boot partition mounted under otherwise empty (root)/boot/ directory. I was struggling to solve a grub issue and had the /boot/ directory removed and forgot to put it back.