On 14. 02. 22, 20:03, Frank Kunz wrote:
I found on my system that there are some more intird files created after a zypper dup when a new kernel version is installed, as installed kernels are available. When I delete the files manually, they are re-created after the next kernel update again.
Can this be configured or is that a bug?
ls /boot/ -l insgesamt 378608 -rw-r--r-- 1 root root 1725 15. Jan 21:48 boot.readme lrwxrwxrwx 1 root root 42 6. Feb 16:50 config-5.16.4-1-default -> ../usr/lib/modules/5.16.4-1-default/config lrwxrwxrwx 1 root root 42 9. Feb 22:53 config-5.16.5-1-default -> ../usr/lib/modules/5.16.5-1-default/config lrwxrwxrwx 1 root root 42 14. Feb 19:58 config-5.16.8-1-default -> ../usr/lib/modules/5.16.8-1-default/config -rw-r--r-- 1 root root 0 14. Feb 19:58 do_purge_kernels drwxr-xr-x 3 root root 16384 1. Jan 1970 efi drwxr-xr-x 1 root root 122 14. Feb 19:59 grub2 lrwxrwxrwx 1 root root 23 14. Feb 19:58 initrd -> initrd-5.16.8-1-default -rw------- 1 root root 31812176 13. Feb 22:59 initrd-5.10.1-1-default -rw------- 1 root root 31798596 13. Feb 22:59 initrd-5.10.12-1-default -rw------- 1 root root 31798592 13. Feb 23:00 initrd-5.10.3-1-default -rw------- 1 root root 31798592 13. Feb 23:00 initrd-5.10.4-1-default -rw------- 1 root root 31798592 13. Feb 23:01 initrd-5.10.5-1-default -rw------- 1 root root 31798593 13. Feb 23:01 initrd-5.10.7-1-default -rw------- 1 root root 31798592 13. Feb 23:01 initrd-5.10.9-1-default -rw------- 1 root root 31798593 13. Feb 23:02 initrd-5.11.6-1-default
It was a bug in kernel scripts after UsrMerge until we fixed it around 5.11.6. You can remove the initrds above manually.
-rw------- 1 root root 44609838 13. Feb 23:02 initrd-5.16.4-1-default -rw------- 1 root root 44612500 13. Feb 23:03 initrd-5.16.5-1-default -rw------- 1 root root 43963992 14. Feb 19:59 initrd-5.16.8-1-default lrwxrwxrwx 1 root root 47 6. Feb 16:50 sysctl.conf-5.16.4-1-default -> ../usr/lib/modules/5.16.4-1-default/sysctl.conf lrwxrwxrwx 1 root root 47 9. Feb 22:53 sysctl.conf-5.16.5-1-default -> ../usr/lib/modules/5.16.5-1-default/sysctl.conf lrwxrwxrwx 1 root root 47 14. Feb 19:58 sysctl.conf-5.16.8-1-default -> ../usr/lib/modules/5.16.8-1-default/sysctl.conf lrwxrwxrwx 1 root root 46 6. Feb 16:50 System.map-5.16.4-1-default -> ../usr/lib/modules/5.16.4-1-default/System.map lrwxrwxrwx 1 root root 46 9. Feb 22:53 System.map-5.16.5-1-default -> ../usr/lib/modules/5.16.5-1-default/System.map lrwxrwxrwx 1 root root 46 14. Feb 19:58 System.map-5.16.8-1-default -> ../usr/lib/modules/5.16.8-1-default/System.map lrwxrwxrwx 1 root root 24 14. Feb 19:58 vmlinuz -> vmlinuz-5.16.8-1-default lrwxrwxrwx 1 root root 43 6. Feb 16:50 vmlinuz-5.16.4-1-default -> ../usr/lib/modules/5.16.4-1-default/vmlinuz lrwxrwxrwx 1 root root 43 9. Feb 22:53 vmlinuz-5.16.5-1-default -> ../usr/lib/modules/5.16.5-1-default/vmlinuz lrwxrwxrwx 1 root root 43 14. Feb 19:58 vmlinuz-5.16.8-1-default -> ../usr/lib/modules/5.16.8-1-default/vmlinuz
-- js suse labs