Discussion:
[fedora-arm] Kernel updates not cleaning up dtb directories
Steven Falco
2016-05-13 12:52:46 UTC
Permalink
I have a wandboard quad running Fedora 23. When I tried to run a dnf update
today, I got an error that /boot was full.

Looking at it, I see that all the past dtb dirs are still hanging around.
Here is a listing:

Error Summary
-------------
Disk Requirements:
At least 7MB more space needed on the /boot filesystem.

[***@quad ~]# cd /boot
[***@quad boot]# ls
boot.cmd
boot.cmd.old
boot.scr
boot.scr.old
config-4.4.6-301.fc23.armv7hl
config-4.4.7-300.fc23.armv7hl
config-4.4.8-300.fc23.armv7hl
dtb-4.2.3-300.fc23.armv7hl/
dtb-4.2.5-300.fc23.armv7hl/
dtb-4.2.6-300.fc23.armv7hl/
dtb-4.2.6-301.fc23.armv7hl/
dtb-4.2.7-300.fc23.armv7hl/
dtb-4.2.8-300.fc23.armv7hl/
dtb-4.3.3-300.fc23.armv7hl/
dtb-4.3.3-301.fc23.armv7hl/
dtb-4.3.3-303.fc23.armv7hl/
dtb-4.3.4-300.fc23.armv7hl/
dtb-4.3.5-300.fc23.armv7hl/
dtb-4.4.2-301.fc23.armv7hl/
dtb-4.4.3-300.fc23.armv7hl/
dtb-4.4.5-300.fc23.armv7hl/
dtb-4.4.6-300.fc23.armv7hl/
dtb-4.4.6-301.fc23.armv7hl/
dtb-4.4.7-300.fc23.armv7hl/
dtb-4.4.8-300.fc23.armv7hl/
extlinux/
grub/
grub2/
initramfs-0-rescue-fed8e9356e0742ebb22c045aad033d79.img
initramfs-4.4.6-301.fc23.armv7hl.img
initramfs-4.4.7-300.fc23.armv7hl.img
initramfs-4.4.8-300.fc23.armv7hl.img
initrd-plymouth.img
klist.txt
lost+found/
System.map-4.4.6-301.fc23.armv7hl
System.map-4.4.7-300.fc23.armv7hl
System.map-4.4.8-300.fc23.armv7hl
uImage
uImage-4.4.6-301.fc23.armv7hl
uImage-4.4.7-300.fc23.armv7hl
uImage-4.4.8-300.fc23.armv7hl
uInitrd
uInitrd-4.4.6-301.fc23.armv7hl
uInitrd-4.4.7-300.fc23.armv7hl
uInitrd-4.4.8-300.fc23.armv7hl
vmlinuz-0-rescue-fed8e9356e0742ebb22c045aad033d79*
vmlinuz-4.4.6-301.fc23.armv7hl*
vmlinuz-4.4.7-300.fc23.armv7hl*
vmlinuz-4.4.8-300.fc23.armv7hl*

I'll manually clean up all those obsolete dtb dirs, but this is something
the installer should do.

Steve
Dennis Gilmore
2016-05-13 14:53:19 UTC
Permalink
Post by Steven Falco
I have a wandboard quad running Fedora 23. When I tried to run a dnf update
today, I got an error that /boot was full.
Looking at it, I see that all the past dtb dirs are still hanging around.
Error Summary
-------------
At least 7MB more space needed on the /boot filesystem.
<snip>
Post by Steven Falco
I'll manually clean up all those obsolete dtb dirs, but this is something
the installer should do.
it was a bug in systemd that should be fixed. if you are seeing it still
please add a comment to https://bugzilla.redhat.com/show_bug.cgi?id=1299019
the kernel installs with the issue will not get cleaned up however.

Dennis
Steven Falco
2016-05-13 15:23:48 UTC
Permalink
Post by Dennis Gilmore
Post by Steven Falco
I have a wandboard quad running Fedora 23. When I tried to run a dnf update
today, I got an error that /boot was full.
Looking at it, I see that all the past dtb dirs are still hanging around.
Error Summary
-------------
At least 7MB more space needed on the /boot filesystem.
<snip>
Post by Steven Falco
I'll manually clean up all those obsolete dtb dirs, but this is something
the installer should do.
it was a bug in systemd that should be fixed. if you are seeing it still
please add a comment to https://bugzilla.redhat.com/show_bug.cgi?id=1299019
the kernel installs with the issue will not get cleaned up however.
Thanks for the bug pointer. I'll monitor it, but it sounds like it is
already fixed, as you said.

Steve
Peter Robinson
2016-05-14 19:45:21 UTC
Permalink
Post by Dennis Gilmore
Post by Steven Falco
I have a wandboard quad running Fedora 23. When I tried to run a dnf update
today, I got an error that /boot was full.
Looking at it, I see that all the past dtb dirs are still hanging around.
Error Summary
-------------
At least 7MB more space needed on the /boot filesystem.
<snip>
Post by Steven Falco
I'll manually clean up all those obsolete dtb dirs, but this is something
the installer should do.
it was a bug in systemd that should be fixed. if you are seeing it still
please add a comment to https://bugzilla.redhat.com/show_bug.cgi?id=1299019
the kernel installs with the issue will not get cleaned up however.
Not sure about F-23 but looking at some of my devices running F-24 it
looks like this might have regressed again at least on F-24.

Peter

Loading...