Description

KMPs get removed automatically as soon as the last kernel providing their requirements is purged.

This is fine for KMPs requiring a specific kernel version. But we have a bunch of KMPs (crash-kmp, dpdk-kmp,...) which require just a specific kernel ABI. Because many kernel versions provide the required ABI those KMPs are almost never removed automatically. Old KMP versions accumulate on the system.

Goals

Find a way to identify and clean-up those KMPs but make sure that for each installed kernels ABI there is at least one working KMP available.

Resources

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 24

Activity

  • 5 days ago: bmwiedemann liked this project.
  • 6 days ago: mlandres started this project.
  • 6 days ago: mlandres originated this project.

  • Comments

    • mlandres
      about 20 hours ago by mlandres | Reply

      A possible workflow seems to be:

      • we'd protect all packages owning files below /lib/modules/uname -r in order not to remove KMPs of the running kernel.

      • we try take care that for each installed kernel at least one KMP stays installed, so the KMP's requirements in to a kernel are satisfied by this kernel.

      • the remaining KMPs are purged unless the user has locked them.

      Independent from that of course all packages vanish which require a removed kernel (as before).

    Similar Projects

    This project is one of its kind!