dnf versus yum

Chris Adams linux at cmadams.net
Thu Jan 9 14:26:00 UTC 2014

Once upon a time, Toshio Kuratomi <a.badger at gmail.com> said:
> <nod>  Just have yum drop a config file in there that protects the kernel
> rather than protecting the kernel if some other package chooses to protect
> something else.

The magic "don't delete the running kernel" can't be done with just a
config file.  Something has to detect which kernel version is running
and match it to an RPM, and then protect just that version of multiple
installed kernel RPMs.

I supposed you could do it external to yum/dnf with a boot-time script
that rewrites a config file to protect kernel-$(uname -r), but that may
not always work (it would have to handle things like kernel-PAE and

Chris Adams <linux at cmadams.net>

More information about the devel mailing list