[Bug 1037285] Re: /boot fills up after many kernel upgrades
When I installed 14.04 server it gave me the option to automatically install updates. I picked yes. I logged in a year later to find that my servers had installed three updates, then ran into this bug and stopped. In fact, kernel updates come out so often that half the time I try to install software apt is in a broken state because of this. I could almost understand this kind of behaviour if having a cronjob do apt-get upgrade was a non-standard setup, but if it's an option in the installer? Unacceptable, and stupid. A bug that completely breaks all security updates *should* be considered a security bug. If Microsoft made the same mistake we'd lose no time in mocking them for their insecure OS. Why should we hold ourselves to a different standard? My suggestion for a fix would be to fix apt-get autoremove to skip the current running kernel. That way, autoremove can be triggered automatically right after update without worrying about screwing up the currently running kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1037285] Re: /boot fills up after many kernel upgrades
This is definitely a security risk, and also a usability problem. If we are updating kernels because of security fixes then surely a bug which prevents an update is perpetuating the security risk. Also, this makes managing ubuntu servers and desktops a headache. Remember, Ubuntu is for humans and humans don't like headaches. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1037285] Re: /boot fills up after many kernel upgrades
Some thoughts on this bug: When /boot does run out of space, it causes the next install of a kernel package to fail, leaving the package in a broken state as far as apt is concerned. That makes it impossible to remove the old kernel packages using apt: apt won't remove packages until you successfully run apt-get -f install to fix broken packages but apt-get -f install won't run until you remove the old packages. That means that the only way to get things working again is to manually remove some old files from /boot, then run apt-get -f install and then apt-get remove to remove the old kernel packages. That's a real pain for a technical user like myself but it's impossible for a non-technical user. This bug might not be a security vulnerability in its own right but it can certainly compound other security vulnerabilities. Being stuck with an unpatched kernel even though you have a cron job that does a sudo apt-get upgrade every night could be a big problem. I suspect that more users will be affected by this bug but the lack of a clear error probably means that non-technical users just give up or ignore it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1037285] Re: /boot fills up after many kernel upgrades
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-meta (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1037285] Re: /boot fills up after many kernel upgrades
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find. ** Visibility changed to: Public ** This bug is no longer flagged as a security vulnerability -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1037285] Re: /boot fills up after many kernel upgrades
bug # 1515513 is a contributing factor. DKMS has been patched upstream for that particular bug. Not sure when Ubuntu will update or incorporate the patch into their packaged version of dkms. Are there any other files left behind after kernel updates that might cause these kinds of update problems? Are there different circumstances in which a file may or may not be deleted? It affects every install that uses dkms and updates kernels in the long run. This doesn't put any Linux distribution in a favorable light. This bug eventually leaves the system in an insecure, unstable state. And this has been happening since at least 2012 (that's when I first noticed updates failing due to lack of space in /boot). As others have stated, it is impossible to resolve manually for those who are not technical and just want to use the desktop. My father has actually had this happen on the Ubuntu install I set up for him. I agree. I think it should be handled as a security issue with a higher priority. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037285 Title: /boot fills up after many kernel upgrades To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1037285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs