On 07/07/2020 13:28, Carlos E. R. wrote:
On 07/07/2020 12.18, Felix Miata wrote:
Mathias Homann composed on 2020-07-07 02:51 (UTC-0400):
(this is on 15.2) ...
The situation:
/dev/sda[abcd] exist. /dev/sda1 is a bog-standard ext4, 150MB, mounted on /boot
Surely you cannot need all the kernels that must be installed to exhaust all the space on a 150MB /boot filesystem. How many are there? 2 should be enough.
But for an instant, during an update, there are three.
Well, maybe. You'll notice that there is also a flag file, /boot/do_purge_kernels created that is used the the "purge_kernels" process, which happens on the next boot thanks to a unit file to that end. /usr/lib/systemd/system/purge-kernels.service ============ [Unit] Description=Purge old kernels After=local-fs.target ConditionPathExists=/boot/do_purge_kernels ConditionPathIsReadWrite=/ [Service] Type=oneshot Nice=19 IOSchedulingClass=idle ExecStartPre=/bin/rm -f /boot/do_purge_kernels ExecStart=/sbin/purge-kernels [Install] WantedBy=multi-user.target ============ Or you could run it manually. There are two left behind because that is the setting in your /etc/zypp/zypp.conf Mine reads multiversion = provides:multiversion(kernel) ## Comma separated list of kernel packages to keep installed in parallel, if the ## above multiversion variable is set. Packages can be specified as ## 2.6.32.12-0.7 - Exact version to keep ## latest - Keep kernel with the highest version number ## latest-N - Keep kernel with the Nth highest version number ## running - Keep the running kernel ## oldest - Keep kernel with the lowest version number (the GA kernel) ## oldest+N - Keep kernel with the Nth lowest version number ## ## Note: This entry is not evaluated by libzypp, but by the ## purge-kernels service (via /sbin/purge-kernels). ## ## Default: Do not delete any kernels if multiversion = provides:multiversion(kernel) is set multiversion.kernels = latest,latest-4,latest-3,latest-2,latest-1,running -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org