Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600446 - app-admin/eclean-kernel-9999 cleans out kernel-4.8.10 before 4.8.7 or 4.8.8 or 4.8.9
Summary: app-admin/eclean-kernel-9999 cleans out kernel-4.8.10 before 4.8.7 or 4.8.8 ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 00:17 UTC by Derk W te Bokkel
Modified: 2020-09-22 07:48 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 Derk W te Bokkel 2016-11-22 00:17:55 UTC
looks like a sort order issue


kernels 4.8.10, 4.8.7, 4.8.8 and 4.8.9 installed

eclean-kernel -n 3  .. clobbers most recently built and installed 4.8.10


as per:

  INSTALL net/vmw_vsock/vsock.ko
  INSTALL sound/core/seq/snd-seq-midi.ko
  INSTALL sound/core/snd-rawmidi.ko
  INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
  INSTALL sound/drivers/mpu401/snd-mpu401.ko
  INSTALL sound/drivers/snd-aloop.ko
  INSTALL virt/lib/irqbypass.ko
  INSTALL /lib/firmware/cpia2/stv0672_vp4.bin
  DEPMOD  4.8.10-gentoo
sh ./arch/x86/boot/install.sh 4.8.10-gentoo arch/x86/boot/bzImage \
	System.map "/boot"
zlink1 linux-4.8.10-gentoo # eclean-kernel -n 3
Removing...
4.8.10-gentoo:
- /boot/config-4.8.10-gentoo
- /boot/System.map-4.8.10-gentoo
- /boot/vmlinuz-4.8.10-gentoo
- /usr/src/linux-4.8.10-gentoo
- /lib/modules/4.8.10-gentoo

eclean-kernel -l
4.8.7-gentoo:
- aux: /boot/config-4.8.7-gentoo
- kernel: /boot/vmlinuz-4.8.7-gentoo
- build: /usr/src/linux-4.8.7-gentoo
- modules: /lib/modules/4.8.7-gentoo
- aux: /boot/System.map-4.8.7-gentoo
4.8.8-gentoo:
- aux: /boot/config-4.8.8-gentoo
- kernel: /boot/vmlinuz-4.8.8-gentoo
- build: /usr/src/linux-4.8.8-gentoo
- modules: /lib/modules/4.8.8-gentoo
- aux: /boot/System.map-4.8.8-gentoo
4.8.9-gentoo:
- aux: /boot/config-4.8.9-gentoo
- kernel: /boot/vmlinuz-4.8.9-gentoo
- build: /usr/src/linux-4.8.9-gentoo
- modules: /lib/modules/4.8.9-gentoo
- aux: /boot/System.map-4.8.9-gentoo
Comment 1 Rick Jenkins 2018-06-26 19:16:20 UTC
Still an issue.

In my case eclean-kernel 1.99.4  with -n 2 cleans out linux-4.17.0-gentoo leaving linux-4.15.0-gentoo intact, when linux-4.17.2-gentoo is present.
Comment 2 Rafael Kitover 2019-04-17 23:26:31 UTC
For me it deleted 5.1-rc5 which was the latest and left 5.1-rc3, something is off with the version number detection or something. Now I'm recompiling my kernel again.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-24 08:42:33 UTC
Could you try 2.99.1 and see if it happens still?  The algorithm is roughly the same but since it's rewritten to Python, I might have fixed some bug in the C code.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-22 07:48:45 UTC
Please reopen if you can still reproduce.